UNPKG

@codetanzania/majifix-common

Version:
226 lines (139 loc) 10.9 kB
#### 0.20.0 (2020-09-14) ##### New Features * add survey workspace ([f1976150](https://github.com/CodeTanzania/majifix-common/commit/f19761504727adb326f2da823addbe6ffdd6636a)) #### 0.19.1 (2019-11-11) ##### Chores * **deps:** * force latest version & audit fix ([a9953c67](https://github.com/CodeTanzania/majifix-common/commit/a9953c676f6d32cf68c07c18cf5266d8ff94aa55)) * force latest version & audit fix ([08cf6a5f](https://github.com/CodeTanzania/majifix-common/commit/08cf6a5f911d824d320bddc6f3a003811235c89d)) #### 0.19.0 (2019-10-26) ##### Chores * **deps:** force latest version & audit fix ([b7af7dd5](https://github.com/CodeTanzania/majifix-common/commit/b7af7dd509890384edbf1bd743efbe443c00d77c)) ##### New Features * add party relation names & types ([8737d4f6](https://github.com/CodeTanzania/majifix-common/commit/8737d4f6bacfc336742fd37102bbb69c41d09537)) * add workspaces ([e817a209](https://github.com/CodeTanzania/majifix-common/commit/e817a20956d703665f284ec2a03ad39371d3a8cc)) #### 0.18.0 (2019-10-16) ##### Chores * **deps:** * force latest versions ([dd1c189b](https://github.com/CodeTanzania/majifix-common/commit/dd1c189b361046d50e68a2854c010856bbd740bd)) * force latest version & audit fix ([a994b9fe](https://github.com/CodeTanzania/majifix-common/commit/a994b9fe6991de6f2014f1617bb746ca627c27ee)) ##### New Features * add contact methods ([0a41c0f7](https://github.com/CodeTanzania/majifix-common/commit/0a41c0f760b738d19f051a809aa13fb92e021ab7)) * add counter constants ([d67c3878](https://github.com/CodeTanzania/majifix-common/commit/d67c3878640c0fe814b94ca21001dad6d0381864)) * add visibilities ([6a6ecb4a](https://github.com/CodeTanzania/majifix-common/commit/6a6ecb4a6611919f2ad79048d60fea420eacf367)) #### 0.17.0 (2019-08-28) ##### Chores * improve package keywords ([459bfec2](https://github.com/CodeTanzania/majifix-common/commit/459bfec2a79d3c635d93418e06bd00c6573da765)) * ensure mongoose peer dependency ([cf1d0a2e](https://github.com/CodeTanzania/majifix-common/commit/cf1d0a2e058ab3d00deb3c86fb4804f02d25ad2d)) * **deps:** * force latest version & audit fix ([cce97753](https://github.com/CodeTanzania/majifix-common/commit/cce97753d3fa50fa8d15a9fabfa6151335dfc482)) * force latest version & audit fix ([3ea9dc05](https://github.com/CodeTanzania/majifix-common/commit/3ea9dc05d5676859db85a6cf7fceb565395e3a0e)) * **lint:** ignore apidoc.js ([363509cf](https://github.com/CodeTanzania/majifix-common/commit/363509cf3e651d36d3e41c225fec450526d4e261)) * **configs:** * update eslint configs ([f99d552a](https://github.com/CodeTanzania/majifix-common/commit/f99d552aed3ab70997aac2d20388c8772855148e)) * update prettier configs ([0fa84d9a](https://github.com/CodeTanzania/majifix-common/commit/0fa84d9abc4ee87413ab7626aa6e48876dc67c0c)) * update npm files ([747586a9](https://github.com/CodeTanzania/majifix-common/commit/747586a969633718ba0e05a35862a3fa145214ca)) * update git files ([9205d01b](https://github.com/CodeTanzania/majifix-common/commit/9205d01b2b26a895bf47610faea9bd7da340a256)) * **ci:** update travis configs ([beb9e0bb](https://github.com/CodeTanzania/majifix-common/commit/beb9e0bb42f01db29f2d08ea6a613501a2e8a536)) ##### Documentation Changes * update requirements version ([ba20520b](https://github.com/CodeTanzania/majifix-common/commit/ba20520bcf1b1295aabaa1c8bf4b1f07c48d7c1f)) * update status badges ([5a1a8358](https://github.com/CodeTanzania/majifix-common/commit/5a1a8358fc323ff4a880441bcf929de9674a9c1d)) #### 0.16.0 (2019-08-25) ##### Chores * **deps:** force latest version & audit fix ([f173dec9](https://github.com/CodeTanzania/majifix-common/commit/f173dec9855428768153acdc9f4f7da5e59aaf1b)) ##### New Features * add alert model and collection name ([cfba7dc3](https://github.com/CodeTanzania/majifix-common/commit/cfba7dc3598230f5bb0b780a4120beab47465ac1)) #### 0.15.1 (2019-08-20) ##### Chores * **deps:** force latest version & audit fix ([5c394786](https://github.com/CodeTanzania/majifix-common/commit/5c3947867f325b4513c0ff211c037522d0018776)) #### 0.15.0 (2019-08-13) ##### Refactors * simplify checkDependenciesFor & improve its specs ([d2194f12](https://github.com/CodeTanzania/majifix-common/commit/d2194f122d5807ddffca08ab8162c3fc1c6b6b50)) ##### Tests * improve checkDepencyFor specs ([33e75925](https://github.com/CodeTanzania/majifix-common/commit/33e75925166a125cfe0bbf652ff8c04da2368125)) * add mongoose test helpers ([6675f8e7](https://github.com/CodeTanzania/majifix-common/commit/6675f8e7d28b22e78094a0f94300eb9497ea776f)) #### 0.14.1 (2019-08-13) ##### Chores * **deps:** force latest version & audit fix ([98882815](https://github.com/CodeTanzania/majifix-common/commit/98882815d814748b8c3fd17a7dc58de4f3c38a4b)) #### 0.14.0 (2019-08-13) ##### Chores * **deps:** * force latest version & audit fix ([bcf09cf4](https://github.com/CodeTanzania/majifix-common/commit/bcf09cf4bdf82c22c5fb4e469ce2d19a9b9deabb)) * force latest version & audit fix ([8586d9e6](https://github.com/CodeTanzania/majifix-common/commit/8586d9e65df6fc4944c7d3ebeb739aae351a69c7)) * **ci:** force latest node version ([90270d40](https://github.com/CodeTanzania/majifix-common/commit/90270d4077898684086066b851375d1b27cd0db1)) ##### Documentation Changes * update build status badge to use develop branch ([3e617f09](https://github.com/CodeTanzania/majifix-common/commit/3e617f09181fb980063e924c94f68d2ae1b3d701)) * update usage docs ([9365dfcc](https://github.com/CodeTanzania/majifix-common/commit/9365dfccfbcc2238fb74f208b17fdb7c506a1e79)) * improve usage docs for es6 ([dc971927](https://github.com/CodeTanzania/majifix-common/commit/dc971927ee4da2d6316c89a019d3b9b8bd1bc036)) * update usage docs ([11c0e420](https://github.com/CodeTanzania/majifix-common/commit/11c0e4205c193dd1d185c34cd1eb77fe87cbac9b)) * update status badges ([f682a849](https://github.com/CodeTanzania/majifix-common/commit/f682a849b8bb17e8107f5e02e9c987e0fe45e15d)) ##### Refactors * add common path names ([3efb8035](https://github.com/CodeTanzania/majifix-common/commit/3efb80351a0ab91e79bb05539cb48288d59e8c2d)) * remove old package.json ([09372532](https://github.com/CodeTanzania/majifix-common/commit/093725324cac01b6c834ace8147357af01fcc202)) * extract checkDependencyFor ([656f23a1](https://github.com/CodeTanzania/majifix-common/commit/656f23a1e0f1150a7aa9be349dcc1a560e842a49)) * add item & zone model and collection names ([7cd29bcb](https://github.com/CodeTanzania/majifix-common/commit/7cd29bcbf25fb3b2b8bb512e0f24c43b2397b840)) * remove unused helpers ([3a2e7b3d](https://github.com/CodeTanzania/majifix-common/commit/3a2e7b3d6fd71cad5d382781fc1310b45a15ade5)) * add population options ([24f4f398](https://github.com/CodeTanzania/majifix-common/commit/24f4f3986f662f0c652ee2e12370f5f72919d0b5)) * expose unlocalize helper ([785d57c7](https://github.com/CodeTanzania/majifix-common/commit/785d57c78ba26de253e40c9a2e38c9ca5fa15d5a)) * mark predefine options to use models and collections name ([496fd8ea](https://github.com/CodeTanzania/majifix-common/commit/496fd8ea75af129784822f089e60a9a51f6283d3)) * expose collections name ([2c554593](https://github.com/CodeTanzania/majifix-common/commit/2c554593b99d6d979ecd5b7d91a349dc4eaa9524)) * expose common models name ([61e093d1](https://github.com/CodeTanzania/majifix-common/commit/61e093d15b65c666bd6b71eb9b292dba80a99b61)) * start migrate to es6 ([403b5422](https://github.com/CodeTanzania/majifix-common/commit/403b542255e783ac82959435d65e481a1e63cda0)) ##### Tests * add checkDependencyFor a given model instance ([f31881f3](https://github.com/CodeTanzania/majifix-common/commit/f31881f3c792dc43852e2f0b1d111f13086925f0)) #### 0.13.0 (2019-07-27) ##### Chores - **deps:** force latest version & audit fix ([b0667fa1](https://github.com/CodeTanzania/majifix-common/commit/b0667fa1770898dd4c01c77ae53dd185d2300d82)) ##### Documentation Changes - **changelog:** generate latest release notes ([a0667745](https://github.com/CodeTanzania/majifix-common/commit/a0667745bb504acf06c7d72ff624f1278b19a03b)) #### 0.12.4 (2019-05-21) #### 0.12.3 (2019-05-21) ##### Chores - **deps:** fix duplicates ([44d38ac6](https://github.com/CodeTanzania/majifix-common/commit/44d38ac60e99fab2c84be58e11039569b36fa901)) ##### Documentation Changes - **changelog:** generate latest release notes ([21616504](https://github.com/CodeTanzania/majifix-common/commit/21616504eb69ee98ca0ccbcdfc70de4ffb74c74c)) #### 0.12.3 (2019-05-21) #### 0.12.2 (2019-05-21) #### 0.12.1 (2019-04-15) ##### Chores - update dependencies ([e6aebef0](https://github.com/CodeTanzania/majifix-common/commit/e6aebef05d90693c180c18616b9dcebbc16e5c1e)) - remove @lykmapipo/env form dev dependencies ([dde3950e](https://github.com/CodeTanzania/majifix-common/commit/dde3950e2f921afba36c5e63980a4a7d8b6f968d)) - update package version to 0.12.1 ([d5dfa548](https://github.com/CodeTanzania/majifix-common/commit/d5dfa548351cbebb5f9044005a22b79122868209)) - add support for prettier ([639573e8](https://github.com/CodeTanzania/majifix-common/commit/639573e85c179ef3409293b1cd3fb4112f009446)) - **package.json:** add scripts and configs for linting commit message ([499a5206](https://github.com/CodeTanzania/majifix-common/commit/499a5206bb88d6b5140f9d75790c59d4b59f17dd)) ##### Code Style Changes - update changelog model name to Changelog ([8c596f37](https://github.com/CodeTanzania/majifix-common/commit/8c596f3749053b45c94607774c55631fd2ff5980)) #### 0.12.0 (2019-04-08) ##### Chores - re-organize peer dependencies ([46683597](https://github.com/CodeTanzania/majifix-common/commit/46683597f6ce8d89b2832eebce2c98c2cf79c1e3)) ##### Refactors - drop env to use @lykmapipo/env utilities ([c32336d2](https://github.com/CodeTanzania/majifix-common/commit/c32336d27aa0ea4e60812333e065fd2acc9b47cd)) # 0.11.1 / 16-10-2018 - Force latest dependencies # 0.9.1 / 09-09-2018 - force latest dependencies - run security audit fix # 0.9.0 / 26-08-2018 - Use @lyykmapipo/env as core env provider - Force latest dependencies # 0.8.0 / 05-08-2018 - Refactor env with shotcuts - Make env a functional factory - Add getString, getNumber, getArray, getStrings and getNumbers helpers # v0.7.0 / 30-07-2018 - Refactor `getArray` as utility helper to get array of unique values of specified environment variable # v0.4.1 / 2018-06-12 - Use latest mongoose version - Add `schema#unlocalize` to flat schema path value # v0.4.0 / 2018-06-09 - Expose account and content models name as constants - Parse allowed content types from `.env` - Force latest dependencies - Add `phone#to164` to format mobile phone number to e.164 # v0.3.0 / 2018-06-08 - Expose models name as constants - Add get models helper # v0.1.0 / 2018-05-22 - Common apidoc definitions - Common environment variables access - Common schema options