CHANGELOG.md
33.6 KB
Change Log
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.3.0 (2018-09-24)
- chore(release): 2.2.3 (c8f2695)
- chore(release): 2.2.4 (a377a4f)
- chore(release): 2.2.5 (5a495e3)
- fix(filter): copy async pres correctly with
filter()
(1b1ed8a), closes Automattic/mongoose#3054 - feat: add filter() function (1f641f4)
- feat: support storing options on pre and post hooks (59220b9)
2.2.3 (2018-09-10)
- chore: release 2.2.3 (af653a3)
2.2.2 (2018-09-10)
2.2.1 (2018-06-05)
- chore: release 2.2.1 (4625a64)
- chore: remove lockfile from git (7f3e4e6)
- fix: handle numAsync correctly when merging (fef8e7e)
- test: repro issue with not copying numAsync (952d9db)
2.2.0 (2018-06-05)
- chore: release 2.2.0 (ff9ad03)
- fix: use maps instead of objects for _pres and _posts so
toString()
doesn't get reported as having (55df303), closes Automattic/mongoose#6538
2.1.0 (2018-05-16)
- chore: release 2.1.0 (ba5f1bc)
- feat: add option to check wrapped function return value for promises (c9d7dd1)
- refactor: use const in wrap() (0fc21f9)
2.0.7 (2018-04-28)
- chore: release 2.0.7 (0bf91e6)
- feat: add
hasHooks()
(225f18d), closes Automattic/mongoose#6385
2.0.6 (2018-03-22)
- chore: release 2.0.6 (f3d406b)
- fix(wrap): ensure fast path still wraps function in
nextTick()
for chaining (7000494), closes Automattic/mongoose#6250 dsanel/mongoose-delete#36
2.0.5 (2018-02-22)
- chore: release 2.0.5 (3286612)
- perf(createWrapper): don't create wrapper if there are no hooks (5afc5b9), closes Automattic/mongoose#6126
2.0.4 (2018-02-08)
- chore: release 2.0.4 (2ab0293)
2.0.3 (2018-02-01)
- chore: release 2.0.3 (3c1abe5)
- fix: use process.nextTick() re: Automattic/mongoose#6074 (e5bfe33), closes Automattic/mongoose#6074
2.0.2 (2018-01-24)
2.0.1 (2018-01-09)
- chore: release 2.0.1 with lockfile bump (09c44fb)
2.0.0 (2018-01-09)
2.0.0-rc5 (2017-12-23)
- chore: fix build on node 4+5 (6dac5a4)
- chore: fix built on node 4 + 5 again (434ef0a)
- chore: release 2.0.0-rc5 (25a32ee)
2.0.0-rc4 (2017-12-22)
- chore: release 2.0.0-rc4 (49fc083)
- BREAKING CHANGE: deduplicate when merging hooks re: Automattic/mongoose#2945 (d458573), closes Automattic/mongoose#2945
2.0.0-rc3 (2017-12-22)
- chore: release 2.0.0-rc3 (adaaa00)
- feat: support returning promises from middleware functions (05b4480), closes Automattic/mongoose#3779
2.0.0-rc2 (2017-12-21)
2.0.0-rc1 (2017-12-21)
- chore: improve test coverage re: Automattic/mongoose#3232 (7b45cf0), closes Automattic/mongoose#3232
- chore: release 2.0.0-rc1 (9b83f52)
- BREAKING CHANGE: report sync exceptions as errors, only allow calling next() and done() once (674adcc), closes Automattic/mongoose#3483
2.0.0-rc0 (2017-12-17)
- chore: release 2.0.0-rc0 (16b44b5)
- BREAKING CHANGE: drop support for node < 4 (9cbb8c7)
- BREAKING CHANGE: remove useLegacyPost and add several new features (6dd8531), closes Automattic/mongoose#3232
1.5.0 (2017-07-20)
- chore: release 1.5.0 (9c491a0)
- fix: improve post error handlers results (9928dd5), closes Automattic/mongoose#5466
1.4.2 (2017-07-06)
- chore: release 1.4.2 (8d14ac5)
- fix: correct args re: Automattic/mongoose#5405 (3f28ae6), closes Automattic/mongoose#5405
1.4.1 (2017-04-25)
- chore: release 1.4.1 (5ecf0c2)
- fix: handle numAsyncPres with clone() (c72e857), closes #8
- test: repro #8 (9b4d6b2), closes #8
1.4.0 (2017-04-19)
1.3.0 (2017-03-26)
1.2.1 (2017-02-03)
- chore: release 1.2.1 (d97081f)
- fix: filter out _kareemIgnored args for error handlers re: Automattic/mongoose#4925 (ddc7aeb), closes Automattic/mongoose#4925
- fix: make error handlers handle errors in pre hooks (af38033), closes Automattic/mongoose#4927
1.2.0 (2017-01-02)
- chore: release 1.2.0 (033225c)
- chore: upgrade deps (f9e9a09)
- feat: add _kareemIgnore re: Automattic/mongoose#4836 (7957771), closes Automattic/mongoose#4836
1.1.5 (2016-12-13)
1.1.4 (2016-12-09)
- chore: release 1.1.4 (ece401c)
- chore: run tests on node 6 (e0cb1cb)
- fix: only copy own properties in clone() (dfe28ce), closes #7
1.1.3 (2016-06-27)
1.1.2 (2016-06-27)
1.1.1 (2016-06-27)
1.1.0 (2016-05-11)
- chore: release 1.1.0 (85332d9)
- chore: test on node 4 and node 5 (1faefa1)
- 100% coverage again (c9aee4e)
- add support for error post hooks (d378113)
- basic setup for sync hooks #4 (55aa081), closes #4
- proof of concept for error handlers (e4a07d9)
- refactor out handleWrapError helper (b19af38)
1.0.1 (2015-05-10)
- Fix #1 (de60dc6), closes #1
- release 1.0.1 (6971088)
- Run tests on iojs in travis (adcd201)
- support legacy post hook behavior in wrap() (23fa74c)
- Use node 0.12 in travis (834689d)
1.0.0 (2015-01-28)
- Tag 1.0.0 (4c5a35a)
0.0.8 (2015-01-27)
- Add clone function (688bba7)
- Add jscs for style checking (5c93149)
- Bump 0.0.8 (03c0d2f)
- Fix jscs config, add gulp rules (9989abf)
- fix Makefile typo (1f7e61a)
0.0.7 (2015-01-04)
- Bump 0.0.7 (98ef173)
- fix LearnBoost/mongoose#2553 - use null instead of undefined for err (9157b48), closes LearnBoost/mongoose#2553
- Regenerate docs (2331cdf)
0.0.6 (2015-01-01)
- Update docs and bump 0.0.6 (92c12a7)
0.0.5 (2015-01-01)
- Add coverage rule to Makefile (825a91c)
- Add coveralls to README (fb52369)
- Add coveralls to travis (93f6f15)
- Add createWrapper() function (ea77741)
- Add istanbul code coverage (6eceeef)
- Add some more comments for examples (c5b0c6f)
- Add travis (e6dcb06)
- Add travis badge to docs (ad8c9b3)
- Add wrap() tests, 100% coverage (6945be4)
- Better test coverage for execPost (d9ad539)
- Bump 0.0.5 (69875b1)
- Docs fix (15b7098)
- Fix silly mistake in docs generation (50373eb)
- Fix typo in readme (fec4925)
- Linkify travis badge (92b25fe)
- Make travis run coverage (747157b)
- Move travis status badge (d52e89b)
- Quick fix for coverage (50bbddb)
- Typo fix (adea794)
0.0.4 (2014-12-13)
0.0.3 (2014-12-12)
- Add npm test script, fix small bug with args not getting passed through post (49e3e68)
- Bump 0.0.3 (65621d8)
- Update readme (901388b)
0.0.2 (2014-12-12)
- Add github repo and bump 0.0.2 (59db8be)
0.0.1 (2014-12-12)
- Add basic docs (ad29ea4)
- Add pre hooks (2ffc356)
- Add wrap function (68c540c)
- Bump to version 0.0.1 (a4bfd68)
- Initial commit (4002458)
- Initial deposit (98fc489)
- Post hooks (395b67c)
- Some basic setup work (82df75e)
- Support sync pre hooks (1cc1b9f)
- Update package.json description (978da18)
2.2.5 (2018-09-24)
2.2.4 (2018-09-24)
2.2.3 (2018-09-24)
- fix(filter): copy async pres correctly with
filter()
(1b1ed8a), closes Automattic/mongoose#3054 - feat: add filter() function (1f641f4)
- feat: support storing options on pre and post hooks (59220b9)
2.2.3 (2018-09-10)
- chore: release 2.2.3 (af653a3)
2.2.2 (2018-09-10)
2.2.1 (2018-06-05)
- chore: release 2.2.1 (4625a64)
- chore: remove lockfile from git (7f3e4e6)
- fix: handle numAsync correctly when merging (fef8e7e)
- test: repro issue with not copying numAsync (952d9db)
2.2.0 (2018-06-05)
- chore: release 2.2.0 (ff9ad03)
- fix: use maps instead of objects for _pres and _posts so
toString()
doesn't get reported as having (55df303), closes Automattic/mongoose#6538
2.1.0 (2018-05-16)
- chore: release 2.1.0 (ba5f1bc)
- feat: add option to check wrapped function return value for promises (c9d7dd1)
- refactor: use const in wrap() (0fc21f9)
2.0.7 (2018-04-28)
- chore: release 2.0.7 (0bf91e6)
- feat: add
hasHooks()
(225f18d), closes Automattic/mongoose#6385
2.0.6 (2018-03-22)
- chore: release 2.0.6 (f3d406b)
- fix(wrap): ensure fast path still wraps function in
nextTick()
for chaining (7000494), closes Automattic/mongoose#6250 dsanel/mongoose-delete#36
2.0.5 (2018-02-22)
- chore: release 2.0.5 (3286612)
- perf(createWrapper): don't create wrapper if there are no hooks (5afc5b9), closes Automattic/mongoose#6126
2.0.4 (2018-02-08)
- chore: release 2.0.4 (2ab0293)
2.0.3 (2018-02-01)
- chore: release 2.0.3 (3c1abe5)
- fix: use process.nextTick() re: Automattic/mongoose#6074 (e5bfe33), closes Automattic/mongoose#6074
2.0.2 (2018-01-24)
2.0.1 (2018-01-09)
- chore: release 2.0.1 with lockfile bump (09c44fb)
2.0.0 (2018-01-09)
2.0.0-rc5 (2017-12-23)
- chore: fix build on node 4+5 (6dac5a4)
- chore: fix built on node 4 + 5 again (434ef0a)
- chore: release 2.0.0-rc5 (25a32ee)
2.0.0-rc4 (2017-12-22)
- chore: release 2.0.0-rc4 (49fc083)
- BREAKING CHANGE: deduplicate when merging hooks re: Automattic/mongoose#2945 (d458573), closes Automattic/mongoose#2945
2.0.0-rc3 (2017-12-22)
- chore: release 2.0.0-rc3 (adaaa00)
- feat: support returning promises from middleware functions (05b4480), closes Automattic/mongoose#3779
2.0.0-rc2 (2017-12-21)
2.0.0-rc1 (2017-12-21)
- chore: improve test coverage re: Automattic/mongoose#3232 (7b45cf0), closes Automattic/mongoose#3232
- chore: release 2.0.0-rc1 (9b83f52)
- BREAKING CHANGE: report sync exceptions as errors, only allow calling next() and done() once (674adcc), closes Automattic/mongoose#3483
2.0.0-rc0 (2017-12-17)
- chore: release 2.0.0-rc0 (16b44b5)
- BREAKING CHANGE: drop support for node < 4 (9cbb8c7)
- BREAKING CHANGE: remove useLegacyPost and add several new features (6dd8531), closes Automattic/mongoose#3232
1.5.0 (2017-07-20)
- chore: release 1.5.0 (9c491a0)
- fix: improve post error handlers results (9928dd5), closes Automattic/mongoose#5466
1.4.2 (2017-07-06)
- chore: release 1.4.2 (8d14ac5)
- fix: correct args re: Automattic/mongoose#5405 (3f28ae6), closes Automattic/mongoose#5405
1.4.1 (2017-04-25)
- chore: release 1.4.1 (5ecf0c2)
- fix: handle numAsyncPres with clone() (c72e857), closes #8
- test: repro #8 (9b4d6b2), closes #8
1.4.0 (2017-04-19)
1.3.0 (2017-03-26)
1.2.1 (2017-02-03)
- chore: release 1.2.1 (d97081f)
- fix: filter out _kareemIgnored args for error handlers re: Automattic/mongoose#4925 (ddc7aeb), closes Automattic/mongoose#4925
- fix: make error handlers handle errors in pre hooks (af38033), closes Automattic/mongoose#4927
1.2.0 (2017-01-02)
- chore: release 1.2.0 (033225c)
- chore: upgrade deps (f9e9a09)
- feat: add _kareemIgnore re: Automattic/mongoose#4836 (7957771), closes Automattic/mongoose#4836
1.1.5 (2016-12-13)
1.1.4 (2016-12-09)
- chore: release 1.1.4 (ece401c)
- chore: run tests on node 6 (e0cb1cb)
- fix: only copy own properties in clone() (dfe28ce), closes #7
1.1.3 (2016-06-27)
1.1.2 (2016-06-27)
1.1.1 (2016-06-27)
1.1.0 (2016-05-11)
- chore: release 1.1.0 (85332d9)
- chore: test on node 4 and node 5 (1faefa1)
- 100% coverage again (c9aee4e)
- add support for error post hooks (d378113)
- basic setup for sync hooks #4 (55aa081), closes #4
- proof of concept for error handlers (e4a07d9)
- refactor out handleWrapError helper (b19af38)
1.0.1 (2015-05-10)
- Fix #1 (de60dc6), closes #1
- release 1.0.1 (6971088)
- Run tests on iojs in travis (adcd201)
- support legacy post hook behavior in wrap() (23fa74c)
- Use node 0.12 in travis (834689d)
1.0.0 (2015-01-28)
- Tag 1.0.0 (4c5a35a)
0.0.8 (2015-01-27)
- Add clone function (688bba7)
- Add jscs for style checking (5c93149)
- Bump 0.0.8 (03c0d2f)
- Fix jscs config, add gulp rules (9989abf)
- fix Makefile typo (1f7e61a)
0.0.7 (2015-01-04)
- Bump 0.0.7 (98ef173)
- fix LearnBoost/mongoose#2553 - use null instead of undefined for err (9157b48), closes LearnBoost/mongoose#2553
- Regenerate docs (2331cdf)
0.0.6 (2015-01-01)
- Update docs and bump 0.0.6 (92c12a7)
0.0.5 (2015-01-01)
- Add coverage rule to Makefile (825a91c)
- Add coveralls to README (fb52369)
- Add coveralls to travis (93f6f15)
- Add createWrapper() function (ea77741)
- Add istanbul code coverage (6eceeef)
- Add some more comments for examples (c5b0c6f)
- Add travis (e6dcb06)
- Add travis badge to docs (ad8c9b3)
- Add wrap() tests, 100% coverage (6945be4)
- Better test coverage for execPost (d9ad539)
- Bump 0.0.5 (69875b1)
- Docs fix (15b7098)
- Fix silly mistake in docs generation (50373eb)
- Fix typo in readme (fec4925)
- Linkify travis badge (92b25fe)
- Make travis run coverage (747157b)
- Move travis status badge (d52e89b)
- Quick fix for coverage (50bbddb)
- Typo fix (adea794)
0.0.4 (2014-12-13)
0.0.3 (2014-12-12)
- Add npm test script, fix small bug with args not getting passed through post (49e3e68)
- Bump 0.0.3 (65621d8)
- Update readme (901388b)
0.0.2 (2014-12-12)
- Add github repo and bump 0.0.2 (59db8be)