From bf94e6df8b5f8c1cf3b34ed2866c3cba780f981b Mon Sep 17 00:00:00 2001 From: Abhi Markan <32125108+abhi-markan@users.noreply.github.com> Date: Wed, 22 May 2024 15:47:38 +0100 Subject: [PATCH 1/2] chore(main): release 1.19.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 90 +++++++++++++++++++++++++++++++++++ package-lock.json | 4 +- package.json | 2 +- 4 files changed, 94 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 719ea663..734d799f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.18.0" + ".": "1.19.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 60040419..bff28535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,95 @@ # Changelog +## [1.19.0](https://github.com/UK-Export-Finance/mdm-api/compare/v1.18.0...v1.19.0) (2024-05-22) + + +### Features + +* **ami:** migration to Azure AMI ([9854d57](https://github.com/UK-Export-Finance/mdm-api/commit/9854d573182ddedc6e521343d4b23b7b720754fd)) +* **ami:** migration to Azure AMI ([#514](https://github.com/UK-Export-Finance/mdm-api/issues/514)) ([bfeaa1e](https://github.com/UK-Export-Finance/mdm-api/commit/bfeaa1e190b1872e346a5866a5df778a859f2f0f)) +* **APIM-344:** added test to redact using regex in 'redactStringsInLogArgs' ([709477d](https://github.com/UK-Export-Finance/mdm-api/commit/709477d1ce6a8a8638be08522af57e3cf2cf94d1)) +* **APIM-344:** changed redaction in crashed bootstrap and changed redaction in recovered bootstrap ([3a3b646](https://github.com/UK-Export-Finance/mdm-api/commit/3a3b64687187fc3f4c8406da5399ef8135b6a1d1)) +* **APIM-344:** fix 2 PR feedback items, change comment and var type ([da02c07](https://github.com/UK-Export-Finance/mdm-api/commit/da02c071096e7c1ba07bc90b9e1b06a77829357e)) +* **APIM-344:** handle sensitive details in log messages ([#324](https://github.com/UK-Export-Finance/mdm-api/issues/324)) ([2e5a948](https://github.com/UK-Export-Finance/mdm-api/commit/2e5a948fccee916518bc5e2c07c267071966bf30)) +* **APIM-344:** unit test for logger class ConsoleLoggerWithRedact ([4950a04](https://github.com/UK-Export-Finance/mdm-api/commit/4950a0487933cd1797639df1c27526b0cf1de2ec)) +* **APIM-344:** use process variable to enable/disable redacting at bootstrap ([f1c101a](https://github.com/UK-Export-Finance/mdm-api/commit/f1c101a8afc3789c5e131be93a139511b26a333d)) +* **APIM-468:** change how integer config values are parsed ([94dffdd](https://github.com/UK-Export-Finance/mdm-api/commit/94dffdd43b93549b1e549d2935d93aecbba67e12)) +* **APIM-468:** change how integer config values are parsed ([#357](https://github.com/UK-Export-Finance/mdm-api/issues/357)) ([ee24d08](https://github.com/UK-Export-Finance/mdm-api/commit/ee24d08bcf636ec2c118dd7ce30f55e9de411f58)) +* **APIM-468:** copying missed unit test for get-int-config helper ([9a2a452](https://github.com/UK-Export-Finance/mdm-api/commit/9a2a4522602e0b1d9ce42b0a7eeef544c3f74157)) +* **APIM-468:** merge main branch ([2ec2c5f](https://github.com/UK-Export-Finance/mdm-api/commit/2ec2c5f800b356aea6df9f64c186edf87a87b0ca)) +* **APIM-468:** removed undefined return var type ([835b65f](https://github.com/UK-Export-Finance/mdm-api/commit/835b65fd9ec6bf0450afdfca62345b97a2a9adbe)) +* **APIM-468:** renaming section in unit test ([1b5cfe3](https://github.com/UK-Export-Finance/mdm-api/commit/1b5cfe361914ed4c72af053c40c424c56caba3a8)) +* **apim-538:** add environment variable for log format ([#337](https://github.com/UK-Export-Finance/mdm-api/issues/337)) ([fc54db2](https://github.com/UK-Export-Finance/mdm-api/commit/fc54db25340f8ac2c5838c8c710d5946e834da36)) +* **APIM-538:** update single line log format env var ([#365](https://github.com/UK-Export-Finance/mdm-api/issues/365)) ([957c95a](https://github.com/UK-Export-Finance/mdm-api/commit/957c95ad5c88485cb064100624d89d9631a42705)) +* **APIM-582:** remove unused endpoint GET /constants/spi ([04cac62](https://github.com/UK-Export-Finance/mdm-api/commit/04cac627359f1611a3a8ffa82b2f70edc368a8b9)) +* **APIM-582:** remove unused endpoint GET /constants/spi ([#427](https://github.com/UK-Export-Finance/mdm-api/issues/427)) ([b431841](https://github.com/UK-Export-Finance/mdm-api/commit/b431841c65c5b181cbf5a1d1b05a9fe5c4683264)) +* **DTFS-7052:** added GET `/geospatial/addresses/postcode` endpoint for Ordnance Survey API data ([#804](https://github.com/UK-Export-Finance/mdm-api/issues/804)) ([4963371](https://github.com/UK-Export-Finance/mdm-api/commit/496337123accb88225c1cb1d159d86621eae7b7b)) +* **DTFS2-7049:** adding new env variables to docker-compose.yml ([3ca57f0](https://github.com/UK-Export-Finance/mdm-api/commit/3ca57f0cfdbddf1ac1285164b0aa2c214e04a429)) +* **DTFS2-7052:** actioning PR comments ([e012eb4](https://github.com/UK-Export-Finance/mdm-api/commit/e012eb4a7912dcb254bfa0e7c2f5d2794f11ab58)) +* **DTFS2-7052:** actioning PR comments ([7d15b07](https://github.com/UK-Export-Finance/mdm-api/commit/7d15b07ef4126f99ffcf6189deac2b2391633edd)) +* **DTFS2-7052:** adding constants and examples ([a3d5433](https://github.com/UK-Export-Finance/mdm-api/commit/a3d54338610f50f4824d6c6eeffa50ebdb6e91a2)) +* **DTFS2-7052:** adding typescript include for json files, to satify lint. I added big examples to json files ([0b79772](https://github.com/UK-Export-Finance/mdm-api/commit/0b79772256a36fc8e5c9b38e3f67a0433984f2ab)) +* **DTFS2-7052:** api-tests for geospatial/get-address-by-postcode ([c8cb1bc](https://github.com/UK-Export-Finance/mdm-api/commit/c8cb1bc98c72f3258f8bc9d498effdfe561ff45b)) +* **DTFS2-7052:** applying Oscars suggestions on my PR ([f68ac66](https://github.com/UK-Export-Finance/mdm-api/commit/f68ac66050ea3e0515378657f4893eb65f933ed4)) +* **DTFS2-7052:** change GET /geospatial/addresses/postcode?postcode= empty response from 200 to 404 ([33c9e65](https://github.com/UK-Export-Finance/mdm-api/commit/33c9e65961e67fdff36c854a7ae9f78c3c1ccd0c)) +* **DTFS2-7052:** change husky install to same way as in DTFS project ([889fe1b](https://github.com/UK-Export-Finance/mdm-api/commit/889fe1b0c12152a2964afbf75cdede3ef1e6b48b)) +* **DTFS2-7052:** changed documentation for .env setting ORDNANCE_SURVEY_URL ([18fdf4a](https://github.com/UK-Export-Finance/mdm-api/commit/18fdf4a7bdfa77cc84a33f4da43b4c6cbab5f86b)) +* **DTFS2-7052:** changed numeric status code 200 to HttpStatus.OK, but just in controller ([3751992](https://github.com/UK-Export-Finance/mdm-api/commit/37519922172ef04acba5ca98d5e24c8039426dcc)) +* **DTFS2-7052:** changing variables to use plural ([c020867](https://github.com/UK-Export-Finance/mdm-api/commit/c020867afb451723a8f7d361cb33ef54566355ad)) +* **DTFS2-7052:** code style improvements based on PR feedback ([38939db](https://github.com/UK-Export-Finance/mdm-api/commit/38939db77917c9679311e6a793bd339b5f817a26)) +* **DTFS2-7052:** comments copy and variable name improvements ([5a0ee93](https://github.com/UK-Export-Finance/mdm-api/commit/5a0ee9342ee2d8505e0e8c08e26b8df67ce37941)) +* **DTFS2-7052:** downgrade @commitlint/cli from 19.3.0 to 18.6.0 ([132d179](https://github.com/UK-Export-Finance/mdm-api/commit/132d17933a3086773a2e0824b9a755ab4964c241)) +* **DTFS2-7052:** fix address line 1 formating ([db50210](https://github.com/UK-Export-Finance/mdm-api/commit/db50210567ef3e3b542daccb4748726476409934)) +* **DTFS2-7052:** fixed lint errors ([17fea54](https://github.com/UK-Export-Finance/mdm-api/commit/17fea546a3cf1e0945e85e653c7829544de41bfc)) +* **DTFS2-7052:** improve address test data ([ff5ac7b](https://github.com/UK-Export-Finance/mdm-api/commit/ff5ac7b19b50398c0c4662ca9886987e460dc783)) +* **DTFS2-7052:** moving address examples to constants ([de7a0e5](https://github.com/UK-Export-Finance/mdm-api/commit/de7a0e59450dc7f0f4ea57bebd8251f560a5b36b)) +* **DTFS2-7052:** moving uk postcode regex to constants and doc improvements ([75b34ac](https://github.com/UK-Export-Finance/mdm-api/commit/75b34ac8c827ee214b219c0c6eff748af79e70a9)) +* **DTFS2-7052:** new API modules and endpoint /api/v1/geospatial/addresses/postcode?postcode=W1A1AA ([2cdd0de](https://github.com/UK-Export-Finance/mdm-api/commit/2cdd0dede07399cf6f8d6f52aa2f5efbcf2759f3)) +* **DTFS2-7052:** new module geospatial ([14a6a08](https://github.com/UK-Export-Finance/mdm-api/commit/14a6a08485888f854935909f4039cd8eb9d261ae)) +* **DTFS2-7052:** package update ([3259347](https://github.com/UK-Export-Finance/mdm-api/commit/32593478c1939697f5d75cea3917716d64711d9d)) +* **DTFS2-7052:** refactor api tests to match TFS and solve type issues ([c91144d](https://github.com/UK-Export-Finance/mdm-api/commit/c91144daa23e806764e5cd80382d1726d4380339)) +* **DTFS2-7052:** removing unused class GetSearchPostcodeOrdnanceSurveyQueryDto ([32aa1ef](https://github.com/UK-Export-Finance/mdm-api/commit/32aa1ef3e41f4cf5e56ae1952b710d4e8a4fc1da)) +* **DTFS2-7052:** renaming enums/geospatial.ts to enums/geospatialCountries.ts ([252b5a1](https://github.com/UK-Export-Finance/mdm-api/commit/252b5a132a04e44df1cc4a66f27f5ff16af67207)) +* **DTFS2-7052:** spelling fix ([4c503ca](https://github.com/UK-Export-Finance/mdm-api/commit/4c503caa0895a0c1b8ba5214dd5aeeeeb57f11a1)) +* **DTFS2-7052:** tests for ordnance survey API endpoint ([837a482](https://github.com/UK-Export-Finance/mdm-api/commit/837a48254d14c6369f1f394aeb2d0646bdeb2ed9)) +* **DTFS2-7052:** tidying up map function ([0da25c3](https://github.com/UK-Export-Finance/mdm-api/commit/0da25c3304cf9491236dbf169092d68972ba1815)) +* **DTFS2-7052:** trying to automate husky run on commit ([5fbf3d7](https://github.com/UK-Export-Finance/mdm-api/commit/5fbf3d78f38c1ce7847b482112ce2815ba2e4c7b)) +* **DTFS2-7052:** trying to automate husky run on commit ([1b6cf30](https://github.com/UK-Export-Finance/mdm-api/commit/1b6cf30cb4e960e64a2efb2b699aed75b61cd4d2)) +* **DTFS2-7052:** typescript type improvement in api-test helper ([6bf5a4d](https://github.com/UK-Export-Finance/mdm-api/commit/6bf5a4d7264d1f388795b679c461f8d753f1b490)) +* **DTFS2-7052:** updating API spec ([15743c0](https://github.com/UK-Export-Finance/mdm-api/commit/15743c043b478d660097194f54c396eebe2c352f)) +* **DTFS2-7052:** updating api spec definition ([fa73657](https://github.com/UK-Export-Finance/mdm-api/commit/fa73657434c73236ae9efa93036283cc110b4c86)) +* **DTFS2-7052:** updating api spec snapshot ([3e215d7](https://github.com/UK-Export-Finance/mdm-api/commit/3e215d726496ffb206c1e1b954efc9c27c4ec685)) +* **DTFS2-7052:** updating spec snapshot ([c7ac787](https://github.com/UK-Export-Finance/mdm-api/commit/c7ac787dba058ab17b95865681d2b9afe7a4e005)) +* **DTFS2-7052:** work in progress of geospatial-get-address api tests ([21f8006](https://github.com/UK-Export-Finance/mdm-api/commit/21f800652587e12cf8cdcd457353b8a163221311)) +* **github-actions:** enable various imperative github actions ([#847](https://github.com/UK-Export-Finance/mdm-api/issues/847)) ([fbfafa9](https://github.com/UK-Export-Finance/mdm-api/commit/fbfafa9d42b98617d12bd83e99c478f5fca971e5)) +* **release-please-v4:** updated release-please to v4 [#491](https://github.com/UK-Export-Finance/mdm-api/issues/491) ([#688](https://github.com/UK-Export-Finance/mdm-api/issues/688)) ([cc07b84](https://github.com/UK-Export-Finance/mdm-api/commit/cc07b84ba1b78f8f4f5b0de1bd7052acc8365cb0)) +* **template:** pull request template ([b8506bb](https://github.com/UK-Export-Finance/mdm-api/commit/b8506bb391d090335b6f8c2ce3a54e9112325f06)) +* **template:** pull request template ([#624](https://github.com/UK-Export-Finance/mdm-api/issues/624)) ([847bdeb](https://github.com/UK-Export-Finance/mdm-api/commit/847bdebdf2880038ad4c2085e55d764bd1380e89)) + + +### Bug Fixes + +* **ci:** run ci with legacy-peer-deps argument ([d77d8f3](https://github.com/UK-Export-Finance/mdm-api/commit/d77d8f32282a8c673e6977d6ecbd08acff8be488)) +* **deps:** update all ([#396](https://github.com/UK-Export-Finance/mdm-api/issues/396)) ([f851b7b](https://github.com/UK-Export-Finance/mdm-api/commit/f851b7b87dbd04bf8f3178ac52d1a06d0849f024)) +* **deps:** update all ([#461](https://github.com/UK-Export-Finance/mdm-api/issues/461)) ([6bf386c](https://github.com/UK-Export-Finance/mdm-api/commit/6bf386cb43883aa78c9aa89886da45c5a6d43f77)) +* **deps:** update all ([#469](https://github.com/UK-Export-Finance/mdm-api/issues/469)) ([096b68b](https://github.com/UK-Export-Finance/mdm-api/commit/096b68b88e569fa9e2d0d5fa333ce03b7d99a73b)) +* **deps:** update dependency @nestjs/swagger to v7.1.2 ([#331](https://github.com/UK-Export-Finance/mdm-api/issues/331)) ([db807a6](https://github.com/UK-Export-Finance/mdm-api/commit/db807a68f5020c839f890c2d6b2b525e6ed6ffef)) +* **deps:** update dependency mssql to v10 ([#463](https://github.com/UK-Export-Finance/mdm-api/issues/463)) ([993410d](https://github.com/UK-Export-Finance/mdm-api/commit/993410d6c5d151640eb774e302cc3827999bbf10)) +* **deps:** update dependency tslib to v2.6.1 ([#338](https://github.com/UK-Export-Finance/mdm-api/issues/338)) ([824cc52](https://github.com/UK-Export-Finance/mdm-api/commit/824cc5252162820ba404f755f2083f13195ac9bb)) +* **deps:** upgrade pino-http to 10.0.0 ([#888](https://github.com/UK-Export-Finance/mdm-api/issues/888)) ([fac01d4](https://github.com/UK-Export-Finance/mdm-api/commit/fac01d4a38179c673dd213e4dde2a1af8d353b05)) +* **env:** updated .env.sample ([bd3f594](https://github.com/UK-Export-Finance/mdm-api/commit/bd3f5945bd3d9ba2c093dcf87e1849df7f22896b)) +* **env:** updated `.env.sample` ([#516](https://github.com/UK-Export-Finance/mdm-api/issues/516)) ([c09f145](https://github.com/UK-Export-Finance/mdm-api/commit/c09f1457786e460e474e296c96cd316aaa08787e)) +* **format:** formatting fixes ([b14807a](https://github.com/UK-Export-Finance/mdm-api/commit/b14807a3f1edd9f88c56f3c99a1df8cd09bca893)) +* **format:** Formatting fixes ([#517](https://github.com/UK-Export-Finance/mdm-api/issues/517)) ([baa3713](https://github.com/UK-Export-Finance/mdm-api/commit/baa3713e3a057385be08d6d58e94ab66c6101658)) +* **gitignore:** environment variable introduction ([#364](https://github.com/UK-Export-Finance/mdm-api/issues/364)) ([3336d22](https://github.com/UK-Export-Finance/mdm-api/commit/3336d220d7823b1f27620c37ab353e0cf6e6384f)) +* **iac:** ACR ([#343](https://github.com/UK-Export-Finance/mdm-api/issues/343)) ([51d2316](https://github.com/UK-Export-Finance/mdm-api/commit/51d2316707eb3073c67c2eccd14dd8d3194b9a0f)) +* **premium-schedule:** added 0 and 4 as acceptable inputs ([#440](https://github.com/UK-Export-Finance/mdm-api/issues/440)) ([270b405](https://github.com/UK-Export-Finance/mdm-api/commit/270b4057fa292a2e39fe3d2cd4910d85a10990fc)) +* **release-please-version:** set version to v1.17.0 ([#689](https://github.com/UK-Export-Finance/mdm-api/issues/689)) ([90c6b08](https://github.com/UK-Export-Finance/mdm-api/commit/90c6b08f30428a220fab8ec00052b92bb2d2345b)) +* **release:** release version manager ([#532](https://github.com/UK-Export-Finance/mdm-api/issues/532)) ([8a2a3a2](https://github.com/UK-Export-Finance/mdm-api/commit/8a2a3a2fca2a2b2d1eb5f31976a2ca5c78cdca50)) +* **spellcheck:** added spellcheck to the pipeline ([#511](https://github.com/UK-Export-Finance/mdm-api/issues/511)) ([8b84855](https://github.com/UK-Export-Finance/mdm-api/commit/8b8485522796db2b1d3056d643345e41032c3a12)) +* **tsconfig:** fixed tsconfig file ([d8df948](https://github.com/UK-Export-Finance/mdm-api/commit/d8df948e1d209a0e6319bad5acb237f669636db1)) +* **tsconfig:** tsconfig file fix ([e470ec5](https://github.com/UK-Export-Finance/mdm-api/commit/e470ec5f342033c21232c2b6721d6021eeb631fb)) + ## [1.18.0](https://github.com/UK-Export-Finance/mdm-api/compare/v1.17.0...v1.18.0) (2024-05-22) diff --git a/package-lock.json b/package-lock.json index 165f2bcf..5731c502 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mdm-api", - "version": "1.18.0", + "version": "1.19.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mdm-api", - "version": "1.18.0", + "version": "1.19.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 5ad52cf1..fb57951c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdm-api", - "version": "1.18.0", + "version": "1.19.0", "private": true, "description": "Master Data Management API", "license": "MIT", From 4a8ea94ff2d7d74248e74b3db456f2c9520e4020 Mon Sep 17 00:00:00 2001 From: Abhi Markan Date: Wed, 22 May 2024 16:49:22 +0100 Subject: [PATCH 2/2] fix(release-please): spelling fix --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bff28535..9be6c4dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ * **DTFS2-7052:** actioning PR comments ([e012eb4](https://github.com/UK-Export-Finance/mdm-api/commit/e012eb4a7912dcb254bfa0e7c2f5d2794f11ab58)) * **DTFS2-7052:** actioning PR comments ([7d15b07](https://github.com/UK-Export-Finance/mdm-api/commit/7d15b07ef4126f99ffcf6189deac2b2391633edd)) * **DTFS2-7052:** adding constants and examples ([a3d5433](https://github.com/UK-Export-Finance/mdm-api/commit/a3d54338610f50f4824d6c6eeffa50ebdb6e91a2)) -* **DTFS2-7052:** adding typescript include for json files, to satify lint. I added big examples to json files ([0b79772](https://github.com/UK-Export-Finance/mdm-api/commit/0b79772256a36fc8e5c9b38e3f67a0433984f2ab)) +* **DTFS2-7052:** adding typescript include for json files, to satisfy lint. I added big examples to json files ([0b79772](https://github.com/UK-Export-Finance/mdm-api/commit/0b79772256a36fc8e5c9b38e3f67a0433984f2ab)) * **DTFS2-7052:** api-tests for geospatial/get-address-by-postcode ([c8cb1bc](https://github.com/UK-Export-Finance/mdm-api/commit/c8cb1bc98c72f3258f8bc9d498effdfe561ff45b)) * **DTFS2-7052:** applying Oscars suggestions on my PR ([f68ac66](https://github.com/UK-Export-Finance/mdm-api/commit/f68ac66050ea3e0515378657f4893eb65f933ed4)) * **DTFS2-7052:** change GET /geospatial/addresses/postcode?postcode= empty response from 200 to 404 ([33c9e65](https://github.com/UK-Export-Finance/mdm-api/commit/33c9e65961e67fdff36c854a7ae9f78c3c1ccd0c))