From 5db3b7948a30ff3a24e438e812bc84bfe1d97216 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Fri, 13 Oct 2023 17:49:16 +0200 Subject: [PATCH] docs: update changelogs for release ci: publish release --- .changeset/bright-dryers-act.md | 5 - .changeset/chilly-goats-cough.md | 5 - .changeset/cold-squids-remain.md | 11 -- .changeset/cool-jars-kiss.md | 8 - .changeset/cuddly-bobcats-roll.md | 11 -- .changeset/dull-news-appear.md | 31 ---- .changeset/fair-colts-explain.md | 5 - .changeset/five-ears-wash.md | 51 ------- .changeset/fluffy-lamps-count.md | 5 - .changeset/forty-eagles-cough.md | 5 - .changeset/fuzzy-walls-greet.md | 13 -- .changeset/giant-crabs-cheer.md | 25 --- .changeset/gorgeous-flowers-reflect.md | 8 - .changeset/healthy-steaks-shop.md | 34 ----- .changeset/honest-sheep-train.md | 30 ---- .changeset/late-zoos-breathe.md | 5 - .changeset/loud-buttons-repeat.md | 5 - .changeset/moody-parrots-develop.md | 5 - .changeset/nasty-ghosts-love.md | 5 - .changeset/neat-hats-trade.md | 31 ---- .changeset/new-pianos-joke.md | 5 - .changeset/old-bananas-live.md | 6 - .changeset/orange-knives-happen.md | 5 - .changeset/pink-sheep-relax.md | 9 -- .changeset/pre.json | 68 --------- .changeset/pretty-timers-complain.md | 8 - .changeset/pretty-wombats-double.md | 13 -- .changeset/proud-cameras-fail.md | 8 - .changeset/proud-wolves-end.md | 9 -- .changeset/quick-houses-count.md | 7 - .changeset/rare-squids-bake.md | 24 --- .changeset/serious-meals-sin.md | 5 - .changeset/silent-maps-float.md | 29 ---- .changeset/silly-news-punch.md | 5 - .changeset/smart-ghosts-shout.md | 8 - .changeset/soft-donuts-fail.md | 7 - .changeset/sour-carpets-flash.md | 5 - .changeset/sour-coins-visit.md | 7 - .changeset/spicy-snails-sort.md | 5 - .changeset/stale-garlics-share.md | 5 - .changeset/strange-hounds-repair.md | 26 ---- .changeset/tall-ducks-dream.md | 5 - .changeset/tame-mayflies-hug.md | 5 - .changeset/tame-rings-dream.md | 9 -- .changeset/tasty-islands-smell.md | 6 - .changeset/thick-mails-peel.md | 5 - .changeset/thick-weeks-compete.md | 5 - .changeset/thin-camels-give.md | 23 --- .changeset/tidy-buses-reflect.md | 9 -- .changeset/tough-hairs-provide.md | 5 - .changeset/tricky-garlics-hope.md | 5 - .changeset/unlucky-pillows-thank.md | 5 - .changeset/wet-houses-provide.md | 5 - .gitlab-ci.yml | 2 +- backend/backend/CHANGELOG.md | 153 +++++++++++++++++++ backend/backend/package.json | 2 +- backend/database/CHANGELOG.md | 6 + backend/database/package.json | 2 +- backend/proxy/CHANGELOG.md | 96 ++++++++++++ backend/proxy/package.json | 2 +- configuration/backend-config/CHANGELOG.md | 69 +++++++++ configuration/backend-config/package.json | 2 +- configuration/eslint-config/CHANGELOG.md | 86 +++++++++++ configuration/eslint-config/package.json | 2 +- configuration/prettier-config/CHANGELOG.md | 79 ++++++++++ configuration/prettier-config/package.json | 2 +- configuration/projectmanagement/CHANGELOG.md | 121 +++++++++++++++ configuration/projectmanagement/package.json | 2 +- configuration/tsconfig/CHANGELOG.md | 69 +++++++++ configuration/tsconfig/package.json | 2 +- examples/minimal-connector/CHANGELOG.md | 118 ++++++++++++++ examples/minimal-connector/package.json | 2 +- examples/minimal-deployment/CHANGELOG.md | 6 + examples/minimal-deployment/package.json | 2 +- examples/minimal-plugin/CHANGELOG.md | 124 +++++++++++++++ examples/minimal-plugin/package.json | 2 +- frontend/app/CHANGELOG.md | 140 +++++++++++++++++ frontend/app/package.json | 6 +- images/app-builder/CHANGELOG.md | 6 + images/app-builder/package.json | 2 +- images/app-cypress/CHANGELOG.md | 3 + images/app-cypress/package.json | 2 +- images/node-base/CHANGELOG.md | 12 ++ images/node-base/package.json | 2 +- images/node-builder/CHANGELOG.md | 6 + images/node-builder/package.json | 2 +- packages/api-cli/CHANGELOG.md | 112 ++++++++++++++ packages/api-cli/package.json | 2 +- packages/api-plugin/CHANGELOG.md | 105 +++++++++++++ packages/api-plugin/package.json | 2 +- packages/api/CHANGELOG.md | 123 +++++++++++++++ packages/api/package.json | 2 +- packages/collection-utils/CHANGELOG.md | 89 +++++++++++ packages/collection-utils/package.json | 2 +- packages/core-tools/CHANGELOG.md | 130 ++++++++++++++++ packages/core-tools/package.json | 2 +- packages/core/CHANGELOG.md | 126 +++++++++++++++ packages/core/package.json | 2 +- packages/easy-ast/CHANGELOG.md | 92 +++++++++++ packages/easy-ast/package.json | 2 +- packages/es-mapping-generator/CHANGELOG.md | 91 +++++++++++ packages/es-mapping-generator/package.json | 2 +- packages/gitlab-api/CHANGELOG.md | 111 ++++++++++++++ packages/gitlab-api/package.json | 2 +- packages/logger/CHANGELOG.md | 100 ++++++++++++ packages/logger/package.json | 2 +- 106 files changed, 2202 insertions(+), 678 deletions(-) delete mode 100644 .changeset/bright-dryers-act.md delete mode 100644 .changeset/chilly-goats-cough.md delete mode 100644 .changeset/cold-squids-remain.md delete mode 100644 .changeset/cool-jars-kiss.md delete mode 100644 .changeset/cuddly-bobcats-roll.md delete mode 100644 .changeset/dull-news-appear.md delete mode 100644 .changeset/fair-colts-explain.md delete mode 100644 .changeset/five-ears-wash.md delete mode 100644 .changeset/fluffy-lamps-count.md delete mode 100644 .changeset/forty-eagles-cough.md delete mode 100644 .changeset/fuzzy-walls-greet.md delete mode 100644 .changeset/giant-crabs-cheer.md delete mode 100644 .changeset/gorgeous-flowers-reflect.md delete mode 100644 .changeset/healthy-steaks-shop.md delete mode 100644 .changeset/honest-sheep-train.md delete mode 100644 .changeset/late-zoos-breathe.md delete mode 100644 .changeset/loud-buttons-repeat.md delete mode 100644 .changeset/moody-parrots-develop.md delete mode 100644 .changeset/nasty-ghosts-love.md delete mode 100644 .changeset/neat-hats-trade.md delete mode 100644 .changeset/new-pianos-joke.md delete mode 100644 .changeset/old-bananas-live.md delete mode 100644 .changeset/orange-knives-happen.md delete mode 100644 .changeset/pink-sheep-relax.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/pretty-timers-complain.md delete mode 100644 .changeset/pretty-wombats-double.md delete mode 100644 .changeset/proud-cameras-fail.md delete mode 100644 .changeset/proud-wolves-end.md delete mode 100644 .changeset/quick-houses-count.md delete mode 100644 .changeset/rare-squids-bake.md delete mode 100644 .changeset/serious-meals-sin.md delete mode 100644 .changeset/silent-maps-float.md delete mode 100644 .changeset/silly-news-punch.md delete mode 100644 .changeset/smart-ghosts-shout.md delete mode 100644 .changeset/soft-donuts-fail.md delete mode 100644 .changeset/sour-carpets-flash.md delete mode 100644 .changeset/sour-coins-visit.md delete mode 100644 .changeset/spicy-snails-sort.md delete mode 100644 .changeset/stale-garlics-share.md delete mode 100644 .changeset/strange-hounds-repair.md delete mode 100644 .changeset/tall-ducks-dream.md delete mode 100644 .changeset/tame-mayflies-hug.md delete mode 100644 .changeset/tame-rings-dream.md delete mode 100644 .changeset/tasty-islands-smell.md delete mode 100644 .changeset/thick-mails-peel.md delete mode 100644 .changeset/thick-weeks-compete.md delete mode 100644 .changeset/thin-camels-give.md delete mode 100644 .changeset/tidy-buses-reflect.md delete mode 100644 .changeset/tough-hairs-provide.md delete mode 100644 .changeset/tricky-garlics-hope.md delete mode 100644 .changeset/unlucky-pillows-thank.md delete mode 100644 .changeset/wet-houses-provide.md create mode 100644 images/app-cypress/CHANGELOG.md diff --git a/.changeset/bright-dryers-act.md b/.changeset/bright-dryers-act.md deleted file mode 100644 index 307c37e4..00000000 --- a/.changeset/bright-dryers-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': major ---- - -Update to Angular 16.1 diff --git a/.changeset/chilly-goats-cough.md b/.changeset/chilly-goats-cough.md deleted file mode 100644 index c4fc8c14..00000000 --- a/.changeset/chilly-goats-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Detail views now won't load data again if it is being navigated to from a list item diff --git a/.changeset/cold-squids-remain.md b/.changeset/cold-squids-remain.md deleted file mode 100644 index b2de1e6e..00000000 --- a/.changeset/cold-squids-remain.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Refactored Opening Hours - -- Migrated Opening Hours to use OnPush change detection -- Fixed a bug where opening hours would not update correctly -- Lazy-load opening hours module to keep it out of the main bundle -- Added e2e tests to verify functionality -- Changed live update status to show exact minutes starting one hour before the next change diff --git a/.changeset/cool-jars-kiss.md b/.changeset/cool-jars-kiss.md deleted file mode 100644 index 8feb6e41..00000000 --- a/.changeset/cool-jars-kiss.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@openstapps/core-tools': major ---- - -Removed pack tool - -Use a bundler like `tsup` in conjunction with an -`index.ts` that aggregates all exports instead. diff --git a/.changeset/cuddly-bobcats-roll.md b/.changeset/cuddly-bobcats-roll.md deleted file mode 100644 index b3472acf..00000000 --- a/.changeset/cuddly-bobcats-roll.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@openstapps/api-plugin': major -'@openstapps/api-cli': major -'@openstapps/api': major ---- - -Split API into API, API-CLI and API-Plugin - -Plugins are now required to use `api-plugin`. -Consumers of `api` can benefit from a slimmer package with -no NodeJS dependencies. diff --git a/.changeset/dull-news-appear.md b/.changeset/dull-news-appear.md deleted file mode 100644 index 0d72a19e..00000000 --- a/.changeset/dull-news-appear.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -'@openstapps/backend': major ---- - -Migrate config system to cosmiconfig - -Configs are now written using type-checked JavaScript - -```js -// @ts-check - -// This file is now type-safe just like TypeScript, but -// without the compilation step - -/** @type {import('@openstapps/package').Type} */ -const foo = {}; -``` - -You can write config files in JavaScript, JSON, or other -cosmiconfig-supported formats. - -The config files now are - -- `backendrc.{js,json,...}` -- `elasticsearchrc.{js,json,...}` -- `prometheusrc.{js,json,...}` - -You can also split them into multiple files, -as well as using the `markdown.js` helper in -`config/default/tools` to include markdown files -as text (see `config/f-u/about-pages`) diff --git a/.changeset/fair-colts-explain.md b/.changeset/fair-colts-explain.md deleted file mode 100644 index 0ffdc2dc..00000000 --- a/.changeset/fair-colts-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Use observable chains instead of change detection in the rating component diff --git a/.changeset/five-ears-wash.md b/.changeset/five-ears-wash.md deleted file mode 100644 index b5099004..00000000 --- a/.changeset/five-ears-wash.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -'@openstapps/projectmanagement': major -'@openstapps/prettier-config': major -'@openstapps/es-mapping-generator': major -'@openstapps/backend-config': major -'@openstapps/eslint-config': major -'@openstapps/minimal-connector': major -'@openstapps/collection-utils': major -'@openstapps/minimal-plugin': major -'@openstapps/tsconfig': major -'@openstapps/api-plugin': major -'@openstapps/core-tools': major -'@openstapps/gitlab-api': major -'@openstapps/easy-ast': major -'@openstapps/api-cli': major -'@openstapps/backend': major -'@openstapps/logger': major -'@openstapps/proxy': major -'@openstapps/core': major -'@openstapps/app': major -'@openstapps/api': major ---- - -Move project to a turbo monorepo & pnpm - -Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` - -- Removed extraneous files from packages - - `.npmrc` - - `.npmignore` - - `.mailmap` - - `.gitignore` - - `CONTRIBUTING.md` - - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) - - `package-lock.json` - - `.editorconfig` - - `.eslintrc.json` (moved eslint config to `package.json`) - - `.eslintignore` - - `.gitlab-ci.yml` (Most workflows are workspace-level) - - `.gitlab/**` (issue templates etc. are now workspace-level) - - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) -- TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) -- Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` -- Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) -- Replaced conventional changelog with changesets -- Apps with binaries now use a top level `app.js` - -```js -#!/usr/bin/env node -import './lib/app.js'; -``` diff --git a/.changeset/fluffy-lamps-count.md b/.changeset/fluffy-lamps-count.md deleted file mode 100644 index daa5c792..00000000 --- a/.changeset/fluffy-lamps-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Added the ability to remove and add date series from their detail page diff --git a/.changeset/forty-eagles-cough.md b/.changeset/forty-eagles-cough.md deleted file mode 100644 index 6f364200..00000000 --- a/.changeset/forty-eagles-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Add a way to hide action chips on list items diff --git a/.changeset/fuzzy-walls-greet.md b/.changeset/fuzzy-walls-greet.md deleted file mode 100644 index 83e39d66..00000000 --- a/.changeset/fuzzy-walls-greet.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@openstapps/core': major ---- - -Migrate away from [ts-optchain](https://www.npmjs.com/package/ts-optchain) - -The package has been deprecated with the last releast being 4 years ago. - -TypeScript as well as ECMAScript have native support for optional -chaining with the `?.` operator now. - -You will need to update any packages that rely on the translator -module. diff --git a/.changeset/giant-crabs-cheer.md b/.changeset/giant-crabs-cheer.md deleted file mode 100644 index 7f42b450..00000000 --- a/.changeset/giant-crabs-cheer.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'@openstapps/projectmanagement': patch -'@openstapps/prettier-config': patch -'@openstapps/es-mapping-generator': patch -'@openstapps/eslint-config': patch -'@openstapps/minimal-connector': patch -'@openstapps/minimal-plugin': patch -'@openstapps/core-tools': patch -'@openstapps/gitlab-api': patch -'@openstapps/backend': patch -'@openstapps/logger': patch -'@openstapps/proxy': patch -'@openstapps/core': patch -'@openstapps/api': patch ---- - -Migrated changelogs to changeset format - -```js -import fs from 'fs'; - -const path = 'packages/logger/CHANGELOG.md'; - -fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); -``` diff --git a/.changeset/gorgeous-flowers-reflect.md b/.changeset/gorgeous-flowers-reflect.md deleted file mode 100644 index 0aab567e..00000000 --- a/.changeset/gorgeous-flowers-reflect.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@openstapps/backend': minor -'@openstapps/api-cli': major ---- - -Migrate integration tests from docker-compose solution to a shell script - -`api-cli` no longer builds as a Docker container as a result. diff --git a/.changeset/healthy-steaks-shop.md b/.changeset/healthy-steaks-shop.md deleted file mode 100644 index 0644d640..00000000 --- a/.changeset/healthy-steaks-shop.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -'@openstapps/projectmanagement': major -'@openstapps/prettier-config': major -'@openstapps/es-mapping-generator': major -'@openstapps/backend-config': major -'@openstapps/eslint-config': major -'@openstapps/minimal-connector': major -'@openstapps/collection-utils': major -'@openstapps/minimal-plugin': major -'@openstapps/tsconfig': major -'@openstapps/api-plugin': major -'@openstapps/core-tools': major -'@openstapps/gitlab-api': major -'@openstapps/easy-ast': major -'@openstapps/api-cli': major -'@openstapps/backend': major -'@openstapps/logger': major -'@openstapps/proxy': major -'@openstapps/core': major -'@openstapps/app': major -'@openstapps/api': major ---- - -Migrate to ESM - -CommonJS is no longer supported in any capacity. To use the new -version, you will need to migrate your package to ESM. -We recommend using `tsup` and `Node 18`. - -```json -{ - "type": "module" -} -``` diff --git a/.changeset/honest-sheep-train.md b/.changeset/honest-sheep-train.md deleted file mode 100644 index 8dea1715..00000000 --- a/.changeset/honest-sheep-train.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -'@openstapps/projectmanagement': major -'@openstapps/prettier-config': major -'@openstapps/es-mapping-generator': major -'@openstapps/backend-config': major -'@openstapps/eslint-config': major -'@openstapps/minimal-connector': major -'@openstapps/collection-utils': major -'@openstapps/minimal-plugin': major -'@openstapps/tsconfig': major -'@openstapps/api-plugin': major -'@openstapps/core-tools': major -'@openstapps/gitlab-api': major -'@openstapps/easy-ast': major -'@openstapps/api-cli': major -'@openstapps/backend': major -'@openstapps/logger': major -'@openstapps/proxy': major -'@openstapps/core': major -'@openstapps/app': major -'@openstapps/api': major ---- - -Migrate package to Node 18 - -- Consumers of this package will need to migrate to Node 18 or - higher. -- Packages have been migrated from promisified `readFile` or - `readFileSync` towards `fs/promises` -- Packages use native `flatMap` now diff --git a/.changeset/late-zoos-breathe.md b/.changeset/late-zoos-breathe.md deleted file mode 100644 index 91974902..00000000 --- a/.changeset/late-zoos-breathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/gitlab-api': minor ---- - -Migrate from request-promise-native to got diff --git a/.changeset/loud-buttons-repeat.md b/.changeset/loud-buttons-repeat.md deleted file mode 100644 index a5a71666..00000000 --- a/.changeset/loud-buttons-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Fixed distance not updating in list items diff --git a/.changeset/moody-parrots-develop.md b/.changeset/moody-parrots-develop.md deleted file mode 100644 index 6b7efc0b..00000000 --- a/.changeset/moody-parrots-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/projectmanagement': patch ---- - -Moved project-docs to the [GitLab Wiki](https://gitlab.com/openstapps/openstapps/-/wikis/home) repo. diff --git a/.changeset/nasty-ghosts-love.md b/.changeset/nasty-ghosts-love.md deleted file mode 100644 index 72c9f298..00000000 --- a/.changeset/nasty-ghosts-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Change leaflet tiles to be inverted as a whole diff --git a/.changeset/neat-hats-trade.md b/.changeset/neat-hats-trade.md deleted file mode 100644 index eebc8c95..00000000 --- a/.changeset/neat-hats-trade.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -'@openstapps/projectmanagement': minor -'@openstapps/prettier-config': minor -'@openstapps/es-mapping-generator': minor -'@openstapps/backend-config': minor -'@openstapps/eslint-config': minor -'@openstapps/minimal-connector': minor -'@openstapps/collection-utils': minor -'@openstapps/minimal-plugin': minor -'@openstapps/tsconfig': minor -'@openstapps/api-plugin': minor -'@openstapps/core-tools': minor -'@openstapps/gitlab-api': minor -'@openstapps/easy-ast': minor -'@openstapps/api-cli': minor -'@openstapps/backend': minor -'@openstapps/logger': minor -'@openstapps/proxy': minor -'@openstapps/core': minor -'@openstapps/app': minor -'@openstapps/api': minor ---- - -Migrate tests to C8/Chai/Mocha - -- `@testdeck` OOP testing has been removed. -- Tests have been unified -- CommonJS module mocking has been replaced through - refactoring of tests, as ES Modules cannot be mocked - (do yourself a favor and don't try to mock them) -- C8 now replaces NYC as a native coverage tool diff --git a/.changeset/new-pianos-joke.md b/.changeset/new-pianos-joke.md deleted file mode 100644 index f4452c77..00000000 --- a/.changeset/new-pianos-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/es-mapping-generator': patch ---- - -Remove @openstapps/logger dependency diff --git a/.changeset/old-bananas-live.md b/.changeset/old-bananas-live.md deleted file mode 100644 index 2c91451d..00000000 --- a/.changeset/old-bananas-live.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@openstapps/core': minor -'@openstapps/app': minor ---- - -Add support for web-service-provided id cards on the profile page diff --git a/.changeset/orange-knives-happen.md b/.changeset/orange-knives-happen.md deleted file mode 100644 index b7ca4504..00000000 --- a/.changeset/orange-knives-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Add directions to inPlace and place list items diff --git a/.changeset/pink-sheep-relax.md b/.changeset/pink-sheep-relax.md deleted file mode 100644 index 2ce74c86..00000000 --- a/.changeset/pink-sheep-relax.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Improved calendar descriptions - -- The dashboard quick link now has a more intuitive icon -- "Recurring" has been renamed to "Week Overview" -- Long words in calendar tabs will now break instead of overflowing diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 77dc6691..00000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "mode": "pre", - "tag": "next", - "initialVersions": { - "@openstapps/backend": "2.0.0", - "@openstapps/database": "2.0.0", - "@openstapps/proxy": "2.0.0", - "@openstapps/backend-config": "2.0.0", - "@openstapps/eslint-config": "2.0.0", - "@openstapps/prettier-config": "2.0.0", - "@openstapps/projectmanagement": "2.0.0", - "@openstapps/tsconfig": "2.0.0", - "@openstapps/minimal-connector": "2.0.0", - "@openstapps/minimal-deployment": "2.0.0", - "@openstapps/minimal-plugin": "2.0.0", - "@openstapps/app": "2.0.0", - "@openstapps/api": "2.0.0", - "@openstapps/api-cli": "2.0.0", - "@openstapps/api-plugin": "2.0.0", - "@openstapps/collection-utils": "2.0.0", - "@openstapps/core": "2.0.0", - "@openstapps/core-tools": "2.0.0", - "@openstapps/easy-ast": "2.0.0", - "@openstapps/es-mapping-generator": "2.0.0", - "@openstapps/gitlab-api": "2.0.0", - "@openstapps/logger": "2.0.0", - "@openstapps/app-builder-image": "3.0.0-next.3", - "@openstapps/node-base": "3.0.0-next.3", - "@openstapps/node-builder": "3.0.0-next.3" - }, - "changesets": [ - "bright-dryers-act", - "cool-jars-kiss", - "cuddly-bobcats-roll", - "dull-news-appear", - "five-ears-wash", - "fuzzy-walls-greet", - "giant-crabs-cheer", - "gorgeous-flowers-reflect", - "healthy-steaks-shop", - "honest-sheep-train", - "late-zoos-breathe", - "moody-parrots-develop", - "neat-hats-trade", - "new-pianos-joke", - "pretty-timers-complain", - "proud-wolves-end", - "quick-houses-count", - "rare-squids-bake", - "serious-meals-sin", - "silent-maps-float", - "silly-news-punch", - "smart-ghosts-shout", - "soft-donuts-fail", - "sour-coins-visit", - "spicy-snails-sort", - "stale-garlics-share", - "strange-hounds-repair", - "tall-ducks-dream", - "tame-mayflies-hug", - "tame-rings-dream", - "tasty-islands-smell", - "thick-weeks-compete", - "thin-camels-give", - "tidy-buses-reflect", - "tough-hairs-provide" - ] -} diff --git a/.changeset/pretty-timers-complain.md b/.changeset/pretty-timers-complain.md deleted file mode 100644 index 34026ba8..00000000 --- a/.changeset/pretty-timers-complain.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@openstapps/projectmanagement': major -'@openstapps/node-base': major ---- - -Move images to separate packages - -Removed builder image due to migration to Kaniko diff --git a/.changeset/pretty-wombats-double.md b/.changeset/pretty-wombats-double.md deleted file mode 100644 index 6d836a01..00000000 --- a/.changeset/pretty-wombats-double.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Revamp "My Courses" section on profile page - -The "My Courses" section on the profile page has been improved - -- It will now show the upcoming courses for the next five days -- The section header is now consistent with the other sections -- The section now uses standard list items instead of the custom solution - -Additionally, the profile page component has been cleaned up. diff --git a/.changeset/proud-cameras-fail.md b/.changeset/proud-cameras-fail.md deleted file mode 100644 index 5b4f3d10..00000000 --- a/.changeset/proud-cameras-fail.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Adjust map button and item behavior on different screen sizes - -- Small screens will show the item without margins below the map actions -- Large screens will show the list item on the left side diff --git a/.changeset/proud-wolves-end.md b/.changeset/proud-wolves-end.md deleted file mode 100644 index 0d6b8039..00000000 --- a/.changeset/proud-wolves-end.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@openstapps/eslint-config': minor ---- - -Update rules - -- `unicorn/no-array-reduce` is now off -- `unicorn/no-non-null-assertion` is now off -- Removed prettier rules (use prettier formatting instead) diff --git a/.changeset/quick-houses-count.md b/.changeset/quick-houses-count.md deleted file mode 100644 index 56ecb5c5..00000000 --- a/.changeset/quick-houses-count.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@openstapps/es-mapping-generator': major ---- - -Remove put-es-templates - -The `put-es-templates` functionality has been removed. diff --git a/.changeset/rare-squids-bake.md b/.changeset/rare-squids-bake.md deleted file mode 100644 index e7a9e2cd..00000000 --- a/.changeset/rare-squids-bake.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@openstapps/projectmanagement': patch -'@openstapps/prettier-config': patch -'@openstapps/es-mapping-generator': patch -'@openstapps/backend-config': patch -'@openstapps/eslint-config': patch -'@openstapps/minimal-connector': patch -'@openstapps/collection-utils': patch -'@openstapps/minimal-plugin': patch -'@openstapps/tsconfig': patch -'@openstapps/api-plugin': patch -'@openstapps/core-tools': patch -'@openstapps/gitlab-api': patch -'@openstapps/easy-ast': patch -'@openstapps/api-cli': patch -'@openstapps/backend': patch -'@openstapps/logger': patch -'@openstapps/proxy': patch -'@openstapps/core': patch -'@openstapps/app': patch -'@openstapps/api': patch ---- - -Migrate away from @openstapps/configuration diff --git a/.changeset/serious-meals-sin.md b/.changeset/serious-meals-sin.md deleted file mode 100644 index a26d0415..00000000 --- a/.changeset/serious-meals-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/projectmanagement': patch ---- - -Update release configs diff --git a/.changeset/silent-maps-float.md b/.changeset/silent-maps-float.md deleted file mode 100644 index fc3a2846..00000000 --- a/.changeset/silent-maps-float.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@openstapps/projectmanagement': patch -'@openstapps/prettier-config': patch -'@openstapps/es-mapping-generator': patch -'@openstapps/backend-config': patch -'@openstapps/eslint-config': patch -'@openstapps/minimal-deployment': patch -'@openstapps/minimal-connector': patch -'@openstapps/collection-utils': patch -'@openstapps/minimal-plugin': patch -'@openstapps/tsconfig': patch -'@openstapps/node-builder': patch -'@openstapps/api-plugin': patch -'@openstapps/core-tools': patch -'@openstapps/gitlab-api': patch -'@openstapps/app-builder-image': patch -'@openstapps/easy-ast': patch -'@openstapps/database': patch -'@openstapps/node-base': patch -'@openstapps/api-cli': patch -'@openstapps/backend': patch -'@openstapps/logger': patch -'@openstapps/proxy': patch -'@openstapps/core': patch -'@openstapps/app': patch -'@openstapps/api': patch ---- - -Update to TypeScript 5.1.6 diff --git a/.changeset/silly-news-punch.md b/.changeset/silly-news-punch.md deleted file mode 100644 index 5874c5de..00000000 --- a/.changeset/silly-news-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Migrate collection helpers to use @openstapps/collection-utils diff --git a/.changeset/smart-ghosts-shout.md b/.changeset/smart-ghosts-shout.md deleted file mode 100644 index 4559c2a4..00000000 --- a/.changeset/smart-ghosts-shout.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Migrate to Ionic 7 - -- Migrate uses of `` with inputs to new syntax -- Fix infinite loop in schedule date picker (`datetime.confirm()` to `datetime.cancel()`) diff --git a/.changeset/soft-donuts-fail.md b/.changeset/soft-donuts-fail.md deleted file mode 100644 index 45ada911..00000000 --- a/.changeset/soft-donuts-fail.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@openstapps/api': minor ---- - -Migrate HttpClient to Node 18's native `fetch` API - -HttpClient can now be used both in NodeJS and browsers. diff --git a/.changeset/sour-carpets-flash.md b/.changeset/sour-carpets-flash.md deleted file mode 100644 index 542241a3..00000000 --- a/.changeset/sour-carpets-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Fixed an issue that caused double and triple loading of data detail items through the route stack service diff --git a/.changeset/sour-coins-visit.md b/.changeset/sour-coins-visit.md deleted file mode 100644 index c6d7e6c1..00000000 --- a/.changeset/sour-coins-visit.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@openstapps/es-mapping-generator': major -'@openstapps/backend': major -'@openstapps/core': major ---- - -Migrate es mapping types from es-mapping-generator to .d.ts next to generated mappings diff --git a/.changeset/spicy-snails-sort.md b/.changeset/spicy-snails-sort.md deleted file mode 100644 index bee1dad7..00000000 --- a/.changeset/spicy-snails-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/eslint-config': patch ---- - -Add license header enforcement rule (unfinished) diff --git a/.changeset/stale-garlics-share.md b/.changeset/stale-garlics-share.md deleted file mode 100644 index 7b3b5713..00000000 --- a/.changeset/stale-garlics-share.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/core': minor ---- - -Include openapi.json in built package diff --git a/.changeset/strange-hounds-repair.md b/.changeset/strange-hounds-repair.md deleted file mode 100644 index b3df6499..00000000 --- a/.changeset/strange-hounds-repair.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@openstapps/projectmanagement': minor -'@openstapps/minimal-connector': minor -'@openstapps/minimal-plugin': minor -'@openstapps/collection-utils': minor -'@openstapps/core-tools': minor -'@openstapps/gitlab-api': minor -'@openstapps/backend': minor -'@openstapps/logger': minor -'@openstapps/core': minor -'@openstapps/api': minor ---- - -Migrate away from `@krlwlfrt/async-pool` - -```ts -import {mapAsyncLimit} from '@openstapps/collection-utils'; - -await mapAsyncLimit( - [1, 2, 3], - async it => { - await someNetworkRequest(it); - }, - 5, -); -``` diff --git a/.changeset/tall-ducks-dream.md b/.changeset/tall-ducks-dream.md deleted file mode 100644 index c7d7d7e9..00000000 --- a/.changeset/tall-ducks-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Migrate away from JIT compilation diff --git a/.changeset/tame-mayflies-hug.md b/.changeset/tame-mayflies-hug.md deleted file mode 100644 index 108c5e88..00000000 --- a/.changeset/tame-mayflies-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/logger': patch ---- - -Fix an issue with chalk terminal colors in tests diff --git a/.changeset/tame-rings-dream.md b/.changeset/tame-rings-dream.md deleted file mode 100644 index 19549a43..00000000 --- a/.changeset/tame-rings-dream.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@openstapps/core-tools': major ---- - -Migrate openapi generation to output single file - -The OpenAPI generator now outputs a single file instead -of a directory with the `openapi.json` and copied schema -files. diff --git a/.changeset/tasty-islands-smell.md b/.changeset/tasty-islands-smell.md deleted file mode 100644 index 37310c6b..00000000 --- a/.changeset/tasty-islands-smell.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Migrate unit tests to karma-coverage and junit reports. -Fixes an issue where coverage reports would not be generated. diff --git a/.changeset/thick-mails-peel.md b/.changeset/thick-mails-peel.md deleted file mode 100644 index 61e59d65..00000000 --- a/.changeset/thick-mails-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Map items are now native list items diff --git a/.changeset/thick-weeks-compete.md b/.changeset/thick-weeks-compete.md deleted file mode 100644 index 6ad030ea..00000000 --- a/.changeset/thick-weeks-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/projectmanagement': minor ---- - -Migrate moment.js to date-fns diff --git a/.changeset/thin-camels-give.md b/.changeset/thin-camels-give.md deleted file mode 100644 index 36a8d655..00000000 --- a/.changeset/thin-camels-give.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@openstapps/projectmanagement': major -'@openstapps/es-mapping-generator': major -'@openstapps/minimal-connector': major -'@openstapps/collection-utils': major -'@openstapps/minimal-plugin': major -'@openstapps/api-plugin': major -'@openstapps/core-tools': major -'@openstapps/gitlab-api': major -'@openstapps/easy-ast': major -'@openstapps/api-cli': major -'@openstapps/backend': major -'@openstapps/logger': major -'@openstapps/proxy': major -'@openstapps/core': major -'@openstapps/api': major ---- - -Migrate build system to `tsup` - -All packages now use an `index.ts` file to expose contents. - -You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` diff --git a/.changeset/tidy-buses-reflect.md b/.changeset/tidy-buses-reflect.md deleted file mode 100644 index 2b7fc5a6..00000000 --- a/.changeset/tidy-buses-reflect.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@openstapps/core-tools': major -'@openstapps/easy-ast': major ---- - -Migrate easy-ast to separate package - -The `easy-ast` part of `core-tools` has been moved to its own package. -For migration, simply use the new package. diff --git a/.changeset/tough-hairs-provide.md b/.changeset/tough-hairs-provide.md deleted file mode 100644 index 5c6d75c6..00000000 --- a/.changeset/tough-hairs-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/core-tools': patch ---- - -Migrate from away from lodash diff --git a/.changeset/tricky-garlics-hope.md b/.changeset/tricky-garlics-hope.md deleted file mode 100644 index 8e9dcc9a..00000000 --- a/.changeset/tricky-garlics-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Replaced simple links with list items in date-series detail diff --git a/.changeset/unlucky-pillows-thank.md b/.changeset/unlucky-pillows-thank.md deleted file mode 100644 index 6d53de73..00000000 --- a/.changeset/unlucky-pillows-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': patch ---- - -Make section swiper buttons reactive diff --git a/.changeset/wet-houses-provide.md b/.changeset/wet-houses-provide.md deleted file mode 100644 index 15bce2bf..00000000 --- a/.changeset/wet-houses-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openstapps/app': minor ---- - -Use event title for date series instead of the generic date series title diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 729a764d..26c480a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -133,7 +133,7 @@ audit: allow_failure: true needs: [] script: - - pnpm audit --prod + - pnpm audit --prod --audit-level critical rules: - if: $CI_COMMIT_BRANCH == 'main' allow_failure: false diff --git a/backend/backend/CHANGELOG.md b/backend/backend/CHANGELOG.md index fef49cba..f096d2bd 100644 --- a/backend/backend/CHANGELOG.md +++ b/backend/backend/CHANGELOG.md @@ -1,5 +1,158 @@ # @openstapps/backend +## 3.0.0 + +### Major Changes + +- 64caebaf: Migrate config system to cosmiconfig + + Configs are now written using type-checked JavaScript + + ```js + // @ts-check + + // This file is now type-safe just like TypeScript, but + // without the compilation step + + /** @type {import('@openstapps/package').Type} */ + const foo = {}; + ``` + + You can write config files in JavaScript, JSON, or other + cosmiconfig-supported formats. + + The config files now are + + - `backendrc.{js,json,...}` + - `elasticsearchrc.{js,json,...}` + - `prometheusrc.{js,json,...}` + + You can also split them into multiple files, + as well as using the `markdown.js` helper in + `config/default/tools` to include markdown files + as text (see `config/f-u/about-pages`) + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 0a7e6af1: Migrate es mapping types from es-mapping-generator to .d.ts next to generated mappings +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate integration tests from docker-compose solution to a shell script + + `api-cli` no longer builds as a Docker container as a result. + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] + - @openstapps/core-tools@3.0.0 + - @openstapps/logger@3.0.0 + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/backend/backend/package.json b/backend/backend/package.json index c2bb2adf..44a19dcc 100644 --- a/backend/backend/package.json +++ b/backend/backend/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/backend", "description": "A reference implementation for a StApps backend", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "AGPL-3.0-only", diff --git a/backend/database/CHANGELOG.md b/backend/database/CHANGELOG.md index c976d1cb..4191c9cc 100644 --- a/backend/database/CHANGELOG.md +++ b/backend/database/CHANGELOG.md @@ -1,5 +1,11 @@ # @openstapps/database +## 3.0.0 + +### Patch Changes + +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/backend/database/package.json b/backend/database/package.json index 980488af..f87be80a 100644 --- a/backend/database/package.json +++ b/backend/database/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/database", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "files": [ "config", diff --git a/backend/proxy/CHANGELOG.md b/backend/proxy/CHANGELOG.md index cac9e1ae..4e05fd07 100644 --- a/backend/proxy/CHANGELOG.md +++ b/backend/proxy/CHANGELOG.md @@ -1,5 +1,101 @@ # @openstapps/proxy +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] + - @openstapps/logger@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/backend/proxy/package.json b/backend/proxy/package.json index f9e41738..696e1bf6 100644 --- a/backend/proxy/package.json +++ b/backend/proxy/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/proxy", "description": "NGINX proxy that is dynamically configured by a Node.js script", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "AGPL-3.0-only", diff --git a/configuration/backend-config/CHANGELOG.md b/configuration/backend-config/CHANGELOG.md index d0ad4960..80d92109 100644 --- a/configuration/backend-config/CHANGELOG.md +++ b/configuration/backend-config/CHANGELOG.md @@ -1,5 +1,74 @@ # @openstapps/backend-config +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/configuration/backend-config/package.json b/configuration/backend-config/package.json index 05f3feb4..580d38c8 100644 --- a/configuration/backend-config/package.json +++ b/configuration/backend-config/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/backend-config", "description": "Backend Configuration for OpenStApps", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/configuration/eslint-config/CHANGELOG.md b/configuration/eslint-config/CHANGELOG.md index d50a630f..0ee155b6 100644 --- a/configuration/eslint-config/CHANGELOG.md +++ b/configuration/eslint-config/CHANGELOG.md @@ -1,5 +1,91 @@ # @openstapps/eslint-config +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Update rules + + - `unicorn/no-array-reduce` is now off + - `unicorn/no-non-null-assertion` is now off + - Removed prettier rules (use prettier formatting instead) + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- 64caebaf: Add license header enforcement rule (unfinished) + ## 3.0.0-next.4 ### Patch Changes diff --git a/configuration/eslint-config/package.json b/configuration/eslint-config/package.json index 6dbca30e..3ce1bb6f 100644 --- a/configuration/eslint-config/package.json +++ b/configuration/eslint-config/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/eslint-config", "description": "A collection of configuration base files for StApps projects. Just an (unused) experiment for now.", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "commonjs", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/eslint-config.git", diff --git a/configuration/prettier-config/CHANGELOG.md b/configuration/prettier-config/CHANGELOG.md index 30d276f8..0d20bb91 100644 --- a/configuration/prettier-config/CHANGELOG.md +++ b/configuration/prettier-config/CHANGELOG.md @@ -1,5 +1,84 @@ # @openstapps/prettier-config +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/configuration/prettier-config/package.json b/configuration/prettier-config/package.json index 5e6dae9e..4ed5354e 100644 --- a/configuration/prettier-config/package.json +++ b/configuration/prettier-config/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/prettier-config", "description": "StApps Prettier Config", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/prettier-config.git", diff --git a/configuration/projectmanagement/CHANGELOG.md b/configuration/projectmanagement/CHANGELOG.md index c3ebe394..5ae2c6c9 100644 --- a/configuration/projectmanagement/CHANGELOG.md +++ b/configuration/projectmanagement/CHANGELOG.md @@ -1,5 +1,126 @@ # @openstapps/projectmanagement +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 11c9d742: Move images to separate packages + + Removed builder image due to migration to Kaniko + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +- 64caebaf: Migrate moment.js to date-fns + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 64caebaf: Moved project-docs to the [GitLab Wiki](https://gitlab.com/openstapps/openstapps/-/wikis/home) repo. +- 98546a97: Migrate away from @openstapps/configuration +- 4e4c7b5c: Update release configs +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] + - @openstapps/collection-utils@3.0.0 + - @openstapps/gitlab-api@3.0.0 + - @openstapps/logger@3.0.0 + ## 3.0.0-next.4 ### Major Changes diff --git a/configuration/projectmanagement/package.json b/configuration/projectmanagement/package.json index 2eecbabe..1109a072 100644 --- a/configuration/projectmanagement/package.json +++ b/configuration/projectmanagement/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/projectmanagement", "description": "Main documentation and scripts for maintenance.", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/configuration/tsconfig/CHANGELOG.md b/configuration/tsconfig/CHANGELOG.md index b96798e7..ca9a101d 100644 --- a/configuration/tsconfig/CHANGELOG.md +++ b/configuration/tsconfig/CHANGELOG.md @@ -1,5 +1,74 @@ # @openstapps/tsconfig +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/configuration/tsconfig/package.json b/configuration/tsconfig/package.json index 512f8554..182c3b69 100644 --- a/configuration/tsconfig/package.json +++ b/configuration/tsconfig/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/tsconfig", "description": "The tsconfig for the openstapps project", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "commonjs", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/eslint-config.git", diff --git a/examples/minimal-connector/CHANGELOG.md b/examples/minimal-connector/CHANGELOG.md index c21bf6e1..070fc7a8 100644 --- a/examples/minimal-connector/CHANGELOG.md +++ b/examples/minimal-connector/CHANGELOG.md @@ -1,5 +1,123 @@ # @openstapps/minimal-connector +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] + - @openstapps/api@3.0.0 + - @openstapps/logger@3.0.0 + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/examples/minimal-connector/package.json b/examples/minimal-connector/package.json index 9e683093..8684b1ca 100644 --- a/examples/minimal-connector/package.json +++ b/examples/minimal-connector/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/minimal-connector", "description": "This is a minimal connector which serves as an example", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/examples/minimal-deployment/CHANGELOG.md b/examples/minimal-deployment/CHANGELOG.md index dba889ca..630385aa 100644 --- a/examples/minimal-deployment/CHANGELOG.md +++ b/examples/minimal-deployment/CHANGELOG.md @@ -1,5 +1,11 @@ # @openstapps/minimal-deployment +## 3.0.0 + +### Patch Changes + +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/examples/minimal-deployment/package.json b/examples/minimal-deployment/package.json index 986a07ae..08d7e513 100644 --- a/examples/minimal-deployment/package.json +++ b/examples/minimal-deployment/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/minimal-deployment", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "files": [ "database", diff --git a/examples/minimal-plugin/CHANGELOG.md b/examples/minimal-plugin/CHANGELOG.md index 69bdb240..f59c96cf 100644 --- a/examples/minimal-plugin/CHANGELOG.md +++ b/examples/minimal-plugin/CHANGELOG.md @@ -1,5 +1,129 @@ # @openstapps/minimal-plugin +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] + - @openstapps/core-tools@3.0.0 + - @openstapps/api-plugin@3.0.0 + - @openstapps/api@3.0.0 + - @openstapps/logger@3.0.0 + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/examples/minimal-plugin/package.json b/examples/minimal-plugin/package.json index 3e820559..d8e990d5 100644 --- a/examples/minimal-plugin/package.json +++ b/examples/minimal-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/minimal-plugin", "description": "Minimal Plugin", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/frontend/app/CHANGELOG.md b/frontend/app/CHANGELOG.md index 022cb8f3..4a9eecf7 100644 --- a/frontend/app/CHANGELOG.md +++ b/frontend/app/CHANGELOG.md @@ -1,5 +1,145 @@ # @openstapps/app +## 3.0.0 + +### Major Changes + +- 23481d0d: Update to Angular 16.1 +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +### Minor Changes + +- f2c4ee30: Detail views now won't load data again if it is being navigated to from a list item +- e1cc33bb: Added the ability to remove and add date series from their detail page +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 1f62b5c5: Add support for web-service-provided id cards on the profile page +- a5c9d220: Add directions to inPlace and place list items +- e1cc33bb: Improved calendar descriptions + + - The dashboard quick link now has a more intuitive icon + - "Recurring" has been renamed to "Week Overview" + - Long words in calendar tabs will now break instead of overflowing + +- 001f978b: Revamp "My Courses" section on profile page + + The "My Courses" section on the profile page has been improved + + - It will now show the upcoming courses for the next five days + - The section header is now consistent with the other sections + - The section now uses standard list items instead of the custom solution + + Additionally, the profile page component has been cleaned up. + +- a5c9d220: Adjust map button and item behavior on different screen sizes + + - Small screens will show the item without margins below the map actions + - Large screens will show the list item on the left side + +- 23481d0d: Migrate to Ionic 7 + + - Migrate uses of `` with inputs to new syntax + - Fix infinite loop in schedule date picker (`datetime.confirm()` to `datetime.cancel()`) + +- 64caebaf: Migrate away from JIT compilation +- a5c9d220: Map items are now native list items +- e1cc33bb: Replaced simple links with list items in date-series detail +- 001f978b: Use event title for date series instead of the generic date series title + +### Patch Changes + +- a99e08cd: Refactored Opening Hours + + - Migrated Opening Hours to use OnPush change detection + - Fixed a bug where opening hours would not update correctly + - Lazy-load opening hours module to keep it out of the main bundle + - Added e2e tests to verify functionality + - Changed live update status to show exact minutes starting one hour before the next change + +- bd09b366: Use observable chains instead of change detection in the rating component +- 001f978b: Add a way to hide action chips on list items +- e0b7e616: Fixed distance not updating in list items +- b210e0d9: Change leaflet tiles to be inverted as a whole +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- bebee6b4: Migrate collection helpers to use @openstapps/collection-utils +- 3c49c4cf: Fixed an issue that caused double and triple loading of data detail items through the route stack service +- 107a7c5e: Migrate unit tests to karma-coverage and junit reports. + Fixes an issue where coverage reports would not be generated. +- 1f62b5c5: Make section swiper buttons reactive +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] + - @openstapps/api@3.0.0 + - @openstapps/collection-utils@3.0.0 + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Major Changes diff --git a/frontend/app/package.json b/frontend/app/package.json index 701b0d03..e5c62f92 100644 --- a/frontend/app/package.json +++ b/frontend/app/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/app", "description": "The generic app tailored to fulfill needs of German universities, written using Ionic Framework.", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "license": "GPL-3.0-only", "author": "Karl-Philipp Wulfert ", @@ -22,9 +22,9 @@ "build:stats": "ng build --configuration=production --stats-json", "changelog": "conventional-changelog -p angular -i src/assets/about/CHANGELOG.md -s -r 0", "check-icons": "ts-node-esm scripts/check-icon-correctness.ts", + "chromium:no-cors": "chromium --disable-web-security --user-data-dir=\".browser-data/chromium\"", "cypress:open": "cypress open", "cypress:run": "cypress run", - "chromium:no-cors": "chromium --disable-web-security --user-data-dir=\".browser-data/chromium\"", "docker:build": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash -c \"npm install && npm run build\"", "docker:build:android": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash -c \"npm run build:android\"", "docker:enter": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash", @@ -93,7 +93,6 @@ "capacitor-secure-storage-plugin": "0.8.1", "cordova-plugin-calendar": "5.1.6", "date-fns": "2.30.0", - "ngx-date-fns": "10.0.1", "deepmerge": "4.3.1", "form-data": "4.0.0", "geojson": "0.5.0", @@ -103,6 +102,7 @@ "leaflet.markercluster": "1.5.3", "material-symbols": "0.10.0", "moment": "2.29.4", + "ngx-date-fns": "10.0.1", "ngx-logger": "5.0.12", "ngx-markdown": "16.0.0", "ngx-moment": "6.0.2", diff --git a/images/app-builder/CHANGELOG.md b/images/app-builder/CHANGELOG.md index 8d656d32..1f3abb8b 100644 --- a/images/app-builder/CHANGELOG.md +++ b/images/app-builder/CHANGELOG.md @@ -1,5 +1,11 @@ # @openstapps/app-builder-image +## 3.0.0 + +### Patch Changes + +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/images/app-builder/package.json b/images/app-builder/package.json index f62edfae..b88bb4d1 100644 --- a/images/app-builder/package.json +++ b/images/app-builder/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/app-builder-image", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/images/app-cypress/CHANGELOG.md b/images/app-cypress/CHANGELOG.md new file mode 100644 index 00000000..b6fc461d --- /dev/null +++ b/images/app-cypress/CHANGELOG.md @@ -0,0 +1,3 @@ +# @openstapps/app-cypress + +## 3.0.0 diff --git a/images/app-cypress/package.json b/images/app-cypress/package.json index e065a398..ef3b69e9 100644 --- a/images/app-cypress/package.json +++ b/images/app-cypress/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/app-cypress", - "version": "node-18", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/images/node-base/CHANGELOG.md b/images/node-base/CHANGELOG.md index 2a10a56a..20400180 100644 --- a/images/node-base/CHANGELOG.md +++ b/images/node-base/CHANGELOG.md @@ -1,5 +1,17 @@ # @openstapps/node-base +## 3.0.0 + +### Major Changes + +- 11c9d742: Move images to separate packages + + Removed builder image due to migration to Kaniko + +### Patch Changes + +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Major Changes diff --git a/images/node-base/package.json b/images/node-base/package.json index 2957ee33..50d17d06 100644 --- a/images/node-base/package.json +++ b/images/node-base/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/node-base", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/images/node-builder/CHANGELOG.md b/images/node-builder/CHANGELOG.md index 35ac649e..a5edf65b 100644 --- a/images/node-builder/CHANGELOG.md +++ b/images/node-builder/CHANGELOG.md @@ -1,5 +1,11 @@ # @openstapps/node-builder +## 3.0.0 + +### Patch Changes + +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/images/node-builder/package.json b/images/node-builder/package.json index e25e2d8a..6b68118b 100644 --- a/images/node-builder/package.json +++ b/images/node-builder/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/node-builder", - "version": "3.0.0-next.4", + "version": "3.0.0", "private": true, "type": "module", "license": "GPL-3.0-only", diff --git a/packages/api-cli/CHANGELOG.md b/packages/api-cli/CHANGELOG.md index 204efa14..e742b756 100644 --- a/packages/api-cli/CHANGELOG.md +++ b/packages/api-cli/CHANGELOG.md @@ -1,5 +1,117 @@ # @openstapps/api-cli +## 3.0.0 + +### Major Changes + +- 64caebaf: Split API into API, API-CLI and API-Plugin + + Plugins are now required to use `api-plugin`. + Consumers of `api` can benefit from a slimmer package with + no NodeJS dependencies. + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate integration tests from docker-compose solution to a shell script + + `api-cli` no longer builds as a Docker container as a result. + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] + - @openstapps/core-tools@3.0.0 + - @openstapps/api@3.0.0 + - @openstapps/eslint-config@3.0.0 + - @openstapps/logger@3.0.0 + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/api-cli/package.json b/packages/api-cli/package.json index af8cc418..0aaf52af 100644 --- a/packages/api-cli/package.json +++ b/packages/api-cli/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/api-cli", "description": "CLI client for @openstapps/api", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/api.git", diff --git a/packages/api-plugin/CHANGELOG.md b/packages/api-plugin/CHANGELOG.md index 235d8e06..5db21c76 100644 --- a/packages/api-plugin/CHANGELOG.md +++ b/packages/api-plugin/CHANGELOG.md @@ -1,5 +1,110 @@ # @openstapps/api-plugin +## 3.0.0 + +### Major Changes + +- 64caebaf: Split API into API, API-CLI and API-Plugin + + Plugins are now required to use `api-plugin`. + Consumers of `api` can benefit from a slimmer package with + no NodeJS dependencies. + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] + - @openstapps/core-tools@3.0.0 + - @openstapps/api@3.0.0 + - @openstapps/logger@3.0.0 + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/api-plugin/package.json b/packages/api-plugin/package.json index a1d1031e..8051413d 100644 --- a/packages/api-plugin/package.json +++ b/packages/api-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/api-plugin", "description": "Node.js library to interact with the StApps backend service", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/api.git", diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 5b790344..891af928 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,128 @@ # @openstapps/api +## 3.0.0 + +### Major Changes + +- 64caebaf: Split API into API, API-CLI and API-Plugin + + Plugins are now required to use `api-plugin`. + Consumers of `api` can benefit from a slimmer package with + no NodeJS dependencies. + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate HttpClient to Node 18's native `fetch` API + + HttpClient can now be used both in NodeJS and browsers. + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [1f62b5c5] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [0a7e6af1] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] + - @openstapps/core@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/api/package.json b/packages/api/package.json index 26a52936..b7e396d9 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/api", "description": "Node.js library to interact with the StApps backend service", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/api.git", diff --git a/packages/collection-utils/CHANGELOG.md b/packages/collection-utils/CHANGELOG.md index ebf64833..deae38ce 100644 --- a/packages/collection-utils/CHANGELOG.md +++ b/packages/collection-utils/CHANGELOG.md @@ -1,5 +1,94 @@ # @openstapps/collection-utils +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/collection-utils/package.json b/packages/collection-utils/package.json index 17dca20e..0e4006d6 100644 --- a/packages/collection-utils/package.json +++ b/packages/collection-utils/package.json @@ -1,6 +1,6 @@ { "name": "@openstapps/collection-utils", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "main": "lib/index.js", diff --git a/packages/core-tools/CHANGELOG.md b/packages/core-tools/CHANGELOG.md index 78b9431a..8ed9fbe6 100644 --- a/packages/core-tools/CHANGELOG.md +++ b/packages/core-tools/CHANGELOG.md @@ -1,5 +1,135 @@ # @openstapps/core-tools +## 3.0.0 + +### Major Changes + +- 98546a97: Removed pack tool + + Use a bundler like `tsup` in conjunction with an + `index.ts` that aggregates all exports instead. + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate openapi generation to output single file + + The OpenAPI generator now outputs a single file instead + of a directory with the `openapi.json` and copied schema + files. + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +- 64caebaf: Migrate easy-ast to separate package + + The `easy-ast` part of `core-tools` has been moved to its own package. + For migration, simply use the new package. + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- 98546a97: Migrate from away from lodash +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] + - @openstapps/collection-utils@3.0.0 + - @openstapps/easy-ast@3.0.0 + - @openstapps/logger@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/core-tools/package.json b/packages/core-tools/package.json index 009c389e..59f97975 100644 --- a/packages/core-tools/package.json +++ b/packages/core-tools/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/core-tools", "description": "Tools to convert and validate StAppsCore", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/core-tools.git", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ec20b159..7e6835f6 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,131 @@ # @openstapps/core +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 98546a97: Migrate away from [ts-optchain](https://www.npmjs.com/package/ts-optchain) + + The package has been deprecated with the last releast being 4 years ago. + + TypeScript as well as ECMAScript have native support for optional + chaining with the `?.` operator now. + + You will need to update any packages that rely on the translator + module. + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 0a7e6af1: Migrate es mapping types from es-mapping-generator to .d.ts next to generated mappings +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 1f62b5c5: Add support for web-service-provided id cards on the profile page +- 64caebaf: Include openapi.json in built package +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] + - @openstapps/core-tools@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 5edf5da8..ed5a3c23 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/core", "description": "StAppsCore - Generalized model of data", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/core.git", diff --git a/packages/easy-ast/CHANGELOG.md b/packages/easy-ast/CHANGELOG.md index 4da88812..64bfc3c5 100644 --- a/packages/easy-ast/CHANGELOG.md +++ b/packages/easy-ast/CHANGELOG.md @@ -1,5 +1,97 @@ # @openstapps/easy-ast +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +- 64caebaf: Migrate easy-ast to separate package + + The `easy-ast` part of `core-tools` has been moved to its own package. + For migration, simply use the new package. + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] + - @openstapps/collection-utils@3.0.0 + - @openstapps/logger@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/easy-ast/package.json b/packages/easy-ast/package.json index bdb6e793..09d368bc 100644 --- a/packages/easy-ast/package.json +++ b/packages/easy-ast/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/easy-ast", "description": "Tool to easily handle TypeScript AST", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/core-tools.git", diff --git a/packages/es-mapping-generator/CHANGELOG.md b/packages/es-mapping-generator/CHANGELOG.md index 54aa9b10..907184c0 100644 --- a/packages/es-mapping-generator/CHANGELOG.md +++ b/packages/es-mapping-generator/CHANGELOG.md @@ -1,5 +1,96 @@ # @openstapps/es-mapping-generator +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 0a7e6af1: Remove put-es-templates + + The `put-es-templates` functionality has been removed. + +- 0a7e6af1: Migrate es mapping types from es-mapping-generator to .d.ts next to generated mappings +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Remove @openstapps/logger dependency +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/es-mapping-generator/package.json b/packages/es-mapping-generator/package.json index d5f92259..e0049ba3 100644 --- a/packages/es-mapping-generator/package.json +++ b/packages/es-mapping-generator/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/es-mapping-generator", "description": "Tool to convert TypeScript Interfaces to Elasticsearch Mappings", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "commonjs", "license": "GPL-3.0-only", "author": "Thea Schöbl ", diff --git a/packages/gitlab-api/CHANGELOG.md b/packages/gitlab-api/CHANGELOG.md index 292535f3..f1d55b82 100644 --- a/packages/gitlab-api/CHANGELOG.md +++ b/packages/gitlab-api/CHANGELOG.md @@ -1,5 +1,116 @@ # @openstapps/gitlab-api +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 98546a97: Migrate from request-promise-native to got +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [23481d0d] +- Updated dependencies [64caebaf] +- Updated dependencies [98546a97] +- Updated dependencies [64caebaf] + - @openstapps/logger@3.0.0 + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/gitlab-api/package.json b/packages/gitlab-api/package.json index 18eb053d..cec90bad 100644 --- a/packages/gitlab-api/package.json +++ b/packages/gitlab-api/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/gitlab-api", "description": "Wraps common GitLab API calls in a TypeScript class.", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/gitlab-api.git", diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index ee0b324e..cbb0a73a 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -1,5 +1,105 @@ # @openstapps/logger +## 3.0.0 + +### Major Changes + +- 64caebaf: Move project to a turbo monorepo & pnpm + + Internal dependencies are now defined using `"@openstapps/package": "workspace:*"` + + - Removed extraneous files from packages + - `.npmrc` + - `.npmignore` + - `.mailmap` + - `.gitignore` + - `CONTRIBUTING.md` + - `LICENSE` (Project license file is added upon publishing, see [pnpm.io](https://pnpm.io/cli/publish)) + - `package-lock.json` + - `.editorconfig` + - `.eslintrc.json` (moved eslint config to `package.json`) + - `.eslintignore` + - `.gitlab-ci.yml` (Most workflows are workspace-level) + - `.gitlab/**` (issue templates etc. are now workspace-level) + - `.dockerignore` (Docker files are determined by which files are deployed with `pnpm deploy`, as per `package.json/files`) + - TSConfig has been moved to its own package (You can now use `"extends": "@openstapps/tsconfig"`) + - Removed ESLint and Prettier peer dependency hell by injecting them through the `.pnpmfile.cjs` + - Added syncpack for keeping dependency versions in sync (and consistent key ordering in `package.json`) + - Replaced conventional changelog with changesets + - Apps with binaries now use a top level `app.js` + + ```js + #!/usr/bin/env node + import './lib/app.js'; + ``` + +- 64caebaf: Migrate to ESM + + CommonJS is no longer supported in any capacity. To use the new + version, you will need to migrate your package to ESM. + We recommend using `tsup` and `Node 18`. + + ```json + { + "type": "module" + } + ``` + +- 64caebaf: Migrate package to Node 18 + + - Consumers of this package will need to migrate to Node 18 or + higher. + - Packages have been migrated from promisified `readFile` or + `readFileSync` towards `fs/promises` + - Packages use native `flatMap` now + +- 64caebaf: Migrate build system to `tsup` + + All packages now use an `index.ts` file to expose contents. + + You will need to migrate paths from `import foo from '@scope/package/lib/foo` to `import foo from '@scope/package'` + +### Minor Changes + +- 64caebaf: Migrate tests to C8/Chai/Mocha + + - `@testdeck` OOP testing has been removed. + - Tests have been unified + - CommonJS module mocking has been replaced through + refactoring of tests, as ES Modules cannot be mocked + (do yourself a favor and don't try to mock them) + - C8 now replaces NYC as a native coverage tool + +- 64caebaf: Migrate away from `@krlwlfrt/async-pool` + + ```ts + import {mapAsyncLimit} from '@openstapps/collection-utils'; + + await mapAsyncLimit( + [1, 2, 3], + async it => { + await someNetworkRequest(it); + }, + 5, + ); + ``` + +### Patch Changes + +- 64caebaf: Migrated changelogs to changeset format + + ```js + import fs from 'fs'; + + const path = 'packages/logger/CHANGELOG.md'; + + fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## [')); + ``` + +- 98546a97: Migrate away from @openstapps/configuration +- 23481d0d: Update to TypeScript 5.1.6 +- 98546a97: Fix an issue with chalk terminal colors in tests + ## 3.0.0-next.4 ### Patch Changes diff --git a/packages/logger/package.json b/packages/logger/package.json index 2923c3ff..f195fe50 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,7 +1,7 @@ { "name": "@openstapps/logger", "description": "A cli logger with colors, log-levels and the possibility to use a transport system for errors", - "version": "3.0.0-next.4", + "version": "3.0.0", "type": "module", "license": "GPL-3.0-only", "repository": "git@gitlab.com:openstapps/logger.git",