UNPKG

@lykmapipo/mongoose-connection

Version:
152 lines (97 loc) 9.17 kB
#### 0.5.2 (2021-09-23) ##### Chores * **release:** compile latest source ([81430ce0](https://github.com/lykmapipo/mongoose-connection/commit/81430ce0773dff0cbe66770090a2cd190330b0fa)) * **deps:** force latest version & audit fix ([2a71f241](https://github.com/lykmapipo/mongoose-connection/commit/2a71f2413a2bbe418af9418a16e22499bf976ce0)) #### 0.5.1 (2021-09-23) ##### Chores * **deps:** force latest version & audit fix ([98d4d8a2](https://github.com/lykmapipo/mongoose-connection/commit/98d4d8a257f71f19a70c2f0b8de7dbf6dddf12af)) * refactor and updates ([2549396d](https://github.com/lykmapipo/mongoose-connection/commit/2549396d7e5f998911b0ef893cd2cf700e861c6a)) ##### Documentation Changes * **readme:** update travis badge source ([9da7428e](https://github.com/lykmapipo/mongoose-connection/commit/9da7428e34915307bfd38038a9b70ecbb8f861f4)) #### 0.5.0 (2021-06-05) ##### Chores * **deps:** force latest version & audit fix ([e7be7d9a](https://github.com/lykmapipo/mongoose-connection/commit/e7be7d9ab07d30c70ad3d4d0fd6bf2078d8ad794)) ##### New Features * allow to wait connection for n ms ([beeabd8c](https://github.com/lykmapipo/mongoose-connection/commit/beeabd8cc6e892cf850d24a1df06e885051c9a8c)) #### 0.4.0 (2020-12-29) ##### Refactors * improve connect & disconnect ([4ed3c8a9](https://github.com/lykmapipo/mongoose-connection/commit/4ed3c8a91e748861c3e5009f8ee5765bf30a3ad5)) #### 0.3.6 (2020-12-27) ##### Chores * **deps:** force latest version & audit fix ([5bd9e0e7](https://github.com/lykmapipo/mongoose-connection/commit/5bd9e0e7a9011e0f38ee2c5d16b1876add086c0a)) #### 0.3.5 (2020-12-24) ##### Chores * **deps:** force latest version & audit fix ([7d1dbc3c](https://github.com/lykmapipo/mongoose-connection/commit/7d1dbc3c77a0f25d776298dd1171d8762ac9d5c9)) #### 0.3.4 (2020-08-08) ##### Chores * **deps:** force latest version & audit fix ([efed7b3b](https://github.com/lykmapipo/mongoose-connection/commit/efed7b3bc4938739b722fc4981cf88eaef8880c7)) #### 0.3.3 (2020-07-29) ##### Chores * **deps:** force latest version & audit fix ([1e8b3a27](https://github.com/lykmapipo/mongoose-connection/commit/1e8b3a27d7c87e20100eff3f24384b29dfe0c280)) #### 0.3.2 (2020-07-14) ##### Chores * **deps:** force latest version & audit fix ([c00eedc0](https://github.com/lykmapipo/mongoose-connection/commit/c00eedc01d618ebac89df7fd8703e5880e486156)) #### 0.3.1 (2020-07-02) ##### Chores * **deps:** force latest version & audit fix ([2d3ce3ec](https://github.com/lykmapipo/mongoose-connection/commit/2d3ce3ec5b8e77709f934cdde8aca5dc778abc36)) #### 0.3.0 (2020-06-26) ##### Chores * **release:** compile latest source & release notes ([1874f762](https://github.com/lykmapipo/mongoose-connection/commit/1874f76264453af42a5dbfa8b9933e6a78516e32)) * **deps:** force latest version & audit fix ([2667d8d0](https://github.com/lykmapipo/mongoose-connection/commit/2667d8d0e54e0262bde3c4004dbeb7bee191643f)) ##### Documentation Changes * **documentation:** generate latest apidocs ([047e81cb](https://github.com/lykmapipo/mongoose-connection/commit/047e81cbab852f62351687e71c44766524361a58)) ##### New Features * **helpers:** check if connected or connecting ([dc496942](https://github.com/lykmapipo/mongoose-connection/commit/dc4969429e62d57c84da6511c6bfb17f057fb5ac)) ##### Refactors * eliminate dead codes ([579c622c](https://github.com/lykmapipo/mongoose-connection/commit/579c622c0fa97ca97e8d39a50218314294e109cc)) #### 0.2.0 (2020-06-15) ##### Chores * **deps:** * force latest version & audit fix ([34ce9f9d](https://github.com/lykmapipo/mongoose-connection/commit/34ce9f9df67d639cf1aec8b03280f84621efd0d3)) * force latest version & audit fix ([55309625](https://github.com/lykmapipo/mongoose-connection/commit/55309625e73437ef50886894758bd4a5ec9b949f)) * force latest version & audit fix ([c7f6f196](https://github.com/lykmapipo/mongoose-connection/commit/c7f6f196141093016269d04f0d6c23e51822ca7f)) * **build:** add common files ([d7458225](https://github.com/lykmapipo/mongoose-connection/commit/d7458225d3a61c85ff6f5a8b1fb4653550d61b52)) ##### Documentation Changes * **readme:** * update usage ([76b592ca](https://github.com/lykmapipo/mongoose-connection/commit/76b592caea592ee3cd775a40e09f809b5b1d0c18)) * re-organize sections ([cec66eb6](https://github.com/lykmapipo/mongoose-connection/commit/cec66eb6ac1c3d8fd03dabae0ccaf73b0d08f95d)) * add common repo files ([2756d3dd](https://github.com/lykmapipo/mongoose-connection/commit/2756d3dd657310efe104d80c2bb214546618df3e)) * add deprecation warning ([9e1c5579](https://github.com/lykmapipo/mongoose-connection/commit/9e1c55795e14aff14448f0f63d5dbfddc0795d8a)) ##### New Features * **helpers:** * add create ([0217d10e](https://github.com/lykmapipo/mongoose-connection/commit/0217d10ef3a77f9d94e471075d91aedb6980d841)) * add create vary sub-schema ([aa845b1a](https://github.com/lykmapipo/mongoose-connection/commit/aa845b1aa88015b1ecb5921b1e25428c29579abb)) * add collectionNameOf ([0fb11f55](https://github.com/lykmapipo/mongoose-connection/commit/0fb11f55cf7275ce34930bfe2d373144824c4672)) * add delete model ([ca6fe4c9](https://github.com/lykmapipo/mongoose-connection/commit/ca6fe4c9686f0e5a66fe0823f87a1190035e7173)) * add sync indexes ([940247da](https://github.com/lykmapipo/mongoose-connection/commit/940247daabaa9c5cc98a480f761a05a360815a17)) * add clear database ([f1f8e6d7](https://github.com/lykmapipo/mongoose-connection/commit/f1f8e6d7cb0a2de02c1f1bdf6b4d11f1e5b7d8f0)) * add drop database ([2d408117](https://github.com/lykmapipo/mongoose-connection/commit/2d4081176342b9bb61d58429d427c19d76d771c7)) * add disconnect ([fdcf67f2](https://github.com/lykmapipo/mongoose-connection/commit/fdcf67f2cfe04df1bf0ff691bf76f284d800abec)) * implement connect ([e3282297](https://github.com/lykmapipo/mongoose-connection/commit/e3282297c5de91fbf0c32afa0a0f72c4dbb7a69b)) * add deleteModels ([74ff344e](https://github.com/lykmapipo/mongoose-connection/commit/74ff344e6ada56871bf995e1723232d42521d66f)) * add createModel ([949af8ea](https://github.com/lykmapipo/mongoose-connection/commit/949af8ea4e9fd85e2aca77b7b94f936abbd1b027)) * add sub-schema creator ([1e4d8e4d](https://github.com/lykmapipo/mongoose-connection/commit/1e4d8e4de2807cf5c53bbe08bb30f9a43a0b8207)) * add root schema creator ([0790417b](https://github.com/lykmapipo/mongoose-connection/commit/0790417bcdd7dac9791776c2e278f89d4ab40096)) * get connection registered models ([2f80acf6](https://github.com/lykmapipo/mongoose-connection/commit/2f80acf6385d0c905fd1a9a93ab59012e7579f9d)) * add safe get/register model ([50c7ca16](https://github.com/lykmapipo/mongoose-connection/commit/50c7ca166f6129777c35c42b1226d0f6fbfd1284)) * add model instance check ([5d2ad74f](https://github.com/lykmapipo/mongoose-connection/commit/5d2ad74f944c7465b616defaedac419cd52b1631)) * add schema, query, model & aggregate instance check ([011dbdec](https://github.com/lykmapipo/mongoose-connection/commit/011dbdec534e8fb2cb6dce02ffd434da008a3efc)) * expose debug & connection check ([e6e3ba1f](https://github.com/lykmapipo/mongoose-connection/commit/e6e3ba1ff1bad26c6fb6c3bd1864b4f8e204b78e)) * **constants:** expose common schema & sub-schema options ([89b3bc13](https://github.com/lykmapipo/mongoose-connection/commit/89b3bc130cd6ade3e1b3085133251576e601e4e4)) ##### Refactors * use latest common apis ([8810e63a](https://github.com/lykmapipo/mongoose-connection/commit/8810e63a5d67717d4f78ad3628a7bc67f296de19)) * **helpers:** * re-organize exports ([4bdb29eb](https://github.com/lykmapipo/mongoose-connection/commit/4bdb29eb4ade1838c348fd9084085c428b4fe72c)) * merge deleteModel & deleteModels ([a3a4105f](https://github.com/lykmapipo/mongoose-connection/commit/a3a4105f70ba8bf7ed821cb0459fd89093d152ef)) * use modelNames ([be3ff376](https://github.com/lykmapipo/mongoose-connection/commit/be3ff376afeeb78a1ec55de2f1d25b421c792697)) ##### Tests * **integration:** * re-order execution ([fd246c58](https://github.com/lykmapipo/mongoose-connection/commit/fd246c58183300112df06cbfd286b2e611069900)) * improve clear specs ([3928c2a5](https://github.com/lykmapipo/mongoose-connection/commit/3928c2a53a1b64e590bb112ddedf06cfc2f80ed9)) * improve disconnect specs ([3ea6b5a0](https://github.com/lykmapipo/mongoose-connection/commit/3ea6b5a0cafed6e59c85ab984e31c62a24770c7a)) * add sync indexes specs ([7fd563cf](https://github.com/lykmapipo/mongoose-connection/commit/7fd563cfe2fe5013ab8713a4f28854d9767d628f)) * add connect specs ([96de0aa3](https://github.com/lykmapipo/mongoose-connection/commit/96de0aa3bd278aa8bc71825e93cfabde28bf4d46)) * **unit:** * improve assertion for newer apis ([e37e2cca](https://github.com/lykmapipo/mongoose-connection/commit/e37e2ccabb99b9a9c4ffd2aec2ed61ff46f1bc0d)) * add cases to improve coverage ([d8fa1afe](https://github.com/lykmapipo/mongoose-connection/commit/d8fa1afed9ca549891dd726d9eeaf443f10bcc10)) * **create:** improve create test specs ([dc8eb487](https://github.com/lykmapipo/mongoose-connection/commit/dc8eb4872faca3fafba9a5aec74ea835873efad0))