v3.0.0 (2017-04-08)
Closed issues:
- Convert some REST values so they work in a query object #143
- Discard prevents /auth/local #139
- _include and _computed props are not sent and thus not kept #133
- include does not do a deep merge with its results #132
- Create a $search hook #131
- Premature with the populate deprecation warning? #125
- Set model relations for sequelize #69
Merged pull requests:
- Avoided side-effect of client #137 (eddyystop)
- Update README.md #127 (j2L4e)
- Changed reference to correct replacement hook. #124 (eddyystop)
v3.0.0-pre.1 (2017-02-02)
Implemented enhancements:
- New populate support
setByDot
#85 - "if else" hook #53
- Validate hook too limited #50
- Normalize hook.result from mongoose and sequelize #39
- utility hook to trim data #37
- Sanitize strings to prevent XSS attacks, remove HTML and <script> tags. #35
- Disable multi-record patch and update #29
- disable hook seems to have wrong true/false logic #28
- Distinct Search hook #16
Closed issues:
- Wrong provider logic in some places #121
- Populate need a test for schema:function(){} #117
- Deprecate remove for delete #115
- Let populate ensure its schema was meant for the service its being used with #101
- Can I feed the populate hook an id from a separate join table ? #100
- Disable hook: remove last param being a predicate func. #98
- Option {paginate: false} for populate hook #95
- Populate hook clobbers pagination total #93
- Migration guide for deprecations #91
- getByDot throws TypeError if undefined obj is passed as first argument #87
- Populate hook: parentField and childField are confusing #86
- Change response code #80
- use a slug instead of id in service methods #79
- Read service using a slug instead of just _id #78
- v2.0.3 isn't published on NPM #74
- Make conditional hooks compatible with unless #70
- Improve setByDot #58
- Remove doc for each hook from README #54
- Example to add to docs #43
- doc some PRs #41
- Should each hook be in their own repository? #31
Merged pull requests:
- Prepare for 3.0.0 prerelease #122 (daffl)
- Added discard hook to deprecate the remove hook. #120 (eddyystop)
- Added tests that populate's options.schema may be a function #119 (eddyystop)
- Dep remove #118 (eddyystop)
- Bump dependencies; Use shx #114 (eddyystop)
- Changed populate so it throws if option.schema not an object #112 (eddyystop)
- Added disableMultiItemChange hook, throws if id===null for update, patch, remove #110 (eddyystop)
- Enhanced validate hook #109 (eddyystop)
- Added disallow hook to start to deprecate disable hook. #108 (eddyystop)
- Added dot notation support for nameAs option in populate & dePopulate hooks #107 (eddyystop)
- Deprecated setByDot usage for deleting props. Converted hooks to deleteByDot #106 (eddyystop)
- Added deleteByDot util to support dot notation for populate nameAs option #105 (eddyystop)
- Fixed bug in replaceItems involving hook.result.total #104 (eddyystop)
- Populate 3 #103 (eddyystop)
- Flatten tests #102 (eddyystop)
- Split services hooks into individual files #97 (eddyystop)
- Finish split of filters/ and permissions/. Prepare hooks/ for split. #94 (eddyystop)
- Break out filter and permission modules by hook #92 (eddyystop)
- Switching over to reorganized hook modules #90 (eddyystop)
- Working around another Babel-core 6.17.0 transpilation error in iffElse #89 (eddyystop)
- Allowing populate include:{...} to act like include:[{...}] #88 (eddyystop)
- Fixed 6.17.0 Babel transpiling error #84 (eddyystop)
- Update all dependencies 🌴 #82 (greenkeeperio-bot)
- Created support for event filter and permission hooks. Reorganized service hooks because of this. #75 (eddyystop)
- Traverse and change hook.data .result .query or hook.anyObj #73 (eddyystop)
- Fix JSDoc for disable hook #72 (bertho-zero)
- Fixed comments in every & some #71 (eddyystop)
- Added validateSchema hook to validate JSON objects #68 (eddyystop)
- adding unless hook #66 (ekryski)
- add $client hook #65 (eddyystop)
- adding when alias for iff #64 (ekryski)
- adding an every hook #63 (ekryski)
- Added new populate, dePopulate, serialze hooks. #62 (eddyystop)
- adding a some hook #61 (ekryski)
- Removed all the hook documentation from the README #60 (eddyystop)
- Improved perf on the most common usage of getByDot, setByDot #59 (eddyystop)
- Added support for iff().else(hook1, hook2, ...) #57 (eddyystop)
- Added a hook to execute a set of hooks #56 (eddyystop)
- Added tests to cover 2 reported issues #55 (eddyystop)
v2.0.3 (2016-11-29)
Closed issues:
- Validate sync function do nothing #49
- softDelete "Cannot read property 'hasOwnProperty' of undefined" #48
- softDelete undefined.patch issue #44
- Support an array of hooks #19
Merged pull requests:
v2.0.2 (2016-11-28)
Implemented enhancements:
Closed issues:
- Hooks shouldn't be arrow functions #47
- Proposal for permissions in populate++ #42
- Proposal for populates++ hook #38
- Support more complex populates #23
- Support users[].password notation in remove to loop through arrays #21
- Use changelog generator #9
Merged pull requests:
- Rewrote softDelete to properly handle all methods #51 (eddyystop)
- fix setUpdatedAt and setCreatedAt #46 (alerosa)
- Fix #30 (allow all hooks) and #44 (arrow function can't reference this) #45 (KidkArolis)
- Fix softDelete error on 'find' #40 (jojobyte)
v2.0.1 (2016-11-04)
Closed issues:
Merged pull requests:
- Fix bug in populate, sending wrong params #34 (danieledler)
- Fix error in populate hook description example #33 (danieledler)
- Update to latest plugin infrastructure #27 (daffl)
v2.0.0 (2016-10-29)
Closed issues:
- Add to doc that JS can create array of hooks #20
- Remove Node 4 hacks #17
- Sanitize query in hooks #15
- Do Code Climate analysis again #11
- Run CI with Node 4, 6 and latest #10
- Change linting from AirBnB to semistandard #8
- Change test names from *_spec.js to *.test.js #7
- Update to latest plugin infrastructure #4
Merged pull requests:
- Remove dependency on feathers-authentication #26 (daffl)
- Added promiseToCallback, perhaps more rugged than Feathers' code #25 (eddyystop)
- Removed overly complex promisify function wrappers #24 (eddyystop)
- Remove the lib/ folder #22 (daffl)
- Fixed tests which had failed in Node 4 #12 (eddyystop)
- Switched from AirBnB to semistandard #6 (eddyystop)
- Rename test files to Feathers standard #5 (eddyystop)
v1.7.2 (2016-10-07)
Closed issues:
- what's the realtionship between this and feathers-hooks? #3
v1.7.1 (2016-10-06)
v1.7.0 (2016-10-04)
v1.6.2 (2016-10-03)
v1.6.1 (2016-10-02)
v1.6.0 (2016-10-02)
v1.5.8 (2016-09-14)
Merged pull requests:
- Fix typo in README.md #2 (bedeoverend)
v1.5.7 (2016-09-13)
v1.5.6 (2016-09-12)
v1.5.5 (2016-09-12)
v1.5.4 (2016-09-12)
v1.5.3 (2016-09-11)
Closed issues:
- Typo in Readme #1
v1.5.2 (2016-09-08)
v1.5.1 (2016-08-20)
v1.5.0 (2016-08-20)
v1.4.1 (2016-08-19)
v1.4.0 (2016-08-19)
v1.3.1 (2016-08-18)
v1.3.0 (2016-08-18)
* This Change Log was automatically generated by github_changelog_generator