@lykmapipo/mongoose-exportable
Version:
mongoose plugin to add exports behavior
319 lines (170 loc) • 13.1 kB
Markdown
#### 0.4.0 (2021-11-12)
##### Chores
* **release:** compile latest source ([b4426e96](https://github.com/lykmapipo/mongoose-exportable/commit/b4426e964ab322ec538dd7edf4ab92ed978bf63f))
* **deps:**
* bump bl from 2.2.0 to 2.2.1 ([e8509f09](https://github.com/lykmapipo/mongoose-exportable/commit/e8509f09633df1ec4311c96544b81b97d32d3dc3))
* bump ini from 1.3.5 to 1.3.7 ([05196fa0](https://github.com/lykmapipo/mongoose-exportable/commit/05196fa092a4774724252734c61cda18d966e2a5))
* bump websocket-extensions from 0.1.3 to 0.1.4 ([64703274](https://github.com/lykmapipo/mongoose-exportable/commit/64703274fcbab0d8d583957442225d64e6b9aa28))
##### Refactors
* migrate to es6 ([536ba0a0](https://github.com/lykmapipo/mongoose-exportable/commit/536ba0a0d0d7874523231d27237c741fc7e0220d))
#### 0.3.36 (2020-08-08)
##### Chores
* **deps:** force latest version & audit fix ([76e8c167](https://github.com/lykmapipo/mongoose-exportable/commit/76e8c1671b068f6de6d98195ba5dac3d9417c17f))
#### 0.3.35 (2020-07-29)
##### Chores
* **deps:** force latest version & audit fix ([6949ec09](https://github.com/lykmapipo/mongoose-exportable/commit/6949ec091f1d52f0bedd29fe106253f0dae3cb35))
#### 0.3.34 (2020-07-14)
##### Chores
* **deps:** force latest version & audit fix ([9e838241](https://github.com/lykmapipo/mongoose-exportable/commit/9e838241e5b495f72ee14531fb2a8954d60f91c7))
#### 0.3.33 (2020-07-02)
##### Chores
* **deps:** force latest version & audit fix ([cf3bf1a3](https://github.com/lykmapipo/mongoose-exportable/commit/cf3bf1a318badcba783977aa16438029cb88d45d))
#### 0.3.32 (2020-06-26)
##### Chores
* **deps:** force latest version & audit fix ([ca393cf4](https://github.com/lykmapipo/mongoose-exportable/commit/ca393cf4dfc78941378f4b24e3f621331d1c8d3b))
#### 0.3.31 (2020-06-10)
##### Chores
* **deps:** force latest version & audit fix ([f9dae593](https://github.com/lykmapipo/mongoose-exportable/commit/f9dae59390c7eec2774868cf077134293008fc3f))
#### 0.3.30 (2020-05-20)
##### Chores
* **deps:** force latest version & audit fix ([ee216aea](https://github.com/lykmapipo/mongoose-exportable/commit/ee216aeaddb6af94452c2d628bf36dfe8643877a))
#### 0.3.29 (2020-05-09)
##### Chores
* **deps:** force latest version & audit fix ([1f79a65a](https://github.com/lykmapipo/mongoose-exportable/commit/1f79a65a84b94962afe254eaf5ff3657da84b5dc))
#### 0.3.28 (2020-05-02)
##### Chores
* **deps:** force latest version & audit fix ([a288c799](https://github.com/lykmapipo/mongoose-exportable/commit/a288c799460666af920964d695087046a59c024d))
#### 0.3.27 (2020-04-27)
##### Chores
* **deps:** force latest version & audit fix ([c275d78e](https://github.com/lykmapipo/mongoose-exportable/commit/c275d78e2b40f0a64640a35fc3c3ebbb5bb73fb2))
#### 0.3.26 (2020-04-16)
##### Chores
* **deps:** force latest version & audit fix ([c6333e1d](https://github.com/lykmapipo/mongoose-exportable/commit/c6333e1dafc6258bd55dc90b0387cdc2b82395a1))
#### 0.3.25 (2020-03-30)
##### Chores
* **deps:** force latest version & audit fix ([e21194c6](https://github.com/lykmapipo/mongoose-exportable/commit/e21194c6e1fa4bef9fe1c6f89b19a0ee198f7b37))
#### 0.3.24 (2020-03-06)
##### Chores
* **deps:** force latest version & audit fix ([4b6de92c](https://github.com/lykmapipo/mongoose-exportable/commit/4b6de92cbcc172b2315af69059ce95e3d9174865))
#### 0.3.23 (2020-02-28)
##### Chores
* **deps:** force latest version & audit fix ([18006378](https://github.com/lykmapipo/mongoose-exportable/commit/18006378775302eb59377c075f2957d7cdd8d66e))
#### 0.3.22 (2020-02-16)
##### Chores
* **deps:** force latest version & audit fix ([516ad0b6](https://github.com/lykmapipo/mongoose-exportable/commit/516ad0b6f576acdfed07319374dba2b00f87817a))
#### 0.3.21 (2020-02-04)
##### Chores
* **deps:** force latest version & audit fix ([2f1538a1](https://github.com/lykmapipo/mongoose-exportable/commit/2f1538a1b8cdfea3f420d571facfcace99f55f24))
#### 0.3.20 (2020-01-23)
##### Chores
* **deps:** force latest version & audit fix ([a4832280](https://github.com/lykmapipo/mongoose-exportable/commit/a483228042f294d81637b0da87e147cfcc96d273))
#### 0.3.19 (2020-01-22)
##### Chores
* **deps:** force latest version & audit fix ([3f9ea4fd](https://github.com/lykmapipo/mongoose-exportable/commit/3f9ea4fd63e11123239881b5dad6c35b5d77e5b7))
#### 0.3.18 (2020-01-17)
##### Chores
* **deps:** force latest version & audit fix ([af64ccd3](https://github.com/lykmapipo/mongoose-exportable/commit/af64ccd36abaf03bf447f6abeb824e981c10fc85))
#### 0.3.17 (2020-01-14)
##### Chores
* **deps:** force latest version & audit fix ([cdf0b5dc](https://github.com/lykmapipo/mongoose-exportable/commit/cdf0b5dcd322993fca9d0233588ccba1e6d0255f))
#### 0.3.16 (2020-01-12)
##### Chores
* **deps:** force latest version & audit fix ([7447cf01](https://github.com/lykmapipo/mongoose-exportable/commit/7447cf015d3ddf1e69727af3b7dbbb270d954a7e))
#### 0.3.15 (2019-12-11)
##### Chores
* **deps:** force latest version & audit fix ([9a183216](https://github.com/lykmapipo/mongoose-exportable/commit/9a183216c999024758dfa46afd1a2d81dfa3732b))
#### 0.3.14 (2019-11-14)
##### Chores
* **deps:** force latest version & audit fix ([c44aaa4f](https://github.com/lykmapipo/mongoose-exportable/commit/c44aaa4f828718f9958ad2cda0cbea961cdf837a))
#### 0.3.13 (2019-10-23)
##### Chores
* **deps:**
* force latest version & audit fix ([c2449b61](https://github.com/lykmapipo/mongoose-exportable/commit/c2449b615419f76a11975cd5e6a1a9f3fc92f741))
* run audit fix ([5186d41c](https://github.com/lykmapipo/mongoose-exportable/commit/5186d41c4b2a9a7d25bbbc0a2f8f08b07d9908e5))
#### 0.3.12 (2019-10-10)
##### Chores
* **deps:** force latest version & audit fix ([8cb075e7](https://github.com/lykmapipo/mongoose-exportable/commit/8cb075e784b3d99c157a1dd4f98184b201453532))
#### 0.3.11 (2019-10-02)
##### Bug Fixes
* handle functional value ([eb3f97fc](https://github.com/lykmapipo/mongoose-exportable/commit/eb3f97fc91ba63ddb0d53ec1859a78707fd1bb3a))
#### 0.3.10 (2019-10-02)
##### Chores
* **deps:** force latest version & audit fix ([3b24e69f](https://github.com/lykmapipo/mongoose-exportable/commit/3b24e69fdbb2f92d562dbf16a68f52e201b7de26))
##### Tests
* add filter test cases ([54666f3e](https://github.com/lykmapipo/mongoose-exportable/commit/54666f3eabde591146455129f85314e5e7561d95))
#### 0.3.9 (2019-09-28)
##### Chores
* **deps:** force latest version & audit fix ([7e013165](https://github.com/lykmapipo/mongoose-exportable/commit/7e013165ea5f3b574bc68f833c627770d2d729b5))
#### 0.3.8 (2019-09-16)
##### Chores
* **deps:** force latest version & audit fix ([d88e536c](https://github.com/lykmapipo/mongoose-exportable/commit/d88e536c284527f540787cc3967e35f87f8a2d75))
#### 0.3.7 (2019-08-14)
##### Chores
* **deps:** force latest version & audit fix ([f12f0526](https://github.com/lykmapipo/mongoose-exportable/commit/f12f052619e23b48c443542923d71d263a6d78a1))
#### 0.3.6 (2019-07-09)
##### Chores
* **deps:** force latest version & audit fix ([a69505f8](https://github.com/lykmapipo/mongoose-exportable/commit/a69505f8afae1768972fa742c704280fccc8953c))
#### 0.3.5 (2019-06-19)
##### Chores
* **deps:** force latest version & audit fix ([e3a7d407](https://github.com/lykmapipo/mongoose-exportable/commit/e3a7d40776c582ab777d1a175d2180510bc487b3))
#### 0.3.4 (2019-06-09)
##### Chores
* **deps:** force latest version & audit fix ([d6ab8505](https://github.com/lykmapipo/mongoose-exportable/commit/d6ab85056637a0b59ac23fc27c986b3046df3453))
#### 0.3.3 (2019-05-30)
##### Chores
* **deps:** force latest version & audit fix ([021063e0](https://github.com/lykmapipo/mongoose-exportable/commit/021063e035ec95fab130e94b82d584e58cb4ceea))
##### Bug Fixes
* prevent exportable fields overrides ([30d45e69](https://github.com/lykmapipo/mongoose-exportable/commit/30d45e6931515d79ba91083f5170efb1f6165f8d))
#### 0.3.2 (2019-05-20)
##### Chores
* **deps:** force latest version & audit fix ([7dba075e](https://github.com/lykmapipo/mongoose-exportable/commit/7dba075ebf244f02bd74f751c57a1372e52a1295))
#### 0.3.1 (2019-05-19)
##### Bug Fixes
* escape comma using semi colon ([a2c3d34d](https://github.com/lykmapipo/mongoose-exportable/commit/a2c3d34defd1ef096882b02b56b6969bb6b93804))
#### 0.3.0 (2019-05-12)
##### Chores
* **deps:** force latest version & audit fix ([5c427f5d](https://github.com/lykmapipo/mongoose-exportable/commit/5c427f5df1d68ea15797977ac0eeba64248c359e))
##### Documentation Changes
* add missing environment variables ([f068160f](https://github.com/lykmapipo/mongoose-exportable/commit/f068160f40b278ebdb4e8314935f8b5fe078fcd9))
##### New Features
* allow aggregatable refs to be expotable ([7f7e758e](https://github.com/lykmapipo/mongoose-exportable/commit/7f7e758e5f0dddafffd9c7e1b18270e7bb1b7369))
* allow custom exportables on aggregate exportCsv ([d60ed41f](https://github.com/lykmapipo/mongoose-exportable/commit/d60ed41f21d48bf0c4247d21dae28bd4b9e359df))
* implement aggregate exportCsv ([884d71b0](https://github.com/lykmapipo/mongoose-exportable/commit/884d71b036f6869c98c9287c25e15c5bf5ebacba))
* add exportCsv into query ([de98f995](https://github.com/lykmapipo/mongoose-exportable/commit/de98f995bd327a53036419c284200e81f200664f))
* allow merging plain object formatted values for export ([f5875824](https://github.com/lykmapipo/mongoose-exportable/commit/f5875824557d20f96c665cec664832effd60d9a4))
* pass instance on exportable format function ([6abaf2b8](https://github.com/lykmapipo/mongoose-exportable/commit/6abaf2b887929a35469426e58388090bc077f47a))
##### Refactors
* use query.exportCsv in Model.exportCsv ([801950fe](https://github.com/lykmapipo/mongoose-exportable/commit/801950fed0df50ccc3cadfa16b1866e35eff08a5))
##### Tests
* refactor to use include.members than eql in arrays assertions ([b20fe463](https://github.com/lykmapipo/mongoose-exportable/commit/b20fe463ed2c33cb55240d628f0d57493c025bb2))
* improve lean query exports ([c1dfd720](https://github.com/lykmapipo/mongoose-exportable/commit/c1dfd720f98a6de3154d14bbce8e6d18d9acd2aa))
* improver plain object exportable formatter specs ([84dc7d32](https://github.com/lykmapipo/mongoose-exportable/commit/84dc7d32de8b9b5e542bffff04fcad7e52b2b244))
* refactor to use mongoose-test-helpers ([ad04517b](https://github.com/lykmapipo/mongoose-exportable/commit/ad04517bace319917add80074a12dac237334a04))
* assert passed instance on exportable format ([3a3c7c0d](https://github.com/lykmapipo/mongoose-exportable/commit/3a3c7c0d044618457656f03c451bc5c279df36ce))
#### 0.2.2 (2019-05-01)
##### Chores
* **ci:** force latest nodejs ([b5beef56](https://github.com/lykmapipo/mongoose-exportable/commit/b5beef56cb5cba6525b0e72b225eb671ff428e59))
* **.npmrc:** prevent npm version to commit and tag version ([aefc4d27](https://github.com/lykmapipo/mongoose-exportable/commit/aefc4d27fab31283e7473ee877bebd651444b63e))
* **deps:** force latest version & audit fix ([7d0f7d7b](https://github.com/lykmapipo/mongoose-exportable/commit/7d0f7d7b346ac15b08d7dd0f06783a1779693d48))
#### 0.2.1 (2019-04-16)
##### Documentation Changes
* add code of conduct & contributing guide ([18d69995](https://github.com/lykmapipo/mongoose-exportable/commit/18d699952ae4db4450789f2ee58b7a68c6d07c90))
##### Bug Fixes
* clear rest property error && force latest dependencies ([e0b63ec2](https://github.com/lykmapipo/mongoose-exportable/commit/e0b63ec29b854c0a74b5a3b61d24c12ac456a5b4))
#### 0.2.0 (2019-02-21)
##### New Features
* apply options on export query ([b8aa10a0](https://github.com/lykmapipo/mongoose-exportable/commit/b8aa10a0c710013c45285b47ac468b8a9ff92ed2))
#### 0.1.0 (2019-02-21)
##### Chores
* update package keywords ([63f5548d](https://github.com/lykmapipo/mongoose-exportable/commit/63f5548d60c608aed83048ca0ccfffee261d123e))
##### Documentation Changes
* remove WIP flag ([7bfb5de4](https://github.com/lykmapipo/mongoose-exportable/commit/7bfb5de4fee61509353f2adcbdd760ea612d4201))
* update usage docs ([1d284f82](https://github.com/lykmapipo/mongoose-exportable/commit/1d284f821955148386bb0c290c87bce02e928429))
* fix description typos ([165606fa](https://github.com/lykmapipo/mongoose-exportable/commit/165606fa072c1ba177949de87cd2a1ae5e1b4f88))
##### New Features
* implement exportCsv zero draft ([50ad5ce0](https://github.com/lykmapipo/mongoose-exportable/commit/50ad5ce03339131ad495f6307a47d4b4a135cd30))
* apply sensible field/column export options ([5f296123](https://github.com/lykmapipo/mongoose-exportable/commit/5f296123c29990fcacfa97e10e3c50882a053036))
* collect schema exportable fields ([e9b6b721](https://github.com/lykmapipo/mongoose-exportable/commit/e9b6b721575ec1b826ed29e5f9cb8f8a9e326c3c))
##### Refactors
* extract csv transform from exportCsv ([4067de92](https://github.com/lykmapipo/mongoose-exportable/commit/4067de9236efe52b351497c0dc145f4934dcaa7c))
* split collectExportables to helpers ([ed4a7245](https://github.com/lykmapipo/mongoose-exportable/commit/ed4a7245b2dd9da9163f8e0bc8f807de1e8227b8))