nestjsx / crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
4.1k stars 542 forks source link

feat(typeorm): create initial support for typeorm ^0.3.0 and nest ^9.0.0 #797

Closed MrMaz closed 2 years ago

MrMaz commented 2 years ago

TypeORM has been upgraded to ^0.3.0. Nest has been upgraded to ^9.0.0. Minor changes to TypeORM crud service related to unique select columns. Major changes to tests to support new DataSource configuration.

BREAKING CHANGE: TypeORM v0.3.0 came with many breaking changes, please see their release notes for more details. https://github.com/typeorm/typeorm/releases/tag/0.3.0

re #790

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Tests
[ ] Release
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

TypeORM ^0.3.0 is not supported.

Issue Number: 790

What is the new behavior?

TypeORM ^0.3.0 is supported, as well as Nest ^9.0.0 (required for latest TypeORM support)

Does this PR introduce a breaking change?

[X] Yes
[ ] No

TypeORM ^0.3.0 introduced quite a few breaking changes, most significantly how connections are configured. See their release notes here: https://github.com/typeorm/typeorm/releases/tag/0.3.0

Nest ^9.0.0 is also required for the latest TypeORM ^0.3.0 support

Other information

theres commented 1 year ago

@michaelyali any chance to release it soon?

michaelyali commented 1 year ago

@theres yep