Skip to content

Latest commit

 

History

History
100 lines (81 loc) · 4.15 KB

CHANGELOG.md

File metadata and controls

100 lines (81 loc) · 4.15 KB

0.7.12 (2016-05-23)

  • Fixed return value have no id when put resource.

0.7.11 (2016-05-04)

Fixed update with PUT not working when use a complex model. #55

0.7.10 (2016-04-09)

  • Support null value for query. #52

0.7.9 (2016-04-08)

  • Fixed If inside an 'and' expression, a property contains the string 'and' (like 'brand'), it crashes. #49

0.7.8 (2016-01-20)

  • Fixed require's file name case for case-sensitive filesystems. #46

0.7.7 (2016-01-20)

  • Fixed http state code not be correct when mongodb throw a internal error. #45

0.7.6 (2015-07-30)

  • 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.

0.7.5 (2015-07-23)

  • 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

0.7.4 (2015-07-16)

  • Improved API to config resource: from resource.getAll() to resource.list().
  • Fixed resource.getAll() does not work.

0.7.3 (2015-07-15)

  • Improved API to use mongoose: from server.repository.get(name) to server.resources.name.

0.7.2 (2015-07-14)

  • Add Resource and Function object for odata.

0.7.1 (2015-07-12)

  • Fixed put/post/delete of functions does not work.

0.7.0 (2015-07-10)

  • 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)

0.6.0 (2015-05-30)

  • Convert project language from CoffeeScript to ECMAScript6.
  • Default support cors. (#16)
  • Allow put to create entity. (#18)

0.5.0 (2015-05-08)

  • Add detail links for metadata info.
  • Add simple API for functions. (#7)

0.4.0 (2015-04-09)

  • Optimized initialization method: from odata to odata().
  • Fix maxTop and maxSkip of global-limit in options is not work. (#14)

0.3.0 (2015-01-20)

  • Support the use of complex objects to define resource.
  • Remove mongoose field: __v. (#6)
  • Edit field _id to id. (#5)
  • Fix build-in query function's keyword can't use in field of resource or get error when this field. (#9)

0.2.0 (2015-01-04)

  • Improved regist resource's API.
  • Wrap 'Express' module.

0.1.0 (2014-10-16)

  • OData query supported more keywords include: $count.
  • $filter supported more keywords include: indexof, year.
  • Added example.
  • Added test case.

0.0.1 (2014-10-05)

  • Full CRUD supported.
  • OData query supported keywords include: $filter, $select, $top, $skip, $orderby.
  • $filter supported keywords include: eq, ne, lt, le, gt, ge, and.