Skip to content

Commit d8c93fe

Browse files
committed
feature/Migracion-Angular-20 auto-commit
1 parent 96934f6 commit d8c93fe

2 files changed

Lines changed: 33 additions & 31 deletions

File tree

CHANGELOG.md

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
## [2.7.0] - 2026-02-03
1010

11-
- Migrate to Angular 20
11+
- Migrate to Angular 20
1212

1313
## [2.6.2] - 2026-01-13
1414

15-
- Fix error code version
15+
- Fix error code version
1616

1717
## [2.6.1] - 2026-01-13
1818

19-
- Sync code with 2.5.1
19+
- Sync code with 2.5.1
2020

2121
## [2.6.0] - 2025-09-24
2222

23-
- Migrate to angular 19
23+
- Migrate to angular 19
2424

2525
## [2.5.1] - 2025-12-10
2626

@@ -30,111 +30,113 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3030

3131
## [2.5.0] - 2025-09-16
3232

33-
- Migrate to angular 18
33+
- Migrate to angular 18
3434

3535
## [2.4.0] - 2025-08-15
3636

37-
- Migrate to angular 17
37+
- Migrate to angular 17
38+
3839

3940
## [2.3.1] - 2025-08-01
4041

41-
- Changed CircleCI to GitHub Action and command fix
42+
- Changed CircleCI to GitHub Action and command fix
43+
4244

4345
## [2.3.0-dev-test] - 2023-08-11
4446

45-
- Migrate to angular 16
47+
- Migrate to angular 16
4648

4749
### Fixed
4850

49-
- Fixed error lint with eslint ([#332](https://github.com/reyesoft/ngx-jsonapi/pull/332))
51+
- Fixed error lint with eslint ([#332](https://github.com/reyesoft/ngx-jsonapi/pull/332))
5052

5153
### Changed
5254

53-
- Migrated tslint to eslint. ([#331](https://github.com/reyesoft/ngx-jsonapi/pull/331))
55+
- Migrated tslint to eslint. ([#331](https://github.com/reyesoft/ngx-jsonapi/pull/331))
5456

5557
## [2.3.0] - 2021-05-19
5658

5759
### Changed
5860

59-
- Angular version upgraded to 10, and vulnerabilities updated. ([#306](https://github.com/reyesoft/ngx-jsonapi/pull/306))
61+
- Angular version upgraded to 10, and vulnerabilities updated. ([#306](https://github.com/reyesoft/ngx-jsonapi/pull/306))
6062

6163
## [2.2.2] - 2021-05-19
6264

6365
### Fixed
6466

65-
- When ttl 0 was set, a request to the server was not made again, it brought it from memory, it was corrected in the isLive function of common.
66-
- When the value of a remote filter contained '&', the generated url did not keep the '&'.
67+
- When ttl 0 was set, a request to the server was not made again, it brought it from memory, it was corrected in the isLive function of common.
68+
- When the value of a remote filter contained '&', the generated url did not keep the '&'.
6769

6870
## [2.2.1] - 2020-10-17
6971

7072
### Fixed
7173

72-
- Warning: Entry point 'ngx-jsonapi' contains deep imports into 'node_modules/rxjs/internal/util/noop'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
73-
- lodash dependency missing.
74+
- Warning: Entry point 'ngx-jsonapi' contains deep imports into 'node_modules/rxjs/internal/util/noop'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
75+
- lodash dependency missing.
7476

7577
## [2.2.0] - 2020-10-17
7678

7779
### Changed
7880

79-
- Local cache store is disabled by default.
80-
- Only used lodash functions are included on base script. 69.44 KB to 7.5 KB, 89% saved!
81-
- Store support is optional.
81+
- Local cache store is disabled by default.
82+
- Only used lodash functions are included on base script. 69.44 KB to 7.5 KB, 89% saved!
83+
- Store support is optional.
8284

8385
![image](https://user-images.githubusercontent.com/938894/96340064-d58a7500-106e-11eb-9181-464186f9e2f1.png)
8486

8587
### Removed
8688

87-
- config.cachestore_support
89+
- config.cachestore_support
8890

8991
## [2.1.19] - 2020-08-25
9092

9193
### Fixed
9294

93-
- Changed JS modules and methods for ES
95+
- Changed JS modules and methods for ES
9496

9597
## [2.1.18] - 2020-08-13
9698

9799
### Fixed
98100

99-
- Fixed ModuleWithProviders to work with Angular 10
101+
- Fixed ModuleWithProviders to work with Angular 10
100102

101103
## [2.1.17] - 2020-07-21
102104

103105
### Removed
104106

105-
- Removed test modules. Now they are not exported.
107+
- Removed test modules. Now they are not exported.
106108

107109
## [2.1.16] - 2020-07-18
108110

109111
### Fixed
110112

111-
- With cachestore_support=false, dont try to save resources on LocalStorage. Problem detected with Angular Server Side Rendering.
113+
- With cachestore_support=false, dont try to save resources on LocalStorage. Problem detected with Angular Server Side Rendering.
112114

113115
## [2.1.15] - 2020-01-17
114116

115117
### Added
116118

117-
- Added include_get and include_save to IResourceParams
118-
- Resource's save methods uses is_new instead of ID property to select between POST and PATCH
119+
- Added include_get and include_save to IResourceParams
120+
- Resource's save methods uses is_new instead of ID property to select between POST and PATCH
119121

120122
## [2.1.14] - 2019-10-24
121123

122124
### Added
123125

124-
- Export testing resources
126+
- Export testing resources
125127

126128
## [2.1.13] - 2019-10-24
127129

128130
### Fixed
129131

130-
- ES6 support.
132+
- ES6 support.
131133

132134
### Deprecated
133135

134-
- Deprecated `@Autoregister()` decorator.
136+
- Deprecated `@Autoregister()` decorator.
135137

136138
## [0.0.1]
137139

138140
### Added
139141

140-
- Migration from [AngularJS ts-angular-jsonapi](https://github.com/reyesoft/ts-angular-jsonapi) to Angular 4.
142+
- Migration from [AngularJS ts-angular-jsonapi](https://github.com/reyesoft/ts-angular-jsonapi) to Angular 4.

projects/ngx-jsonapi-lib/src/lib/resource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ export class Resource implements ICacheable {
267267
public hasOneRelated(resource: string): boolean {
268268
return Boolean(
269269
this.relationships[resource] &&
270-
(<Resource>this.relationships[resource].data).type &&
271-
(<Resource>this.relationships[resource].data).type !== ''
270+
(<Resource>this.relationships[resource].data).type &&
271+
(<Resource>this.relationships[resource].data).type !== ''
272272
);
273273
}
274274

0 commit comments

Comments
 (0)