- Fixed return value have no id when put resource.
Fixed update with PUT not working when use a complex model. #55
- Support null value for query. #52
- Fixed If inside an 'and' expression, a property contains the string 'and' (like 'brand'), it crashes. #49
- Fixed require's file name case for case-sensitive filesystems. #46
- Fixed http state code not be correct when mongodb throw a internal error. #45
- Fixed it can not be saved,when edit the entity at put-before-hook. #37
- Fixed parse error details can not be displayed on the client.
- Support add muti-hooks for one method of resources.
- Hooks resource.all be implemented. #34
- Fixed hidden-field not work when use $select to query resource. #33
- Improved API to config resource: from
resource.getAll()
toresource.list()
. - Fixed
resource.getAll()
does not work.
- Improved API to use mongoose: from
server.repository.get(name)
toserver.resources.name
.
- Add
Resource
andFunction
object for odata.
- Fixed
put/post/delete
of functions does not work.
- Improved regist resource's API to fluent API. (#3, #22)
- Fix function named
before
of resource will not be execute. (#31) - Add
.url(url)
for set a url, different of resource name. (#26) - Change default url prefix form
/odata
to/
. - Modify url of resource to standard format. from
/resource/:id
to/resource(:id)
. (#2)
- Convert project language from CoffeeScript to ECMAScript6.
- Default support cors. (#16)
- Allow put to create entity. (#18)
- Add detail links for metadata info.
- Add simple API for functions. (#7)
- Optimized initialization method: from
odata
toodata()
. - Fix maxTop and maxSkip of global-limit in options is not work. (#14)
- Support the use of complex objects to define resource.
- Remove mongoose field:
__v
. (#6) - Edit field
_id
toid
. (#5) - Fix build-in query function's keyword can't use in field of resource or get error when this field. (#9)
- Improved regist resource's API.
- Wrap 'Express' module.
- OData query supported more keywords include:
$count
. - $filter supported more keywords include:
indexof
,year
. - Added example.
- Added test case.
- Full CRUD supported.
- OData query supported keywords include:
$filter
,$select
,$top
,$skip
,$orderby
. - $filter supported keywords include:
eq
,ne
,lt
,le
,gt
,ge
,and
.