shelf_rest 0.3.2 shelf_rest: ^0.3.2 copied to clipboard
Shelf components that makes it easy to create uniform, hierarchical REST resources.
Change Log #
0.3.0 #
- includes shelf_bind 0.9.0 which has many significant and some BREAKING changes. Consult the change logs for shelf_bind
0.2.0 #
- completely rewritten on top of new (rewritten) shelf_route. Should be mostly
transparent to users except for the following breaking changes:
- shelf_rest now extends shelf_route.
- The previous functions such as
bindResource
,routeableAdapter
,restHandler
andrestRouter
have been removed. Now you simply importshelf_rest
instead ofshelf_route
and the handling forshelf_rest
is built into the router returned via therouter()
function.
- The previous functions such as
- child resources are now added using the
@AddAll
annotation. The previous method using a map is no longer supported
- shelf_rest now extends shelf_route.
- several new features including:
- annotations for basic route methods (
@Get
,@Post
etc) - helpers to create HATEOAS links
- see README for more details
- annotations for basic route methods (
0.1.5-pre.* #
- experimental HATEOAS support
0.1.4 #
- Support query parameters on all methods. Thanks to pajn for the contribution
0.1.4-pre.* #
- experimental HATEOAS support
0.1.3 #
- Allow validation of parameters to be configured at the bind function and annotation level
0.1.2+1 #
- Doco improvements
0.1.2 #
- Turned validation of parameters on by default
0.1.1 #
- Add middleware support in the
RestMethod
annotation
0.1.0 #
- First version