Skip to content

Releases: florianholzapfel/express-restify-mongoose

0.7.4

26 Mar 16:13
Compare
Choose a tag to compare

0.7.3

20 Feb 08:50
Compare
Choose a tag to compare

0.7.2

14 Jan 15:16
Compare
Choose a tag to compare

0.7.0

10 Dec 09:49
Compare
Choose a tag to compare

0.6.11

05 Nov 09:27
Compare
Choose a tag to compare

FIX: send HTTP 400 Bad Request instead of HTTP 404 Not Found on schema validation errors

0.6.10

05 Nov 09:26
Compare
Choose a tag to compare

ADD: option findOneAndUpdate
ADD: allow to query virtual types
FIX: 'json spaces' not working
FIX: Handle filterObject() errors gracefully
FIX: middleware overwritten by clearQuery
FIX: return HTTP 400 Bad Request when querying an unknown value

0.6.9

25 Aug 09:46
Compare
Choose a tag to compare

ADD: Allow specification of model name
ADD: Make cleanQuery run after middleware
ADD: inline field access declaration
ADD: example with prereq and contextFilter
ADD: express 4 sample
ADD: update package versions

0.6.8

25 Aug 09:44
Compare
Choose a tag to compare

ADD: contextFilter is async
ADD: Use findOneAndRemove for DELETE/:id; remove postDelete for DELETE
ADD: Allow placement of id to vary; allow custom id property
ADD: default idProperty to '_id'

0.6.7

21 Mar 06:30
Compare
Choose a tag to compare

ADD: postCreate function which is run after document creation.
ADD: postDelete function which is run after document deletion.

0.6.6

21 Mar 06:30
Compare
Choose a tag to compare

ADD: Context filter allows authorization per request, for example filtering items based on req.user.