#### 0.40.0 (2021-09-27)

##### Chores

* **release:**  compile latest source ([6bd384a1](https://github.com/lykmapipo/mongoose-common/commit/6bd384a15405769b8ab437caae80b1a4cd0c324c))
* **deps:**  force latest version & audit fix ([097ebf76](https://github.com/lykmapipo/mongoose-common/commit/097ebf76ef2811096edb315a0f95bf9b3067a23f))

##### Other Changes

*  migrate to mongoose v6 ([25d89389](https://github.com/lykmapipo/mongoose-common/commit/25d893893fff8ba94a3bc3978fab5f3abb316989))

##### Refactors

*  use named imports ([0713b619](https://github.com/lykmapipo/mongoose-common/commit/0713b619bf3a2457944597f105493a8547dbe4da))
*  migrate to es6 ([a7aa7662](https://github.com/lykmapipo/mongoose-common/commit/a7aa76627f45fe9723a459852dabff57df50795e))

#### 0.39.0 (2020-12-29)

##### Bug Fixes

*  connect & disconnect failures ([a84456c0](https://github.com/lykmapipo/mongoose-common/commit/a84456c00a21c6e89f4b00c31347e69c1d1f5661))

#### 0.38.5 (2020-12-27)

##### Chores

* **deps:**
  *  force latest version & audit fix ([de2ac84f](https://github.com/lykmapipo/mongoose-common/commit/de2ac84fdf5b6f4c12a3412aefd25d2f09998e04))
  *  bump bl from 2.2.0 to 2.2.1 ([06b6d44e](https://github.com/lykmapipo/mongoose-common/commit/06b6d44ea5646c3cf8f7c598199db45271c4ccca))
  *  bump dot-prop from 4.2.0 to 4.2.1 ([588c537c](https://github.com/lykmapipo/mongoose-common/commit/588c537cbdc2ef700f3034852f7d01c0cb7183d0))
  *  bump ini from 1.3.5 to 1.3.7 ([b649f9cf](https://github.com/lykmapipo/mongoose-common/commit/b649f9cf975c8607267c7ae6b8641532cc882842))
  *  bump websocket-extensions from 0.1.3 to 0.1.4 ([db5656c4](https://github.com/lykmapipo/mongoose-common/commit/db5656c44ff52848ecb2ab1512cf24c9e7045e8c))

#### 0.38.4 (2020-08-08)

##### Chores

* **deps:**  force latest version & audit fix ([f7ee608b](https://github.com/lykmapipo/mongoose-common/commit/f7ee608b3541c0c9fcd1d7b42c9d88e88ad70060))

#### 0.38.3 (2020-07-29)

##### Chores

* **deps:**  force latest version & audit fix ([bd2f0059](https://github.com/lykmapipo/mongoose-common/commit/bd2f005915d5739f452411179c96db9bdea794d7))

#### 0.38.2 (2020-07-14)

##### Chores

* **deps:**  force latest version & audit fix ([71d24928](https://github.com/lykmapipo/mongoose-common/commit/71d2492894c44eb5e00e31ce23a85d0959adaa8b))

#### 0.38.1 (2020-07-02)

##### Chores

* **deps:**  force latest version & audit fix ([d9c0c7fd](https://github.com/lykmapipo/mongoose-common/commit/d9c0c7fd165ba4d8d6ad68bb6aa3a2bf32ab2e88))
* **ci:**  use latest node ([6fa7f596](https://github.com/lykmapipo/mongoose-common/commit/6fa7f5965e39b26615d105ca2b048ee21f308073))

#### 0.38.0 (2020-06-26)

##### Chores

* **deps:**  force latest version & audit fix ([6636d723](https://github.com/lykmapipo/mongoose-common/commit/6636d72375d31e159714983a50c1940db7a76bd3))

##### Refactors

*  use mongoose connection helpers ([16744448](https://github.com/lykmapipo/mongoose-common/commit/167444488c0878ce670761988209ff307b550c82))

#### 0.37.1 (2020-06-24)

##### Chores

* **deps:**  force latest version & audit fix ([a729a145](https://github.com/lykmapipo/mongoose-common/commit/a729a1459a5f93fe6e5749494f43f9ec97fea854))

##### Bug Fixes

* **connect:**  ensure callback invoke ([26c8fac5](https://github.com/lykmapipo/mongoose-common/commit/26c8fac5d2ba003ecb34d604eecf9cc91db505cd))

#### 0.37.0 (2020-06-24)

##### Chores

* **deps:**  force latest version & audit fix ([bf720794](https://github.com/lykmapipo/mongoose-common/commit/bf720794c6fa181556d8e73da930a4c959d7ae25))

##### Refactors

* **connect:**  skip if in progress ([aca235d3](https://github.com/lykmapipo/mongoose-common/commit/aca235d3eeb94847a888e495170eea07c0e97753))

#### 0.36.0 (2020-06-23)

##### Chores

* **deps:**  force latest version & audit fix ([97c1d25d](https://github.com/lykmapipo/mongoose-common/commit/97c1d25d98acec88e321eff5296abc19894c7848))

##### New Features

*  add object id helper ([2063ec2e](https://github.com/lykmapipo/mongoose-common/commit/2063ec2e3fdddf93b7b48e0a6fd74cea518dd511))

#### 0.35.1 (2020-06-10)

##### Chores

* **deps:**  force latest version & audit fix ([086d060a](https://github.com/lykmapipo/mongoose-common/commit/086d060a0071a0b22b98035b8e54ce2feb377bea))

#### 0.35.0 (2020-06-03)

##### Chores

* **deps:**  force latest version & audit fix ([90a6e2e0](https://github.com/lykmapipo/mongoose-common/commit/90a6e2e02cc4f1e434d25c0acbad54c4ef4328d6))

##### New Features

* **seed:**  ensure safe seed data ([5ce318f3](https://github.com/lykmapipo/mongoose-common/commit/5ce318f367df957809e8a35fbfe6928e013107c1))

##### Bug Fixes

* **seed:**  transform seed to array ([ec998e02](https://github.com/lykmapipo/mongoose-common/commit/ec998e02324761f62158092956443617f39f7e5b))

#### 0.34.3 (2020-05-20)

##### Chores

* **deps:**  force latest version & audit fix ([ff7c4977](https://github.com/lykmapipo/mongoose-common/commit/ff7c49775e5283f6327da50206a4e1ddc23e14c6))

#### 0.34.2 (2020-05-10)

##### Refactors

* **seed:**  remove null & empty relations ([9bd34064](https://github.com/lykmapipo/mongoose-common/commit/9bd340641b1b626242ab04bb261e7e4f7001e0a3))

#### 0.34.1 (2020-05-09)

##### Chores

* **deps:**  force latest version & audit fix ([6c28d00d](https://github.com/lykmapipo/mongoose-common/commit/6c28d00daadc411450920d836b81833fe0f63b1e))

#### 0.34.0 (2020-05-09)

##### Chores

* **deps:**  force latest version & audit fix ([a50b2a6d](https://github.com/lykmapipo/mongoose-common/commit/a50b2a6d6f8cea0168a5b84fd8278c5ab1b18617))

##### New Features

* **seed:**  allow select option on related ([8268aa2f](https://github.com/lykmapipo/mongoose-common/commit/8268aa2fdcfae8cff58b7667debaa09f19980957))

#### 0.33.1 (2020-05-02)

##### Chores

* **deps:**  force latest version & audit fix ([75c314fb](https://github.com/lykmapipo/mongoose-common/commit/75c314fb1499bfeac7809f69f2a3dd1f705dcabd))

#### 0.33.0 (2020-04-28)

##### Chores

* **deps:**  force latest version & audit fix ([61de07fe](https://github.com/lykmapipo/mongoose-common/commit/61de07fec35cbc34f146f99d919b7a46cf2612ca))

##### New Features

*  load seeds from es6 default exports ([cfd41d71](https://github.com/lykmapipo/mongoose-common/commit/cfd41d71b1cddf01bd428723435f3038cb8d8a79))

#### 0.32.1 (2020-04-27)

##### Chores

* **deps:**  force latest version & audit fix ([104b3d5e](https://github.com/lykmapipo/mongoose-common/commit/104b3d5edf7f3113e19114c883420ff6b49077cb))

#### 0.32.0 (2020-04-23)

##### New Features

* **seed:**  allow ignore on populate ([f7a61ee9](https://github.com/lykmapipo/mongoose-common/commit/f7a61ee963f8e719bc8f183e4b1f8fce702f2b70))

#### 0.31.1 (2020-04-16)

##### Chores

* **deps:**  force latest version & audit fix ([37cbe1cb](https://github.com/lykmapipo/mongoose-common/commit/37cbe1cbfb2e3409e58fcb3d9ead5a512b8c982b))

#### 0.31.0 (2020-04-10)

##### Chores

* **release:**  compile latest source & release notes ([4438dc2b](https://github.com/lykmapipo/mongoose-common/commit/4438dc2b54d2bd773831572f5fb5e35d217ff091))

##### New Features

*  convert instance to objectids strings ([82508a06](https://github.com/lykmapipo/mongoose-common/commit/82508a0628ce1e0d03b531594e4a66a6ccd05aaa))
*  convert instances to objectids ([4b0f01e8](https://github.com/lykmapipo/mongoose-common/commit/4b0f01e87ba9d6e9ac361056dddd9ec64a283a88))
*  allow to check if two objectid are same ([99d96af1](https://github.com/lykmapipo/mongoose-common/commit/99d96af12ca01961876ea44211af39c586bdf5d2))
*  allow check two model instance if are equal ([fe9ffb9f](https://github.com/lykmapipo/mongoose-common/commit/fe9ffb9f837f7bc764e8f98f8f2a0c8849f82694))

#### 0.30.0 (2020-04-08)

##### Chores

* **deps:**
  *  force latest version & audit fix ([b1219af8](https://github.com/lykmapipo/mongoose-common/commit/b1219af85ca17321e9c84123d85b886f40a1cb12))
  *  force latest version & audit fix ([f61e734f](https://github.com/lykmapipo/mongoose-common/commit/f61e734f4febe7456be86c028be2d94bcff52ef2))

##### Refactors

* **seed:**  preload dependencies before prepare criteria ([b6d716a8](https://github.com/lykmapipo/mongoose-common/commit/b6d716a862142d9fd2a9c0aa800f2c3a37696b29))

#### 0.29.7 (2020-03-30)

##### Chores

* **deps:**  force latest version & audit fix ([b2cfb101](https://github.com/lykmapipo/mongoose-common/commit/b2cfb101c2af786a1fe9d677561fa98bb9d68538))

#### 0.29.6 (2020-03-06)

##### Chores

* **deps:**  force latest version & audit fix ([e992580c](https://github.com/lykmapipo/mongoose-common/commit/e992580ca712de2af9d15489594e8145f2917582))

#### 0.29.5 (2020-02-28)

##### Chores

* **deps:**  force latest version & audit fix ([9b042ab6](https://github.com/lykmapipo/mongoose-common/commit/9b042ab62b5825876a471ca49ec62cf6dd440bf2))

#### 0.29.4 (2020-02-16)

##### Chores

* **deps:**  force latest version & audit fix ([4809d23f](https://github.com/lykmapipo/mongoose-common/commit/4809d23ffcaaab0ac2001971dff2d693fcebfe64))

#### 0.29.3 (2020-02-04)

##### Chores

* **deps:**  force latest version & audit fix ([8da20311](https://github.com/lykmapipo/mongoose-common/commit/8da2031136f6ea075be40d35ab2d732d5e919cc6))

#### 0.29.2 (2020-01-23)

##### Chores

* **deps:**  force latest version & audit fix ([2cb0a532](https://github.com/lykmapipo/mongoose-common/commit/2cb0a532bbfd7ff6c420cc7b92189add6b682c08))

#### 0.29.1 (2020-01-23)

##### Bug Fixes

* **seed:**  filter empty ([33de07fb](https://github.com/lykmapipo/mongoose-common/commit/33de07fb6e68b5c221a9be4810e209499b172f70))

#### 0.29.0 (2020-01-23)

##### New Features

* **seed:**  support transform & filter ([e48f6b49](https://github.com/lykmapipo/mongoose-common/commit/e48f6b49afbd65569733773cac4b5fcb49081233))

#### 0.28.9 (2020-01-22)

##### Chores

* **deps:**  force latest version & audit fix ([5ba609bf](https://github.com/lykmapipo/mongoose-common/commit/5ba609bf90013f19813677ec69479356fce234f4))

#### 0.28.8 (2020-01-20)

##### Chores

* **deps:**  force latest version & audit fix ([122fe11f](https://github.com/lykmapipo/mongoose-common/commit/122fe11fb733facd99dbd9c2672552b42f13c4f4))

##### Refactors

* **synIndexes:**  ensure safe syncs ([34b52f92](https://github.com/lykmapipo/mongoose-common/commit/34b52f92cb9ec9ac3bb796cf2cdd443c96c4563a))
* **connect:**  restore mongoose.connect use ([ecd863d8](https://github.com/lykmapipo/mongoose-common/commit/ecd863d8539b730cae08fba5db94693a01cf178d))

#### 0.28.7 (2020-01-17)

##### Chores

* **deps:**  force latest version & audit fix ([949fa645](https://github.com/lykmapipo/mongoose-common/commit/949fa6453ec52bbea159a2aed14dcd51290ec111))

#### 0.28.6 (2020-01-14)

##### Chores

* **deps:**  force latest version & audit fix ([5d7389d0](https://github.com/lykmapipo/mongoose-common/commit/5d7389d01581c6f9d22fc11e83ef04fd178afde1))

##### Other Changes

* false with connection ([adee4728](https://github.com/lykmapipo/mongoose-common/commit/adee472836726ca53dd2eeb81b6351512bc06408))

#### 0.28.5 (2020-01-14)

##### Chores

* **deps:**  force latest version & audit fix ([2e8b7bac](https://github.com/lykmapipo/mongoose-common/commit/2e8b7bac1d605a9dcdd10b074e211e0f8cf9ad52))

#### 0.28.4 (2020-01-12)

##### Chores

* **deps:**  force latest version & audit fix ([559a8fa6](https://github.com/lykmapipo/mongoose-common/commit/559a8fa6df9ffc9adbc7ec3d2d29fa6bf68b714f))

#### 0.28.3 (2020-01-11)

##### Chores

* **deps:**  force latest version & audit fix ([bd786941](https://github.com/lykmapipo/mongoose-common/commit/bd78694174e46878c2749ea58a8ff8de7dea7fd2))

#### 0.28.2 (2019-12-16)

##### Chores

* **deps:**  force latest version & audit fix ([c45971b5](https://github.com/lykmapipo/mongoose-common/commit/c45971b58b71f871977dab55c90f2aa3a7dd9fa1))

#### 0.28.1 (2019-12-09)

##### Chores

* **deps:**  force latest version & audit fix ([4a23ea3e](https://github.com/lykmapipo/mongoose-common/commit/4a23ea3ee4d17cfa4d5a69d97b12471967704094))

#### 0.28.0 (2019-11-27)

##### Chores

* **deps:**  force latest version & audit fix ([91796495](https://github.com/lykmapipo/mongoose-common/commit/917964952412d186fbe289be52c79bb51e0dd051))

##### New Features

* **seed:**  support array of refs ([37846a19](https://github.com/lykmapipo/mongoose-common/commit/37846a191544f7331ef0edaa248ea2d250317a76))

#### 0.27.1 (2019-11-27)

##### Chores

* **deps:**  force latest version & audit fix ([c67b7cdc](https://github.com/lykmapipo/mongoose-common/commit/c67b7cdcb2580f06a65307c54fe981dcde03c3d3))

##### Refactors

* **seed:**  fetch _id on seed related ([74845dd9](https://github.com/lykmapipo/mongoose-common/commit/74845dd9dddd3d624b4c2b342c1427c55df747c8))

#### 0.27.0 (2019-11-25)

##### Chores

* **deps:**  force latest version & audit fix ([dc379752](https://github.com/lykmapipo/mongoose-common/commit/dc3797526816a19178321f8b6d44b4281311c285))

##### New Features

*  allow seed dependencies ([6ca6f4c1](https://github.com/lykmapipo/mongoose-common/commit/6ca6f4c193ed396a39a8d5049d0b18a312fcd3cd))
*  allow fresh seed to overide existing ([a4c96b5b](https://github.com/lykmapipo/mongoose-common/commit/a4c96b5bc2d754832c98a609a953016100713de1))

#### 0.26.6 (2019-11-14)

##### Chores

* **deps:**  force latest version & audit fix ([6416ca36](https://github.com/lykmapipo/mongoose-common/commit/6416ca36299ad07111001c3bcc08fe698d46b8da))

##### Bug Fixes

*  normalize schema options to object ([774375c9](https://github.com/lykmapipo/mongoose-common/commit/774375c90d11a84e3b88ea5a943172fb106e385d))

#### 0.26.5 (2019-11-14)

##### Chores

* **deps:**  force latest version & audit fix ([b280f316](https://github.com/lykmapipo/mongoose-common/commit/b280f3163aa5e14fdd327a6c5fb7df2747aecedf))

##### Refactors

* **error:**  ensure error message ([4f14284f](https://github.com/lykmapipo/mongoose-common/commit/4f14284f3d59b6542de98d6e3f0b63e095c92b24))

#### 0.26.4 (2019-10-23)

##### Chores

* **deps:**  force latest version & audit fix ([4e991b0d](https://github.com/lykmapipo/mongoose-common/commit/4e991b0dd8868100b0f0cf641cb0ebf5dd2dec7a))

#### 0.26.3 (2019-10-14)

##### Chores

* **deps:**  force latest versions ([f886d2d2](https://github.com/lykmapipo/mongoose-common/commit/f886d2d291f85155f82208fc6997275e36b2600d))

##### Bug Fixes

*  esnure DB_NAME if no package.json ([eef72e11](https://github.com/lykmapipo/mongoose-common/commit/eef72e11ef9afbab052a0bdbbf0e6d5603d5a7eb))

#### 0.26.2 (2019-10-10)

##### Chores

* **deps:**  force latest version & audit fix ([be679c18](https://github.com/lykmapipo/mongoose-common/commit/be679c1894f16d8dbd49c20ee6afde9e410b291b))

#### 0.26.1 (2019-10-08)

##### Chores

* **deps:**  force latest version & audit fix ([a97728b4](https://github.com/lykmapipo/mongoose-common/commit/a97728b410d7f50c7ea04c2d83afcce261f7ec88))

#### 0.26.0 (2019-09-27)

##### New Features

*  use recursive toObject on copyInstance ([75c1caca](https://github.com/lykmapipo/mongoose-common/commit/75c1caca8c5973107ecae73afa09aec8bd4efe60))

##### Refactors

*  simply copyInstance to merge any object ([ed32f0a6](https://github.com/lykmapipo/mongoose-common/commit/ed32f0a6511a43bdf031c09f0d19e8282c4af28d))

#### 0.25.15 (2019-09-27)

##### Chores

* **deps:**  force latest version & audit fix ([9c1c0293](https://github.com/lykmapipo/mongoose-common/commit/9c1c029369bc839fcc2fce52a9a69fe06f555301))

#### 0.25.14 (2019-09-25)

##### Chores

* **deps:**  force latest version & audit fix ([97785aff](https://github.com/lykmapipo/mongoose-common/commit/97785aff4481add2af207b44efd92f508a265810))

#### 0.25.13 (2019-09-16)

##### Chores

* **deps:**  force latest version & audit fix ([e56b6f5c](https://github.com/lykmapipo/mongoose-common/commit/e56b6f5cd67b33f524395b54d3a2f94b445d1b84))

##### Bug Fixes

*  add support for new server discover & monitoring engine ([60eca8f5](https://github.com/lykmapipo/mongoose-common/commit/60eca8f516d477662e59bfff5802515e14e85c10))

#### 0.25.12 (2019-09-16)

##### Chores

* **deps:**  force latest version & audit fix ([88e8748e](https://github.com/lykmapipo/mongoose-common/commit/88e8748ef8ad29e89d6d34def847528464238294))

#### 0.25.11 (2019-08-28)

##### Chores

* **deps:**  force latest version & audit fix ([812151ff](https://github.com/lykmapipo/mongoose-common/commit/812151ff8ffc071baacaad142747f739ab086281))

#### 0.25.10 (2019-08-13)

##### Chores

* **deps:**  force latest version & audit fix ([4b266e95](https://github.com/lykmapipo/mongoose-common/commit/4b266e95a5dc7896603c3717047d1097f6d9dc27))

#### 0.25.9 (2019-08-01)

##### Chores

* **deps:**  force latest version & audit fix ([6ed9454e](https://github.com/lykmapipo/mongoose-common/commit/6ed9454e228a24fd431d5c2f9906b96ce5a7ea92))

##### Tests

*  fix integration spec assertions ([99ebca12](https://github.com/lykmapipo/mongoose-common/commit/99ebca1218565a9fd49edb2a50a032f5941cdf1f))

#### 0.25.8 (2019-07-09)

##### Chores

* **deps:**  force latest version & audit fix ([27be63e0](https://github.com/lykmapipo/mongoose-common/commit/27be63e00f64aa2cc9cdeedd89049b5e67f21967))

#### 0.25.7 (2019-06-28)

##### Chores

* **deps:**  force latest version & audit fix ([0d15732d](https://github.com/lykmapipo/mongoose-common/commit/0d15732d935fd79d05a1c6719ad4cf9d03e07088))

##### Bug Fixes

*  use old connection to skip multu connect errors ([66a48b87](https://github.com/lykmapipo/mongoose-common/commit/66a48b877e5fc8cee0ca8d89861259af6edf4caa))

#### 0.25.6 (2019-06-19)

##### Tests

*  fix schema options assertions ([cc9be357](https://github.com/lykmapipo/mongoose-common/commit/cc9be357fb4665a55c7861a4660094e457690023))

#### 0.25.5 (2019-06-19)

##### Chores

* **deps:**  force latest version & audit fix ([ed5e4403](https://github.com/lykmapipo/mongoose-common/commit/ed5e4403201ea261b5980d4b7fc193dc49d04def))

#### 0.25.4 (2019-06-19)

##### New Features

*  allow getters in schema options ([245e8a76](https://github.com/lykmapipo/mongoose-common/commit/245e8a76435a6a36b8e6ae58f9fd11cf2c78ebc2))

#### 0.25.3 (2019-06-16)

##### Chores

* **deps:**  force latest version & audit fix ([52545e04](https://github.com/lykmapipo/mongoose-common/commit/52545e04bb02f0e8bff60f7ea434e0afb7b92562))

#### 0.25.2 (2019-06-14)

##### Chores

* **deps:**  force latest version & audit fix ([40cebdc5](https://github.com/lykmapipo/mongoose-common/commit/40cebdc5f8a2f21339819cf8a1b2e88551e466ef))

#### 0.25.1 (2019-06-09)

##### Chores

* **deps:**  force latest version & audit fix ([875939b9](https://github.com/lykmapipo/mongoose-common/commit/875939b98bc78d00df333c24b1e7589e4c9d40af))

#### 0.25.0 (2019-06-08)

##### Chores

* **deps:**
  *  force latest version & audit fix ([0dc5d285](https://github.com/lykmapipo/mongoose-common/commit/0dc5d2854cb31f7576f5199ca8c92939d4e83eb4))
  *  force latest version & audit fix ([38e95f1b](https://github.com/lykmapipo/mongoose-common/commit/38e95f1b3a4cd7a5754092692ffbc8375487d2be))

##### New Features

*  add clearAndSeed model static method ([02a94a4f](https://github.com/lykmapipo/mongoose-common/commit/02a94a4f086ad72717948636aee3b009997c9dd6))
*  ignore path seeds if args seed provided ([f2b9ca9a](https://github.com/lykmapipo/mongoose-common/commit/f2b9ca9a426ebaf20a3cb803321858b93f3bdc7e))

##### Code Style Changes

*  fix prettifier errors ([fa411761](https://github.com/lykmapipo/mongoose-common/commit/fa4117616d6007fa64ab675a31b2926bee76cc27))
*  prettify codes ([fe521cc5](https://github.com/lykmapipo/mongoose-common/commit/fe521cc5400d9b634f84060bd6306a1d5523888e))

##### Tests

*  implement refs seeds ([648451d6](https://github.com/lykmapipo/mongoose-common/commit/648451d66b285064ec6b5e4651394582515f03eb))

#### 0.24.0 (2019-06-04)

##### New Features

*  implement validationErrorFor helper to construct mongoose validation errors ([bcd55713](https://github.com/lykmapipo/mongoose-common/commit/bcd557138f5e0db853c9cf32dea68460775a7526))

#### 0.23.7 (2019-06-04)

##### Chores

* **deps:**  force latest version & audit fix ([5f7640d1](https://github.com/lykmapipo/mongoose-common/commit/5f7640d1b9889113950074fb7f7483a05323d981))

#### 0.23.6 (2019-06-02)

##### Chores

* **deps:**  force latest version & audit fix ([3a444875](https://github.com/lykmapipo/mongoose-common/commit/3a444875bd1303ee0181fecadab94305bd964cbb))

#### 0.23.5 (2019-06-02)

##### Chores

* **deps:**  force latest version & audit fix ([adf71c54](https://github.com/lykmapipo/mongoose-common/commit/adf71c549caaf9c80190e554556383e749e8f22f))

##### Bug Fixes

*  enable useCreateIndex instead of deprecated ensureIndex ([02ec8feb](https://github.com/lykmapipo/mongoose-common/commit/02ec8febf18e13dbae25b4f4e8061724d967e9b9))

#### 0.23.4 (2019-05-29)

##### New Features

*  allow isConnected to use default connection or passed connection ([1f103bb0](https://github.com/lykmapipo/mongoose-common/commit/1f103bb09c9baff6ec16392a9d4404d296100910))

#### 0.23.3 (2019-05-29)

##### Chores

* **deps:**  force latest version & audit fix ([022796d1](https://github.com/lykmapipo/mongoose-common/commit/022796d1a57b6c964bbc01c0f433310b29d13278))

##### Bug Fixes

*  ensure connection uri for undefine MONGODB_URI env variable ([bfa9848f](https://github.com/lykmapipo/mongoose-common/commit/bfa9848fe0af017672d41400de06674a489c2833))

#### 0.23.2 (2019-05-28)

##### Chores

* **deps:**  force latest version & audit fix ([7dd02d4b](https://github.com/lykmapipo/mongoose-common/commit/7dd02d4b11bd7f43c569028c7148d31635c758e1))

##### Bug Fixes

*  always ensure mongodb uri on connect ([a96e2a6d](https://github.com/lykmapipo/mongoose-common/commit/a96e2a6dff8919d70cd43c21ed086fd77a08273c))

#### 0.23.1 (2019-05-20)

##### Chores

* **deps:**  force latest version & audit fix ([5feee4f4](https://github.com/lykmapipo/mongoose-common/commit/5feee4f48fea4b5402fe94e0770bc049ff0268d3))

#### 0.23.0 (2019-05-12)

##### Chores

* **deps:**
  *  force latest version & audit fix ([55b0542e](https://github.com/lykmapipo/mongoose-common/commit/55b0542e7acf0cb173335062ce5ec4c5c38be7b7))
  *  force latest version & audit fix ([dea05cdc](https://github.com/lykmapipo/mongoose-common/commit/dea05cdca29cbb48c6c0a0359c809786b2f126a7))

##### New Features

*  add isAggregate helper to check is value is Aggregate instance ([413ef216](https://github.com/lykmapipo/mongoose-common/commit/413ef21646f2a71ea9a138c09d2c6990be5fe43f))
*  export Query ([882fc613](https://github.com/lykmapipo/mongoose-common/commit/882fc6136c0341617a476a23c2f6128f1635d549))
*  allow varargs plugins on createSchema ([b7abfc3d](https://github.com/lykmapipo/mongoose-common/commit/b7abfc3dfcffcc164c5d639fdb7232db0e1b7ef1))
*  implement initial createSchema ([cf49283b](https://github.com/lykmapipo/mongoose-common/commit/cf49283b701a29a0100314785b18006e794c4ea8))
*  support options on createSubSchema ([a2e511bb](https://github.com/lykmapipo/mongoose-common/commit/a2e511bb526aafccd06aa4303eb7d92e3473b964))

##### Refactors

*  migrate to use mergeObjects than _.merge ([5d04a3c3](https://github.com/lykmapipo/mongoose-common/commit/5d04a3c3cc3d8177ed1f9d3c5d5d8b5df214a6fe))


#### 0.22.1 (2019-05-05)

##### Bug Fixes

*  resolve seeds paths after join ([92f553a5](https://github.com/lykmapipo/mongoose-common/commit/92f553a5b221bd04c8f629ef03daa4cf65f2ea14))
* **seed:**  honour existing data when seeding ([05d202e9](https://github.com/lykmapipo/mongoose-common/commit/05d202e92719700b8e39519f91c329427330ff7b))

#### 0.22.0 (2019-05-05)

##### Chores

* **deps:**  force latest version & audit fixes ([d5ae6d77](https://github.com/lykmapipo/mongoose-common/commit/d5ae6d7782eb3cb37aa5f75fd52d8c71c691db8f))

##### New Features

*  add helper to create sub schema with variable paths ([f52be65d](https://github.com/lykmapipo/mongoose-common/commit/f52be65d90b95eb6e621a94724475a9f3af7fe65))

#### 0.21.0 (2019-05-01)

##### New Features

* **seed:**
  *  allow merge seeds from path ([56ca5914](https://github.com/lykmapipo/mongoose-common/commit/56ca591404dac1d867c0191639dc085f11c87db0))
  *  implement deterministic data seeding ([b3490eda](https://github.com/lykmapipo/mongoose-common/commit/b3490edaaaaf9a3021865ce2ee7fb1e2f767c6d0))
*  implement creatSubSchema to exclude timestamps and _id ([b87b1a9e](https://github.com/lykmapipo/mongoose-common/commit/b87b1a9e2859ecaed70ac352e95056289c4c0f0c))
*  implement create schema with varargs plugins ([a34ebe38](https://github.com/lykmapipo/mongoose-common/commit/a34ebe385220930b5b48807f936642e44408ce9a))

##### Tests

* **deps:**  migrate to use test helpers ([eb9c6f4d](https://github.com/lykmapipo/mongoose-common/commit/eb9c6f4dce1c888d899d899739922e66836fac80))

#### 0.20.1 (2019-05-01)

##### Chores

* **.npmrc:**  prevent npm version to commit and tag version ([6dfd8014](https://github.com/lykmapipo/mongoose-common/commit/6dfd8014b52893619483438072f28e0f9b198010))
* **deps:**  force latest version & audit fix ([b755adcc](https://github.com/lykmapipo/mongoose-common/commit/b755adccf66e31acfb89997d1833df88023d5edb))

#### 0.20.0 (2019-04-27)

##### Chores

* **dependencies:**  force latest versions ([7806a558](https://github.com/lykmapipo/mongoose-common/commit/7806a558f07baa5f2d4a0581a0f3d678089143e2))

##### Documentation Changes

*  write syncIndexes usage ([7bd5a141](https://github.com/lykmapipo/mongoose-common/commit/7bd5a141339f95f9545fc597eac4283fd5d40640))

##### New Features

* **syncIndexes:**  add helpers to keep db and schema indexes in sync ([83868ffd](https://github.com/lykmapipo/mongoose-common/commit/83868ffd1370fce003d6fd6a47538e9a1958e30c))
*  add disable debug helper ([c794c6d8](https://github.com/lykmapipo/mongoose-common/commit/c794c6d860ff7c7f124342513c0c02e917023dad))
*  add enable debug helper ([85b66fa9](https://github.com/lykmapipo/mongoose-common/commit/85b66fa94bb6bf055db40e8783525f0195c82302))

##### Refactors

* ***:**  use function expression ([ce6e96c1](https://github.com/lykmapipo/mongoose-common/commit/ce6e96c19612657159a4f11d205aff23ba1adde6))
* **jsonSchema:**  use function expression ([956f533b](https://github.com/lykmapipo/mongoose-common/commit/956f533b8269310c5fc96b719d370eee49713db6))
* **eachPath:**  use function expression ([62e6115b](https://github.com/lykmapipo/mongoose-common/commit/62e6115b8bd02320d8794ead8ebb6f2a6e027311))
* **model:**  use function expression ([8280c6bc](https://github.com/lykmapipo/mongoose-common/commit/8280c6bc163dda67fab56e98a8f02094b4063b73))
* **drop:**  use function expression ([bd8575e0](https://github.com/lykmapipo/mongoose-common/commit/bd8575e06179ed0390d2cbd9fc46414498d936d5))
* **clear:**  use function expression ([e7829e46](https://github.com/lykmapipo/mongoose-common/commit/e7829e46a055b3234c70788abe918c7a6cc2597d))
* **disconnect:**  use function expression ([79ddf817](https://github.com/lykmapipo/mongoose-common/commit/79ddf817b9502ceea9e7e4f598cc68b37b0134f5))
* **connect:**  use function expression ([5be74ec5](https://github.com/lykmapipo/mongoose-common/commit/5be74ec57c75f5f629b2445bb0226844e705a3d7))
* **copyInstance:**  use function expression ([78216e8a](https://github.com/lykmapipo/mongoose-common/commit/78216e8ac473b121bd70134a61f7b38a33e8ee1b))
* **isInstance:**  use function expression ([cd709c30](https://github.com/lykmapipo/mongoose-common/commit/cd709c30f7ebb8dd69ae982f6f5cb2f7e8f750ba))
* **isNumberArray:**  use function expression ([8b104338](https://github.com/lykmapipo/mongoose-common/commit/8b104338e9cfdd17caa2ae37ff3486365aad2192))
* **isNumber:**  use function expression ([34579468](https://github.com/lykmapipo/mongoose-common/commit/3457946804a56f85657ea9ff065836b5632f2aaa))
* **isStringArray:**  use function expression ([75fce7d6](https://github.com/lykmapipo/mongoose-common/commit/75fce7d6605f55fc52b24c842af9115eb32a4960))
* **isString:**  use function expression ([2ad21fca](https://github.com/lykmapipo/mongoose-common/commit/2ad21fca6d149fc7f7da645ca5cdc14988c602c9))
* **isMap:**  use function expression ([3305a949](https://github.com/lykmapipo/mongoose-common/commit/3305a949ee373b294067defe8f7fbb5efa452f33))
* **isObjectId:**  use function expression ([1bd29845](https://github.com/lykmapipo/mongoose-common/commit/1bd298450554ccecdca1f3d201133a5c1f038804))
* **toCollectionName:**  use function expression ([c5ed14af](https://github.com/lykmapipo/mongoose-common/commit/c5ed14af7c933b4f6b7ea4924c9c543b54e140bc))

##### Code Style Changes

*  improve examples ([c17d4420](https://github.com/lykmapipo/mongoose-common/commit/c17d44207a778602cbc4dbdfb534fc68e40449eb))

#### 0.19.1 (2019-04-24)

##### Chores

* **dependencies:**  force latest common version ([fc530699](https://github.com/lykmapipo/mongoose-common/commit/fc53069909d6d863a00d4d7527e7624c1f11bb43))

##### New Features

*  add index on validator error ([a36e4c25](https://github.com/lykmapipo/mongoose-common/commit/a36e4c25ef645a7d21fa9647dd80cc0d10c79bf2))

##### Bug Fixes

*  correct order of parsing values from compaund indexes ([c99ff93e](https://github.com/lykmapipo/mongoose-common/commit/c99ff93e14243027bbe0b5429555fa1c71d0fd67))

#### 0.19.0 (2019-04-23)

##### Chores

* **dependencies:**  force latest dependencies ([a0393029](https://github.com/lykmapipo/mongoose-common/commit/a0393029ab204fd801fea6db048fde4a25043875))

##### New Features

*  handle ObjectId unique errors and normalize ([a3525477](https://github.com/lykmapipo/mongoose-common/commit/a3525477a5b001083b7f4596f914e32110413d34))

##### Refactors

*  parse values from object id unique error ([ed49209f](https://github.com/lykmapipo/mongoose-common/commit/ed49209f761813d44fd1f12c6c913dc5186d9f11))
*  extract value parsing from error ([4135e0d5](https://github.com/lykmapipo/mongoose-common/commit/4135e0d55688f2bb869c8e3b539b1a84e4c8a29a))
*  extract unique paths parsing ([d5570788](https://github.com/lykmapipo/mongoose-common/commit/d557078875fef08508c4bc6b2f6775ba7b253543))

##### Tests

* **integration:**  handle object id compaund unique index ([d71a9fee](https://github.com/lykmapipo/mongoose-common/commit/d71a9fee6f5bba7756ba6835dc7d98aa88d6de16))
*  improve spec describes & compact integration spec ([f29b071f](https://github.com/lykmapipo/mongoose-common/commit/f29b071f443ef2aac252ec72381d87c848ff5313))

#### 0.18.1 (2019-04-20)

##### Chores

*  force latest node on travis ([78edfd9c](https://github.com/lykmapipo/mongoose-common/commit/78edfd9c351a889e9b555098027d0c13e122955f))

##### Refactors

*  improve regex to extract unique path & value ([c2a0eb38](https://github.com/lykmapipo/mongoose-common/commit/c2a0eb385fca62bdeb683b7c391d5f1919a31b1c))

#### 0.18.0 (2019-04-20)

##### New Features

*  add additonal hooks to error middleware ([53c655fb](https://github.com/lykmapipo/mongoose-common/commit/53c655fbf16c0b730c57b763a6b9a9ce10feb2a6))
*  parse path value from unique error ([bc6bfc60](https://github.com/lykmapipo/mongoose-common/commit/bc6bfc6002f51e5fd8df1a7c7ac146f80c997f7c))

##### Refactors

* **path plugin:**
  *  use functional expression & arrow ([a1f6e2f2](https://github.com/lykmapipo/mongoose-common/commit/a1f6e2f22105bf9d41397b42ca8dcae20fd1b0a9))
  *  use functional expression & arrow ([7669fa11](https://github.com/lykmapipo/mongoose-common/commit/7669fa1161d7321f3aa11d18b9ac0d3e98105eea))
*  use functional expression & arrow ([a173ecbc](https://github.com/lykmapipo/mongoose-common/commit/a173ecbc17e20dd385aab0cb4ca660ee260199d0))

##### Code Style Changes

*  fix typos ([068205cd](https://github.com/lykmapipo/mongoose-common/commit/068205cd01ea5aeb0b75ce35e33442ce5d94d085))

##### Tests

*  use test dd and improve specs title ([a41f53fb](https://github.com/lykmapipo/mongoose-common/commit/a41f53fbe28e9986fd22ca7bb3df76159429dff9))
* **unit:**  improve test readability ([92487d1f](https://github.com/lykmapipo/mongoose-common/commit/92487d1fcee1a17b1764a7af8e9cb20650648ed5))
* **integration:**  improve test readability ([722b8b71](https://github.com/lykmapipo/mongoose-common/commit/722b8b71ca9ea625db733f2610a4975e222d501d))

#### 0.17.0 (2019-04-17)

##### Chores

*  force latest dependencies ([8c4ff7f1](https://github.com/lykmapipo/mongoose-common/commit/8c4ff7f137cd348f2058a3c01b0d80b0b5b721cf))

##### New Features

*  allow clear by passing model instance ([98e1cba6](https://github.com/lykmapipo/mongoose-common/commit/98e1cba643246ff317451b671d1a66cf9438bb27))
*  add isModel check helper ([c172598a](https://github.com/lykmapipo/mongoose-common/commit/c172598af562e1a61ba370948200961c1d3c078f))

#### 0.16.2 (2019-04-16)

##### Chores

*  force latest dependencies ([44abc966](https://github.com/lykmapipo/mongoose-common/commit/44abc966db7495b5fe06a94a8ebeefdd87e262dc))

##### Documentation Changes

*  add code of conduct & contributing guide ([8ec442f8](https://github.com/lykmapipo/mongoose-common/commit/8ec442f8f8cde1c8f3f6e1d919b87a36f4514647))

#### 0.16.1 (2019-04-01)

##### Chores

*  force latest dependencies ([cbae9d9d](https://github.com/lykmapipo/mongoose-common/commit/cbae9d9db58f1ec2be647a9efb7f4d0e688ee050))

#### 0.16.0 (2019-03-29)

##### New Features

*  add shortcut to get collection name of model ([8a0f9ae9](https://github.com/lykmapipo/mongoose-common/commit/8a0f9ae9088402136007d3082cd5fc32988d0feb))
*  add shortcut to check for array schema type ([6803ef0a](https://github.com/lykmapipo/mongoose-common/commit/6803ef0a2845b2a9edf1ef85b6160c2b3fdfbe96))

##### Code Style Changes

*  improve isArraySchemaType jsdocs ([9f1cc285](https://github.com/lykmapipo/mongoose-common/commit/9f1cc285b7b4503148d3912de9c62148cbd3882c))

#### 0.15.0 (2019-03-29)

##### New Features

*  expose mongoose aggregation builder ([254d2fb4](https://github.com/lykmapipo/mongoose-common/commit/254d2fb49b70357c1fc7aca0565da7966c7965e1))

#### 0.14.0 (2019-03-29)

##### New Features

*  add helper to get schema type options ([28fa8aed](https://github.com/lykmapipo/mongoose-common/commit/28fa8aedfd91741a9fb998ef711ceb8282df4f42))

#### 0.13.0 (2019-03-28)

##### Chores

*  force latest dependencies ([cb7ae2df](https://github.com/lykmapipo/mongoose-common/commit/cb7ae2df8eaae683011e6d2bda2522c39994a685))

##### New Features

*  expose common aggregation lookup fields ([38ed8880](https://github.com/lykmapipo/mongoose-common/commit/38ed88805c5e3f43b6d1fdfa5717ade82643341e))

#### 0.12.0 (2019-02-20)

##### New Features

*  add isQuery to check if value is query instance ([785d312c](https://github.com/lykmapipo/mongoose-common/commit/785d312cb9914ee45ebd0875830d032e51138d0f))

#### 0.11.0 (2019-02-13)

##### New Features

*  add isStringArray & isNumberArray to string & number schema array ([43b91685](https://github.com/lykmapipo/mongoose-common/commit/43b91685ab64eaab45dd5299556611a2280a1ec7))

#### 0.10.0 (2019-02-13)

##### New Features

*  add isString & isNumber to check for string and number schema types ([0159409b](https://github.com/lykmapipo/mongoose-common/commit/0159409bc30274e7b558d9459dba3fc9e0774a69))

#### 0.9.2 (2019-02-13)

##### Chores

*  force latest dependencies ([b230b0f6](https://github.com/lykmapipo/mongoose-common/commit/b230b0f614977e02477a01fecf7f6ab0f052d4a2))

#### 0.9.1 (2019-01-31)

##### Refactors

*  modelNames to be a function ([5ca0456d](https://github.com/lykmapipo/mongoose-common/commit/5ca0456dedf6ed0906788cc516324544c33e6f6f))

