changelog
Changelog
- v2.0.0:
- hiroki should be now backend agnostic. Express removed as dependency.
- mongoose version updated
- share will be removed for this version. Check if this would be usefull.
- v0.2.7:
shareFormat
&beforeShareEnd
methods added to format share response.- Node v7 support removed.
- docs for shared.
- v0.2.5
fastUpdate
option added. This enabled a faster way to update for higher performance. - v0.2.3 Critical bugfix: decorator error with delete method. Test added for cover that.
- v0.2.2 Params
$push
and$pull
working for PUT method. For doing this a custom Assign method was added to hiroki, because of that we made a benchmark test to measure this performance impact. Check it Here. - v0.2.0 Share Query path added. check the docs.
- v0.1.3 MongooseConnector added, dependencies update no breaking changes. In future releases, new connectors would be added.
- v0.1.2 Bugfix decorator for put route with :id as parameter
- v0.1.1: Bugfix count with conditions error.
- v0.1.0:
- PUT request fire pre save hook in Mongoose Schema.
- PUT update by condition only update one document.
- findOneAndUpdate method removed from PUT request.
- v0.0.9: Add support for new conditions format.
ej: GET /api/users?conditions[active]=true
- v0.0.8: fix general request function affect all routes. This type of decorators affected all the routes.
...
controller.request((req,res,next) => {
res.status(401).json({});
})
now it only affects the route of that collection