From 1e4b8bbca2a139a2493ae2e28cb6151d6bbb256e Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Tue, 2 Apr 2024 14:01:21 +0200 Subject: [PATCH 1/5] #516: changelog --- CHANGELOG.md | 63 ++++++++++++++++++++++++++++++----------------- package-lock.json | 21 ++++++++++++++++ 2 files changed, 62 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2b4533a..4f8b23d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +# v0.7.3 +[2024-04-02] + +### Fixes + +* \[[503](https://github.com/MaskingTechnology/jitar/pull/503)] fix(runtime): environment specific loading of Jitar (#503) by Peter van Vliet + +### Chores + +* \[[515](https://github.com/MaskingTechnology/jitar/pull/515)] chore(creator): Jitar updates in templates (#515) by Bas Meeuwissen +* \[[513](https://github.com/MaskingTechnology/jitar/pull/513)] chore(deps): wildcard for internal @jitar package versions (#513) by Bas Meeuwissen +* \[[511](https://github.com/MaskingTechnology/jitar/pull/511)] chore(deps): april update (#511) by Bas Meeuwissen +* \[[508](https://github.com/MaskingTechnology/jitar/pull/508)] chore(deps): fix CVE-2024-29041 (#508) by Bas Meeuwissen +* \[[501](https://github.com/MaskingTechnology/jitar/pull/501)] chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 (#501) by dependabot[bot] +* \[[499](https://github.com/MaskingTechnology/jitar/pull/499)] chore(website): updated social information (#499) by Bas Meeuwissen + +### Other + +* \[[506](https://github.com/MaskingTechnology/jitar/pull/506)] #504: removed unnecessary typing (#506) by Bas Meeuwissen +* \[[502](https://github.com/MaskingTechnology/jitar/pull/502)] #500: refactored constructor (de)serialization strategy (#502) by Peter van Vliet + # v0.7.3 [2024-03-06] @@ -8,6 +29,7 @@ ### Chores +* \[[497](https://github.com/MaskingTechnology/jitar/pull/497)] chore: release version 0.7.3 (#497) by Bas Meeuwissen * \[[492](https://github.com/MaskingTechnology/jitar/pull/492)] npm: bump lerna from 8.0.2 to 8.1.2 (#492) by dependabot[bot] # v0.7.2 @@ -25,7 +47,6 @@ ### Chores * \[[489](https://github.com/MaskingTechnology/jitar/pull/489)] chore: release 0.7.2 (#489) by Peter van Vliet -* \[[478](https://github.com/MaskingTechnology/jitar/pull/478)] chore: release 0.7.1 (#478) by Bas Meeuwissen # v0.7.1 [2024-02-09] @@ -36,7 +57,7 @@ ### Chores -* \[[473](https://github.com/MaskingTechnology/jitar/pull/473)] chore: release 0.7.0 (#473) by Peter van Vliet +* \[[478](https://github.com/MaskingTechnology/jitar/pull/478)] chore: release 0.7.1 (#478) by Bas Meeuwissen # v0.7.0 [2024-02-02] @@ -60,11 +81,11 @@ ### Chores +* \[[473](https://github.com/MaskingTechnology/jitar/pull/473)] chore: release 0.7.0 (#473) by Peter van Vliet * \[[468](https://github.com/MaskingTechnology/jitar/pull/468)] chore(examples): jitar dependency to 'any version' (#468) by Bas Meeuwissen * \[[463](https://github.com/MaskingTechnology/jitar/pull/463)] chore(deps): bump cpx2 from 6.0.1 to 7.0.1 (#463) by dependabot[bot] * \[[459](https://github.com/MaskingTechnology/jitar/pull/459)] chore(deps): februari updates (#459) by Bas Meeuwissen * \[[447](https://github.com/MaskingTechnology/jitar/pull/447)] chore(deps): updated vite dependency (#447) by Bas Meeuwissen -* \[[443](https://github.com/MaskingTechnology/jitar/pull/443)] chore(release): v0.6.0 (#443) by Peter van Vliet ### Other @@ -81,8 +102,8 @@ ### Chores +* \[[443](https://github.com/MaskingTechnology/jitar/pull/443)] chore(release): v0.6.0 (#443) by Peter van Vliet * \[[435](https://github.com/MaskingTechnology/jitar/pull/435)] chore(documentation): Updated readme introduction (#435) by Peter van Vliet -* \[[433](https://github.com/MaskingTechnology/jitar/pull/433)] chore(release): v0.5.1 (#433) by Peter van Vliet # v0.5.1 [2024-01-05] @@ -99,6 +120,7 @@ ### Chores +* \[[433](https://github.com/MaskingTechnology/jitar/pull/433)] chore(release): v0.5.1 (#433) by Peter van Vliet * \[[426](https://github.com/MaskingTechnology/jitar/pull/426)] chore(deps): bump rollup (#426) by dependabot[bot] * \[[425](https://github.com/MaskingTechnology/jitar/pull/425)] chore(deps): restricted dependabot (#425) by Bas Meeuwissen * \[[423](https://github.com/MaskingTechnology/jitar/pull/423)] chore(deps): january updates (#423) by Bas Meeuwissen @@ -126,18 +148,6 @@ # v0.4.2 [2023-10-18] -### Features - -* \[[325](https://github.com/MaskingTechnology/jitar/pull/325)] feat(server): custom serializers support (#325) by Bas Meeuwissen -* \[[322](https://github.com/MaskingTechnology/jitar/pull/322)] feat(serialization): added bigint support (#322) by Bas Meeuwissen -* \[[319](https://github.com/MaskingTechnology/jitar/pull/319)] feat(serialization): regexp serialization support (#319) by Bas Meeuwissen - -### Fixes - -* \[[342](https://github.com/MaskingTechnology/jitar/pull/342)] bug(runtime): middleware not executed properly (#342) by Peter van Vliet -* \[[326](https://github.com/MaskingTechnology/jitar/pull/326)] bug(caching): it should not be possible to register a function multiple times (#326) by Bas Meeuwissen -* \[[324](https://github.com/MaskingTechnology/jitar/pull/324)] bug(server): incorrect serialization control at the gateway (#324) by Peter van Vliet - ### Chores * \[[367](https://github.com/MaskingTechnology/jitar/pull/367)] chore(deps): bump postcss from 8.4.23 to 8.4.31 in /documentation (#367) by dependabot[bot] @@ -147,23 +157,32 @@ * \[[358](https://github.com/MaskingTechnology/jitar/pull/358)] npm: bump rollup-plugin-dts from 6.0.0 to 6.0.1 (#358) by dependabot[bot] * \[[357](https://github.com/MaskingTechnology/jitar/pull/357)] chore(deps): updates september (#357) by Peter van Vliet * \[[350](https://github.com/MaskingTechnology/jitar/pull/350)] chore(dependencies): updates (#350) by Peter van Vliet -* \[[343](https://github.com/MaskingTechnology/jitar/pull/343)] chore: release v0.4.1 (#343) by Bas Meeuwissen -* \[[339](https://github.com/MaskingTechnology/jitar/pull/339)] chore(build): added sonar for linting (#339) by Bas Meeuwissen -* \[[336](https://github.com/MaskingTechnology/jitar/pull/336)] chore(deps): bumped dependencies (#336) by Bas Meeuwissen -* \[[318](https://github.com/MaskingTechnology/jitar/pull/318)] chore(build): update linter to eliminate returns of await in async functions (#318) by Bas Meeuwissen -* \[[321](https://github.com/MaskingTechnology/jitar/pull/321)] chore(deps): migrate to lerna 7 (#321) by Bas Meeuwissen # v0.4.1 -[2023-06-21] +[2023-07-25] ### Features +* \[[325](https://github.com/MaskingTechnology/jitar/pull/325)] feat(server): custom serializers support (#325) by Bas Meeuwissen +* \[[322](https://github.com/MaskingTechnology/jitar/pull/322)] feat(serialization): added bigint support (#322) by Bas Meeuwissen +* \[[319](https://github.com/MaskingTechnology/jitar/pull/319)] feat(serialization): regexp serialization support (#319) by Bas Meeuwissen * \[[317](https://github.com/MaskingTechnology/jitar/pull/317)] feat(runtime): configure active health checks (#317) by Bas Meeuwissen * \[[316](https://github.com/MaskingTechnology/jitar/pull/316)] feat(runtime): added timeout option to health checks (#316) by Bas Meeuwissen * \[[312](https://github.com/MaskingTechnology/jitar/pull/312)] feat(runtime): improved health check system (#312) by Bas Meeuwissen +### Fixes + +* \[[342](https://github.com/MaskingTechnology/jitar/pull/342)] bug(runtime): middleware not executed properly (#342) by Peter van Vliet +* \[[326](https://github.com/MaskingTechnology/jitar/pull/326)] bug(caching): it should not be possible to register a function multiple times (#326) by Bas Meeuwissen +* \[[324](https://github.com/MaskingTechnology/jitar/pull/324)] bug(server): incorrect serialization control at the gateway (#324) by Peter van Vliet + ### Chores +* \[[343](https://github.com/MaskingTechnology/jitar/pull/343)] chore: release v0.4.1 (#343) by Bas Meeuwissen +* \[[339](https://github.com/MaskingTechnology/jitar/pull/339)] chore(build): added sonar for linting (#339) by Bas Meeuwissen +* \[[336](https://github.com/MaskingTechnology/jitar/pull/336)] chore(deps): bumped dependencies (#336) by Bas Meeuwissen +* \[[318](https://github.com/MaskingTechnology/jitar/pull/318)] chore(build): update linter to eliminate returns of await in async functions (#318) by Bas Meeuwissen +* \[[321](https://github.com/MaskingTechnology/jitar/pull/321)] chore(deps): migrate to lerna 7 (#321) by Bas Meeuwissen * \[[307](https://github.com/MaskingTechnology/jitar/pull/307)] npm: bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0 (#307) by dependabot[bot] * \[[308](https://github.com/MaskingTechnology/jitar/pull/308)] npm: bump mongodb from 5.4.0 to 5.5.0 (#308) by dependabot[bot] * \[[313](https://github.com/MaskingTechnology/jitar/pull/313)] build(deps): bump vite from 4.3.5 to 4.3.9 in /documentation (#313) by dependabot[bot] diff --git a/package-lock.json b/package-lock.json index 529e8c40..70b32f6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -58,6 +58,7 @@ } }, "examples/apps/contact-list": { + "name": "jitar-contact-list", "version": "0.0.0", "dependencies": { "jitar": "*", @@ -75,16 +76,19 @@ } }, "examples/concepts/access-protection": { + "name": "jitar-access-protection-example", "dependencies": { "jitar": "*" } }, "examples/concepts/construction": { + "name": "jitar-construction-example", "dependencies": { "jitar": "*" } }, "examples/concepts/cors": { + "name": "jitar-cors-example", "dependencies": { "express": "*", "jitar": "*" @@ -96,51 +100,61 @@ } }, "examples/concepts/data-transportation": { + "name": "jitar-data-transportation-example", "dependencies": { "jitar": "*" } }, "examples/concepts/error-handling": { + "name": "jitar-error-handling-example", "dependencies": { "jitar": "*" } }, "examples/concepts/health-checks": { + "name": "jitar-health-checks-example", "dependencies": { "jitar": "*" } }, "examples/concepts/hello-world": { + "name": "jitar-helloworld-example", "dependencies": { "jitar": "*" } }, "examples/concepts/load-balancing": { + "name": "jitar-load-balancing-example", "dependencies": { "jitar": "*" } }, "examples/concepts/middleware": { + "name": "jitar-middleware-example", "dependencies": { "jitar": "*" } }, "examples/concepts/multi-version": { + "name": "jitar-multi-version-example", "dependencies": { "jitar": "*" } }, "examples/concepts/node-client": { + "name": "jitar-node-client-example", "dependencies": { "jitar": "*" } }, "examples/concepts/overrides": { + "name": "jitar-overrides-example", "dependencies": { "jitar": "*" } }, "examples/concepts/segmentation": { + "name": "jitar-segmentation-example", "dependencies": { "jitar": "*" } @@ -13831,6 +13845,7 @@ } }, "packages/caching": { + "name": "@jitar/caching", "version": "0.7.2", "license": "MIT", "dependencies": { @@ -13924,6 +13939,7 @@ } }, "packages/plugin-vite": { + "name": "@jitar/plugin-vite", "version": "0.7.1", "license": "MIT", "dependencies": { @@ -13939,10 +13955,12 @@ } }, "packages/reflection": { + "name": "@jitar/reflection", "version": "0.7.1", "license": "MIT" }, "packages/runtime": { + "name": "@jitar/runtime", "version": "0.7.2", "license": "MIT", "dependencies": { @@ -13950,6 +13968,7 @@ } }, "packages/serialization": { + "name": "@jitar/serialization", "version": "0.7.1", "license": "MIT", "dependencies": { @@ -13957,6 +13976,7 @@ } }, "packages/server-nodejs": { + "name": "@jitar/server-nodejs", "version": "0.7.3", "license": "MIT", "dependencies": { @@ -14025,6 +14045,7 @@ } }, "tools/eslint-plugin": { + "name": "eslint-plugin-jitar", "version": "0.0.1" } } From e099e29527934d2709bbcb7da5c84bf04fe8bd6c Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Tue, 2 Apr 2024 14:06:02 +0200 Subject: [PATCH 2/5] #516: lerna publish --- lerna.json | 2 +- package-lock.json | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lerna.json b/lerna.json index 1cb686b6..d8117235 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.7.3", + "version": "0.7.4", "command": { "version": { "message": "chore(release): publish %s" diff --git a/package-lock.json b/package-lock.json index 70b32f6e..e71678ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13846,15 +13846,15 @@ }, "packages/caching": { "name": "@jitar/caching", - "version": "0.7.2", + "version": "0.7.4", "license": "MIT", "dependencies": { "@jitar/reflection": "*", - "@jitar/runtime": "*" + "@jitar/runtime": "^0.7.4" } }, "packages/create-jitar": { - "version": "0.7.1", + "version": "0.7.4", "license": "MIT", "dependencies": { "kolorist": "^1.8.0", @@ -13869,7 +13869,7 @@ } }, "packages/jitar": { - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "dependencies": { "express": "^4.18.2", @@ -13882,8 +13882,8 @@ "zod": "^3.22.4" }, "devDependencies": { - "@jitar/runtime": "*", - "@jitar/server-nodejs": "*" + "@jitar/runtime": "^0.7.4", + "@jitar/server-nodejs": "^0.7.4" }, "engines": { "node": ">=20.0" @@ -13940,7 +13940,7 @@ }, "packages/plugin-vite": { "name": "@jitar/plugin-vite", - "version": "0.7.1", + "version": "0.7.4", "license": "MIT", "dependencies": { "@jitar/reflection": "*" @@ -13961,15 +13961,15 @@ }, "packages/runtime": { "name": "@jitar/runtime", - "version": "0.7.2", + "version": "0.7.4", "license": "MIT", "dependencies": { - "@jitar/serialization": "*" + "@jitar/serialization": "^0.7.4" } }, "packages/serialization": { "name": "@jitar/serialization", - "version": "0.7.1", + "version": "0.7.4", "license": "MIT", "dependencies": { "@jitar/reflection": "*" @@ -13977,11 +13977,11 @@ }, "packages/server-nodejs": { "name": "@jitar/server-nodejs", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "dependencies": { - "@jitar/caching": "*", - "@jitar/runtime": "*", + "@jitar/caching": "^0.7.4", + "@jitar/runtime": "^0.7.4", "express": "^4.19.2", "express-http-proxy": "^2.0.0", "fs-extra": "^11.2.0", From 6a55f5acbb61bc8bfbb900e1001f060709b75b5d Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Tue, 2 Apr 2024 14:20:45 +0200 Subject: [PATCH 3/5] #516: updated version --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f8b23d0..65a18858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# v0.7.3 +# v0.7.4 [2024-04-02] ### Fixes From 22fa5045dcb4dd46270e44f3e4fa8bf4235baf4c Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Tue, 2 Apr 2024 14:33:10 +0200 Subject: [PATCH 4/5] #516: package versioning --- package-lock.json | 16 ++++++++-------- package.json | 2 +- packages/caching/package.json | 2 +- packages/create-jitar/package.json | 2 +- packages/jitar/package.json | 2 +- packages/plugin-vite/package.json | 2 +- packages/runtime/package.json | 2 +- packages/serialization/package.json | 2 +- packages/server-nodejs/package.json | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index e71678ab..37490e93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jitar-monorepo", - "version": "0.7.3", + "version": "0.7.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jitar-monorepo", - "version": "0.7.3", + "version": "0.7.4", "license": "MIT", "workspaces": [ "packages/caching", @@ -13850,7 +13850,7 @@ "license": "MIT", "dependencies": { "@jitar/reflection": "*", - "@jitar/runtime": "^0.7.4" + "@jitar/runtime": "*" } }, "packages/create-jitar": { @@ -13882,8 +13882,8 @@ "zod": "^3.22.4" }, "devDependencies": { - "@jitar/runtime": "^0.7.4", - "@jitar/server-nodejs": "^0.7.4" + "@jitar/runtime": "*", + "@jitar/server-nodejs": "*" }, "engines": { "node": ">=20.0" @@ -13964,7 +13964,7 @@ "version": "0.7.4", "license": "MIT", "dependencies": { - "@jitar/serialization": "^0.7.4" + "@jitar/serialization": "*" } }, "packages/serialization": { @@ -13980,8 +13980,8 @@ "version": "0.7.4", "license": "MIT", "dependencies": { - "@jitar/caching": "^0.7.4", - "@jitar/runtime": "^0.7.4", + "@jitar/caching": "*", + "@jitar/runtime": "*", "express": "^4.19.2", "express-http-proxy": "^2.0.0", "fs-extra": "^11.2.0", diff --git a/package.json b/package.json index 9636e712..1193002f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jitar-monorepo", - "version": "0.7.3", + "version": "0.7.4", "private": true, "license": "MIT", "type": "module", diff --git a/packages/caching/package.json b/packages/caching/package.json index ebc4888b..b539595b 100644 --- a/packages/caching/package.json +++ b/packages/caching/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/caching", - "version": "0.7.2", + "version": "0.7.4", "description": "JavaScript caching library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/create-jitar/package.json b/packages/create-jitar/package.json index f86e0069..daf6f7ec 100644 --- a/packages/create-jitar/package.json +++ b/packages/create-jitar/package.json @@ -1,6 +1,6 @@ { "name": "create-jitar", - "version": "0.7.1", + "version": "0.7.4", "type": "module", "license": "MIT", "author": "Masking Technology (https://jitar.dev)", diff --git a/packages/jitar/package.json b/packages/jitar/package.json index a54543cc..717020f1 100644 --- a/packages/jitar/package.json +++ b/packages/jitar/package.json @@ -1,6 +1,6 @@ { "name": "jitar", - "version": "0.7.3", + "version": "0.7.4", "description": "Distributed runtime for JavaScript and TypeScript to chop monolithic applications into micros.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/plugin-vite/package.json b/packages/plugin-vite/package.json index 0f438bbe..42902289 100644 --- a/packages/plugin-vite/package.json +++ b/packages/plugin-vite/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/plugin-vite", - "version": "0.7.1", + "version": "0.7.4", "description": "Vite plugin for Jitar.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 1565a6f4..eb8fafcd 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/runtime", - "version": "0.7.2", + "version": "0.7.4", "description": "JavaScript runtime library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/serialization/package.json b/packages/serialization/package.json index ad9d5f43..3c1fdd70 100644 --- a/packages/serialization/package.json +++ b/packages/serialization/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/serialization", - "version": "0.7.1", + "version": "0.7.4", "description": "JavaScript serialization library for the Jitar runtime.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", diff --git a/packages/server-nodejs/package.json b/packages/server-nodejs/package.json index 33dfcb31..e772d7fd 100644 --- a/packages/server-nodejs/package.json +++ b/packages/server-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@jitar/server-nodejs", - "version": "0.7.3", + "version": "0.7.4", "description": "NodeJS server implementation for Jitar.", "author": "Masking Technology (https://jitar.dev)", "license": "MIT", From dd7b09e7b363f418d25a4c1d131bf8b0756fa2b2 Mon Sep 17 00:00:00 2001 From: Bas Meeuwissen Date: Tue, 2 Apr 2024 14:45:53 +0200 Subject: [PATCH 5/5] #516: release manual --- RELEASE.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 00000000..23c10ebe --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,12 @@ +To do consistent releases, we use the following steps: + +1. Create a new issue and branch. +1. Update the version number for the mono repo in the `package.json` file. +1. Update the version number for all packages in the packages directory. +1. Execute command `npm run changelog` to generate a changelog. +1. Commit and push the changes. +1. Execute command `npx lerna publish --no-git-tag-version --no-private` to publish the packages. +1. Commit and push the changes. +1. Create pull request. +1. Merge the pull request. +1. Create a new tag with the version number.