Skip to content

Commit

Permalink
Prepare release 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Apr 7, 2021
1 parent 16719ff commit 8d10e0b
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 12 deletions.
35 changes: 33 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,40 @@
### [3.4.2](https://github.com/nartc/mapper/compare/3.4.1...3.4.2) (2021-03-22)
## [3.5.0](https://github.com/nartc/mapper/compare/3.4.2...3.5.0) (2021-04-07)

### Features

- **classes:** add logic to handle getter only properties ([d081ac6](https://github.com/nartc/mapper/commit/d081ac65440ccae0af703ada9354003871305bb3))

#### Deprecations:

- **classes:** `AutoMap` decorator now accepts an `AutoMapOptions` instead. The other usage have been marked **deprecated**.

```ts
class Foo {
// before
@AutoMap(() => Bar)
bar: Bar;

// after
@AutoMap({ typeFn: () => Baz })
baz: Baz;
}
```

- **core:** allow mapWithArguments to accept Resolver ([8f1dfc6](https://github.com/nartc/mapper/commit/8f1dfc6f27d829aec16e0ffc79d31edab6316569))

### Refactor

- **core:** move isResolver to utils ([ea2bc42](https://github.com/nartc/mapper/commit/ea2bc429c3cebe247589778a6ab99a9374d96799))

### Documentations

- update docs deps and add new docs ([16719ff](https://github.com/nartc/mapper/commit/16719ff596a6a0c1d52ff91d98e13bd7db5d0064))

### [3.4.2](https://github.com/nartc/mapper/compare/3.4.1...3.4.2) (2021-03-22)

### Bug Fixes

* **core:** pass extraArguments down to nested mapping ([10465be](https://github.com/nartc/mapper/commit/10465be62102f8914eaadc5fe29e6897670b59c7))
- **core:** pass extraArguments down to nested mapping ([10465be](https://github.com/nartc/mapper/commit/10465be62102f8914eaadc5fe29e6897670b59c7))

### [3.4.1](https://github.com/nartc/mapper/compare/3.4.0...3.4.1) (2021-03-16)

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "automapper",
"version": "3.4.2",
"version": "3.5.0",
"license": "MIT",
"scripts": {
"nx": "nx",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/classes/experimental/transformer-plugin",
"version": "3.4.2",
"version": "3.5.0",
"sideEffects": false,
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/classes/mapped-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/classes/mapped-types",
"version": "3.4.2",
"version": "3.5.0",
"sideEffects": false,
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/classes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/classes",
"version": "3.4.2",
"version": "3.5.0",
"peerDependencies": {
"reflect-metadata": "~0.1.13"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/core",
"version": "3.4.2",
"version": "3.5.0",
"sideEffects": false,
"engines": {
"node": ">=10.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/nestjs",
"version": "3.4.2",
"version": "3.5.0",
"peerDependencies": {
"@nestjs/common": "^7.0.0",
"@nestjs/core": "^7.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/pojos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/pojos",
"version": "3.4.2",
"version": "3.5.0",
"sideEffects": false,
"engines": {
"node": ">=10.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sequelize/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/sequelize",
"version": "3.4.2",
"version": "3.5.0",
"peerDependencies": {
"reflect-metadata": "~0.1.13",
"sequelize": "~6.5.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automapper/types",
"version": "3.4.2",
"version": "3.5.0",
"sideEffects": false,
"engines": {
"node": ">=10.0.0"
Expand Down

0 comments on commit 8d10e0b

Please sign in to comment.