From 80e9b3004a40d416bbe62f92beee8c1e971aa224 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Wed, 7 May 2025 12:03:48 +0200 Subject: [PATCH] chore: Version 0.3.23 (#11439) --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ DEVELOPER.md | 11 +++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 41 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f36d6cbe..389947e06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## [0.3.23](https://github.com/typeorm/typeorm/compare/0.3.22...0.3.23) (2025-05-05) + + +### Bug Fixes + +* beforeQuery promises not awaited before query execution ([#11086](https://github.com/typeorm/typeorm/issues/11086)) ([b9842e3](https://github.com/typeorm/typeorm/commit/b9842e3be918db69393325fb799b647480d56e9d)), closes [#11085](https://github.com/typeorm/typeorm/issues/11085) [#11085](https://github.com/typeorm/typeorm/issues/11085) +* change how array columns are compared on column changed detection ([#11269](https://github.com/typeorm/typeorm/issues/11269)) ([a61654e](https://github.com/typeorm/typeorm/commit/a61654e07985692626e133fc38416fb574408c91)), closes [#5967](https://github.com/typeorm/typeorm/issues/5967) +* cleanup after streaming in sap hana ([#11399](https://github.com/typeorm/typeorm/issues/11399)) ([fadad1a](https://github.com/typeorm/typeorm/commit/fadad1a74c7955995b9a1ec48ac8ef7a627fbd33)) +* **mongo:** propagate `aggregate` method's generic type to its returned cursor ([#10754](https://github.com/typeorm/typeorm/issues/10754)) ([56f1898](https://github.com/typeorm/typeorm/commit/56f1898c4eef2682f534acf3f828f99d21a9ca6b)) +* prevent error when replication is undefined ([#11423](https://github.com/typeorm/typeorm/issues/11423)) ([61a6f97](https://github.com/typeorm/typeorm/commit/61a6f971afa6c82fb6abbc57839dac25a81db775)) +* update/delete/softDelete by criteria of condition objects ([#10910](https://github.com/typeorm/typeorm/issues/10910)) + +### Features + +* add FormattedConsoleLogger ([#11401](https://github.com/typeorm/typeorm/issues/11401)) ([4c8fc3a](https://github.com/typeorm/typeorm/commit/4c8fc3a7cbd2e2db90d2ade43b151bbf1c40814b)), closes [#10801](https://github.com/typeorm/typeorm/issues/10801) +* add new foreign key decorator, and entity schemas options ([#11144](https://github.com/typeorm/typeorm/issues/11144)) ([6ebae3b](https://github.com/typeorm/typeorm/commit/6ebae3b7956cc6da4258358ba590cd8bb821c54f)), closes [#4569](https://github.com/typeorm/typeorm/issues/4569) +* Add query timeout support for MySql ([#10846](https://github.com/typeorm/typeorm/issues/10846)) ([046aebe](https://github.com/typeorm/typeorm/commit/046aebe6960c44fbcdd195e378d3b60515b10f31)) +* generate ESM migrations via esm flag ([#10802](https://github.com/typeorm/typeorm/issues/10802)) ([7c5ea99](https://github.com/typeorm/typeorm/commit/7c5ea99b3164306cd8816c9d1b026d2cbc8969fa)), closes [#10801](https://github.com/typeorm/typeorm/issues/10801) +* publish PR releases using pkg.pr.new ([274bdf2](https://github.com/typeorm/typeorm/commit/274bdf2e1a5c2f9ece41d1cd1742612f2c2d925f)) + + +### Performance Improvements + +* **query-runner:** use Date.now() instead of +new Date() ([#10811](https://github.com/typeorm/typeorm/issues/10811)) ([fe71a0c](https://github.com/typeorm/typeorm/commit/fe71a0c3e441bc5fc68eec78c575d7ab5cc81bad)) + + + ## [0.3.22](https://github.com/typeorm/typeorm/compare/0.3.21...0.3.22) (2025-04-03) diff --git a/DEVELOPER.md b/DEVELOPER.md index 92e42efad..2bb90a9d5 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -165,3 +165,14 @@ in the root of the project. Once all images are fetched and are running, you can - The docker image of mssql-server needs at least 3.25GB of RAM. - Make sure to assign enough memory to the Docker VM if you're running on Docker for Mac or Windows + +## Release Process + +To create a new release, follow these steps: + +1. Create a new branch from `master` with the format `release-x.x.x` (e.g. `release-0.3.23`). +2. Update the version in `package.json` and run `npm install` to update the lock file. +3. Run the `npm run changelog` command to generate the changelog for the new version. +4. Commit the changes and create a pull request to merge the release branch into `master`. +5. Once the pull request is approved and merged, create a new release on GitHub with the same version number. +6. The `publish-package.yml` script will then run a GitHub Actions workflow that will publish the new version to npm. diff --git a/package-lock.json b/package-lock.json index a3a368271..570bda2af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "typeorm", - "version": "0.3.22", + "version": "0.3.23", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "typeorm", - "version": "0.3.22", + "version": "0.3.23", "license": "MIT", "dependencies": { "@sqltools/formatter": "^1.2.5", diff --git a/package.json b/package.json index c601906f8..b7a0c62a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typeorm", - "version": "0.3.22", + "version": "0.3.23", "description": "Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.", "homepage": "https://typeorm.io", "bugs": {