Skip to content

Commit 293a596

Browse files
chore(release): 2.0.0 [skip ci]
# [2.0.0](v1.2.1...v2.0.0) (2023-01-27) ### Bug Fixes * add missing params for deprecate ([efc09aa](efc09aa)) * change license to LGPL ([3aa7bc7](3aa7bc7)) ### chore * upgrade to ember v4 ([65ab213](65ab213)) ### Code Refactoring * **decorator:** remove need for magic getter to access localized object of a field ([af52008](af52008)) ### BREAKING CHANGES * **decorator:** - Remove previously deprecated `getUnlocalizedField`. - Access the localized object of an attribute via `localizedObjects.myField` instead of the magic key `myFieldObject`. * - Requires ember-auto-import >= v2.0.0 - Supports node >= 16.x * The library is now licensed under the LGPL-3.0-or-later license.
1 parent 160bfae commit 293a596

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# [2.0.0](https://github.com/projectcaluma/ember-localized-model/compare/v1.2.1...v2.0.0) (2023-01-27)
2+
3+
4+
### Bug Fixes
5+
6+
* add missing params for deprecate ([efc09aa](https://github.com/projectcaluma/ember-localized-model/commit/efc09aa9e8748b297d0c4b41426995d01bad6831))
7+
* change license to LGPL ([3aa7bc7](https://github.com/projectcaluma/ember-localized-model/commit/3aa7bc74547e0e9f910c7f9f0a96093a4bcee47e))
8+
9+
10+
### chore
11+
12+
* upgrade to ember v4 ([65ab213](https://github.com/projectcaluma/ember-localized-model/commit/65ab2130dc9b02d197737daa80e83c197fa5e9d2))
13+
14+
15+
### Code Refactoring
16+
17+
* **decorator:** remove need for magic getter to access localized object of a field ([af52008](https://github.com/projectcaluma/ember-localized-model/commit/af520080663d38c349bc232ccbf73d4e32d94055))
18+
19+
20+
### BREAKING CHANGES
21+
22+
* **decorator:** - Remove previously deprecated `getUnlocalizedField`.
23+
- Access the localized object of an attribute via `localizedObjects.myField` instead of the magic key `myFieldObject`.
24+
* - Requires ember-auto-import >= v2.0.0
25+
- Supports node >= 16.x
26+
* The library is now licensed under the LGPL-3.0-or-later license.
27+
128
## [1.2.1](https://github.com/projectcaluma/ember-localized-model/compare/v1.2.0...v1.2.1) (2021-04-21)
229

330
### Bug Fixes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-localized-model",
3-
"version": "1.2.1",
3+
"version": "2.0.0",
44
"description": "Handle model field translations for JSON:API",
55
"keywords": [
66
"ember-addon",

0 commit comments

Comments
 (0)