Skip to content

Commit f1354a4

Browse files
authored
chore(release): v2.1.4 (#1474)
1 parent 38d320e commit f1354a4

File tree

3 files changed

+30
-22
lines changed

3 files changed

+30
-22
lines changed

CHANGELOG.md

+27-19
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,45 @@
11
# Changelog
22

3+
## [2.1.4](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.1.3...v2.1.4) (2022-10-15)
4+
5+
### Bug Fixes
6+
7+
- **ci:** bump markdownlint ([#1470](https://github.com/RobinBuschmann/sequelize-typescript/issues/1470)) ([b24869b](https://github.com/RobinBuschmann/sequelize-typescript/commit/b24869bc770289c37b9b74f43630aa63eab706b4))
8+
- **model:** compatible constructor with sequelize ([#1310](https://github.com/RobinBuschmann/sequelize-typescript/issues/1310)) ([4f03520](https://github.com/RobinBuschmann/sequelize-typescript/commit/4f03520c4c3076a3d7c6ed6fc4ed76f1c06f9ef7))
9+
- update to TypeScript 4.8 ([#1453](https://github.com/RobinBuschmann/sequelize-typescript/issues/1453)) ([5ddfa61](https://github.com/RobinBuschmann/sequelize-typescript/commit/5ddfa612de51750f0f81e1d8c7e4fc2d03824713))
10+
311
## [2.1.3](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.1.2...v2.1.3) (2022-02-16)
412

513
### Bug Fixes
614

7-
* Fix sequelize/types/lib/hooks path ([#1202](https://github.com/RobinBuschmann/sequelize-typescript/issues/1198)) ([ab45c14](https://github.com/RobinBuschmann/sequelize-typescript/commit/ab45c14da8cbd388f7611c0703e1f198e1f4541b))
15+
- Fix sequelize/types/lib/hooks path ([#1202](https://github.com/RobinBuschmann/sequelize-typescript/issues/1198)) ([ab45c14](https://github.com/RobinBuschmann/sequelize-typescript/commit/ab45c14da8cbd388f7611c0703e1f198e1f4541b))
816

917
## [2.1.2](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.1.1...v2.1.2) (2022-01-03)
1018

1119
### Bug Fixes
1220

13-
* use custom decorator on column have a property descriptor ([#1070](https://github.com/RobinBuschmann/sequelize-typescript/issues/1070)) ([7ce03de](https://github.com/RobinBuschmann/sequelize-typescript/commit/7ce03de76b465172994f41a55058ea49f3ce27c3))
14-
* **validators:** allow any values for isIn/notIn ([#1124](https://github.com/RobinBuschmann/sequelize-typescript/issues/1124)) ([d25b392](https://github.com/RobinBuschmann/sequelize-typescript/commit/d25b39282d2a49e4e5cf286100344e7d1fda3c84))
21+
- use custom decorator on column have a property descriptor ([#1070](https://github.com/RobinBuschmann/sequelize-typescript/issues/1070)) ([7ce03de](https://github.com/RobinBuschmann/sequelize-typescript/commit/7ce03de76b465172994f41a55058ea49f3ce27c3))
22+
- **validators:** allow any values for isIn/notIn ([#1124](https://github.com/RobinBuschmann/sequelize-typescript/issues/1124)) ([d25b392](https://github.com/RobinBuschmann/sequelize-typescript/commit/d25b39282d2a49e4e5cf286100344e7d1fda3c84))
1523

1624
## [2.1.1](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.1.0...v2.1.1) (2021-10-10)
1725

1826
### Bug Fixes
1927

20-
* **model:** adjust init method to recently introduced sequelize type changes ([b60c011](https://github.com/RobinBuschmann/sequelize-typescript/commit/b60c011be2e971e56cb783d4ade994965faab916))
28+
- **model:** adjust init method to recently introduced sequelize type changes ([b60c011](https://github.com/RobinBuschmann/sequelize-typescript/commit/b60c011be2e971e56cb783d4ade994965faab916))
2129

2230
## [2.1.0](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.0.0-beta.1...v2.1.0) (2021-02-14)
2331

2432
Initial release with Changelog.
2533

2634
### Bug Fixes
2735

28-
* allow $set null (remove association) ([#774](https://github.com/RobinBuschmann/sequelize-typescript/issues/774)) ([ffe1c78](https://github.com/RobinBuschmann/sequelize-typescript/commit/ffe1c78df73df7f287b8ce345d6ac0df30283723))
29-
* model associations methods to reflect sequelize v6 ([#888](https://github.com/RobinBuschmann/sequelize-typescript/issues/888)) ([6b1e3ff](https://github.com/RobinBuschmann/sequelize-typescript/commit/6b1e3fffd974f087be2e18258306f81860923ba3))
30-
* typeof Model errors by using typeof Model generics ([#900](https://github.com/RobinBuschmann/sequelize-typescript/issues/900)) ([b865840](https://github.com/RobinBuschmann/sequelize-typescript/commit/b8658404f12e7a44893c9b8652714473bb25f495))
36+
- allow $set null (remove association) ([#774](https://github.com/RobinBuschmann/sequelize-typescript/issues/774)) ([ffe1c78](https://github.com/RobinBuschmann/sequelize-typescript/commit/ffe1c78df73df7f287b8ce345d6ac0df30283723))
37+
- model associations methods to reflect sequelize v6 ([#888](https://github.com/RobinBuschmann/sequelize-typescript/issues/888)) ([6b1e3ff](https://github.com/RobinBuschmann/sequelize-typescript/commit/6b1e3fffd974f087be2e18258306f81860923ba3))
38+
- typeof Model errors by using typeof Model generics ([#900](https://github.com/RobinBuschmann/sequelize-typescript/issues/900)) ([b865840](https://github.com/RobinBuschmann/sequelize-typescript/commit/b8658404f12e7a44893c9b8652714473bb25f495))
3139

3240
### Features
3341

34-
* infer bigint data type ([#893](https://github.com/RobinBuschmann/sequelize-typescript/issues/893)) ([7c467d4](https://github.com/RobinBuschmann/sequelize-typescript/commit/7c467d404a200b3153cc7aa2605d1e542bef3da9))
42+
- infer bigint data type ([#893](https://github.com/RobinBuschmann/sequelize-typescript/issues/893)) ([7c467d4](https://github.com/RobinBuschmann/sequelize-typescript/commit/7c467d404a200b3153cc7aa2605d1e542bef3da9))
3543

3644
## Older versions
3745

@@ -47,7 +55,7 @@ npm install [email protected]
4755
#### V5 Model definition
4856

4957
```typescript
50-
import { Table, Model } from 'sequelize-typescript'
58+
import { Table, Model } from 'sequelize-typescript';
5159

5260
@Table
5361
class Person extends Model<Person> {}
@@ -64,17 +72,17 @@ npm install [email protected]
6472

6573
### Upgrade to `sequelize-typescript@2`
6674

67-
* `sequelize-typescript@2` only works with `[email protected]>=`.
75+
- `sequelize-typescript@2` only works with `[email protected]>=`.
6876
For `sequelize@5` use `[email protected]`.
6977

7078
#### Breaking Changes
7179

72-
* All breaking changes of `sequelize@6` are also valid for `sequelize-typescript@2`.
80+
- All breaking changes of `sequelize@6` are also valid for `sequelize-typescript@2`.
7381
See [Upgrade to v6](https://sequelize.org/master/manual/upgrade-to-v6.html) for details.
74-
* `@types/bluebird` is no longer needed, `sequelize@6` removed usage of `bluebird`
75-
* Sequelize v6.2 introduced additional model attributes typings, which affects how the model is defined.
76-
* See below comparison between V5 and V6 model definition to show how to upgrade models.
77-
* For more details, see [sequelize typescript docs](https://sequelize.org/master/manual/typescript.html).
82+
- `@types/bluebird` is no longer needed, `sequelize@6` removed usage of `bluebird`
83+
- Sequelize v6.2 introduced additional model attributes typings, which affects how the model is defined.
84+
- See below comparison between V5 and V6 model definition to show how to upgrade models.
85+
- For more details, see [sequelize typescript docs](https://sequelize.org/master/manual/typescript.html).
7886

7987
### Upgrade to `sequelize-typescript@1`
8088

@@ -92,7 +100,7 @@ sequelize-typescript now uses the official typings bundled with sequelize
92100
(See [this](https://sequelize.org/v5/manual/upgrade-to-v5.html#typescript-support)).
93101
Please note the following details:
94102

95-
* Most of the sequelize-typescript interfaces of the previous version are replaced by the official ones
96-
* `@types/sequelize` is no longer used
97-
* `@types/bluebird` is no longer an explicit dependency
98-
* The official typings are less strict than the former sequelize-typescript ones
103+
- Most of the sequelize-typescript interfaces of the previous version are replaced by the official ones
104+
- `@types/sequelize` is no longer used
105+
- `@types/bluebird` is no longer an explicit dependency
106+
- The official typings are less strict than the former sequelize-typescript ones

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sequelize-typescript",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "Decorators and some other features for sequelize",
55
"scripts": {
66
"build": "tsc",

0 commit comments

Comments
 (0)