Hi all,

We were almost ready for a 1.0 RC1 but I thought that it would be better to
release another beta version first. Considering the amount of deprecated
classes since beta 22 it also seems safer and won't confuse new users as
those deprecations will be removed in RC1. 

WARNING: if you upgrade existing applications, please read the updated
tutorial and browse the Javadocs to learn about the new URI template syntax
(no longer directly based on Regex): 
http://www.restlet.org/tutorial
http://www.restlet.org/docs/api/org/restlet/util/Template.html

As usual, thanks to all the contributors, including:
 - AJ Barnes
 - Aldo Bucchi
 - Jeff Walter
 - John D. Mitchell 
 - Peter Murray
 - Thierry Boileau

Detailed changes log:
http://www.restlet.org/docs/changes

Direct download link:
http://www.restlet.org/downloads/restlet-1.0b23.zip

Best regards,
Jerome 


===========
Changes log  
===========

1.0 beta 23 (2006-12-19)
[Bugs fixed]
 - Fixed several documentation typos. Reported by John D. Mitchell and Peter
Murray.
 - Fixed issue with "sub-tagged" Language metadata (like "en-us"), sub-tag
comparison must
   ignore the case. Reported by Jeff Walter and Andrew Barnes. Contributed
by Thierry Boileau.
 - Fixed issues in parsing of "accept*" HTTP headers. Added unit tests.
Reported by AJ Barnes and Jeff Walter.
 - Fixed potential NPE in HostScorer.
 - Fixed RDF media type from "application/rdf-xml" to "application/rdf+xml".
Reported by Aldo Bucchi.
 - Made VirtualHost-based routing case-insensitive. Suggested by Thierry
Boileau.
 - The Request class now ensures that a referrer reference don't include a
fragment. Reported by Thierry Boileau.
 - Added list of variants references in the body of a 406 message. Reported
by Thierry Boileau.
 
[API changes]
 - Added attachDefault(Restlet) method to Router class. The detach() method
now also detaches the default scorer.
 - Deprecated the StringTemplate mechanism, replaced by a more seamless
ReferenceTemplate approach,
   less intrusive. The following classes were deprecated and will be removed
in the next
   release: StringTemplate, StringTemplateRepresentation, CallModel, Model,
MapModel.
 - Renamed ReferenceList.getRepresentation() to getTextRepresentation().
 - Tag now extends Metadata, getOpaqueTag() was deprecated, use getName()
instead.
 - The query part of request's resource reference is now routable. WARNING:
you may have
   to revisit your router URI patterns, especially to remove the ending "$"
characters.
 - Directory.getDirectoryVariants() now returns a textual list in addition
of a HTML doc.
 - org.restlet.Restlet class now overrides org.restlet.Dispatcher to
facilate client-side invocation of filters such as Redirector.
 - Language class now supports several sub-tags. "MainTag" property renamed
to "PrimaryTag". Contributed by Thierry Boileau.
 - Improved and expanded support for the "Allow" HTTP header all over the
API and NRE.
 - The LogService, Redirector, Route and context Dispatcher are all based on
the same template mechanism and syntax provided by
org.restlet.util.Template.
 - Removed Chainer class and spread logic in Filter and Router classes.
 - Added getRemainingPart() method to Reference, reusing the
getRelativePart() logic previously in Request.
 - Moved Request.baseRef and relativeRef properties to resourceRef.baseRef
and resourceRef.relativeRef.
 - Added Request.hostRef property carrying the HTTP Host header info or
equivalent.
 - Moved Resource.allowedMethods property to Response.allowedMethods.
 - Refactored Handler to simplify support of additional methods. Made
abstract to force overriding of findTarget() method. 
   Added introspection of target resource's allow* methods to populate
Response.allowedMethods. Removed defaultHandle() method.
 - Removed Representation.resource property, not used anymore.
 - Removed Result.set* methods to make it more obvious that it is not
intended to be modified.
 - Removed Extractor and Scorer classes, added Route class as a unified
replacement.
 - Renamed Router.*scorer* properties to *route*.
 - Renamed ScorerList to RouteList.
 - Renamed VirtualHost.base* properties to host*.
 - Merged Container into Component as Component was almost never used
separately.
   Retained the Component name for the final class as it is the REST
terminology.
 - Renamed Directory.rootUri to rootRef for consistency purpose.
 - Renamed ReferenceList.listRef into identifier
 - Renamed Result.redirectionRef into redirectRef
 - Router.attach*() methods now return the created Route instance.
 - Added Series a generic interface extending List to handle series of
Parameter, Cookie and CookieSetting instances.
 - Added AbstractSeries based on previous ParameterList logic.

[Enhancements] 
 - Updated Jetty 6.1 to RC1 version.
 - Added a root "docs" directory with the UML diagrams (using StarUML), the
Joint Copyright Assignment for contributors.
 - Added a "org.restlet.http.version" attribute for request served by HTTP
connectors exposing this information.

Reply via email to