Skip to content

Commit 1ba59e2

Browse files
committed
feature/Migracion-Angular-20 auto-commit
1 parent a748e7e commit 1ba59e2

5 files changed

Lines changed: 49 additions & 52 deletions

File tree

.github/workflows/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: version 3
2-
on: [push]
2+
on: [push, pull_request]
33
jobs:
44
build:
55
name: Build and Test
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v4
99
with:
1010
fetch-depth: 0
11-
- name: Use Node 16
11+
- name: Use Node 20
1212
uses: actions/setup-node@v4
1313
with:
1414
node-version: '20.x'

CHANGELOG.md

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [2.7.0] - 2026-02-03
10+
11+
- Migrate to Angular 20
12+
913
## [2.6.2] - 2026-01-13
1014

11-
- Fix error code version
15+
- Fix error code version
1216

1317
## [2.6.1] - 2026-01-13
1418

15-
- Sync code with 2.5.1
19+
- Sync code with 2.5.1
1620

1721
## [2.6.0] - 2025-09-24
1822

19-
- Migrate to angular 19
23+
- Migrate to angular 19
2024

2125
## [2.5.1] - 2025-12-10
2226

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

2731
## [2.5.0] - 2025-09-16
2832

29-
- Migrate to angular 18
33+
- Migrate to angular 18
3034

3135
## [2.4.0] - 2025-08-15
3236

33-
- Migrate to angular 17
34-
37+
- Migrate to angular 17
3538

3639
## [2.3.1] - 2025-08-01
3740

38-
- Changed CircleCI to GitHub Action and command fix
39-
41+
- Changed CircleCI to GitHub Action and command fix
4042

4143
## [2.3.0-dev-test] - 2023-08-11
4244

43-
- Migrate to angular 16
45+
- Migrate to angular 16
4446

4547
### Fixed
4648

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

4951
### Changed
5052

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

5355
## [2.3.0] - 2021-05-19
5456

5557
### Changed
5658

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

5961
## [2.2.2] - 2021-05-19
6062

6163
### Fixed
6264

63-
- 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.
64-
- When the value of a remote filter contained '&', the generated url did not keep the '&'.
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 '&'.
6567

6668
## [2.2.1] - 2020-10-17
6769

6870
### Fixed
6971

70-
- 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.
71-
- lodash dependency missing.
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.
7274

7375
## [2.2.0] - 2020-10-17
7476

7577
### Changed
7678

77-
- Local cache store is disabled by default.
78-
- Only used lodash functions are included on base script. 69.44 KB to 7.5 KB, 89% saved!
79-
- Store support is optional.
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.
8082

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

8385
### Removed
8486

85-
- config.cachestore_support
87+
- config.cachestore_support
8688

8789
## [2.1.19] - 2020-08-25
8890

8991
### Fixed
9092

91-
- Changed JS modules and methods for ES
93+
- Changed JS modules and methods for ES
9294

9395
## [2.1.18] - 2020-08-13
9496

9597
### Fixed
9698

97-
- Fixed ModuleWithProviders to work with Angular 10
99+
- Fixed ModuleWithProviders to work with Angular 10
98100

99101
## [2.1.17] - 2020-07-21
100102

101103
### Removed
102104

103-
- Removed test modules. Now they are not exported.
105+
- Removed test modules. Now they are not exported.
104106

105107
## [2.1.16] - 2020-07-18
106108

107109
### Fixed
108110

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

111113
## [2.1.15] - 2020-01-17
112114

113115
### Added
114116

115-
- Added include_get and include_save to IResourceParams
116-
- Resource's save methods uses is_new instead of ID property to select between POST and PATCH
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
117119

118120
## [2.1.14] - 2019-10-24
119121

120122
### Added
121123

122-
- Export testing resources
124+
- Export testing resources
123125

124126
## [2.1.13] - 2019-10-24
125127

126128
### Fixed
127129

128-
- ES6 support.
130+
- ES6 support.
129131

130132
### Deprecated
131133

132-
- Deprecated `@Autoregister()` decorator.
134+
- Deprecated `@Autoregister()` decorator.
133135

134136
## [0.0.1]
135137

136138
### Added
137139

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
]
6161
},
6262
"engines": {
63-
"node": ">=8.6.0",
63+
"node": ">=20.11.1",
6464
"npm": ">=5.3.0",
6565
"yarn": ">=1.3.0 <2.0.0"
6666
},
@@ -97,7 +97,7 @@
9797
},
9898
"resolutions": {
9999
"minimatch": "9.0.0",
100-
"jest-environment-jsdom": "29.6.2",
100+
"jest-environment-jsdom": "30.2.0",
101101
"esbuild-wasm": "0.14.54"
102102
},
103103
"devDependencies": {
@@ -181,5 +181,5 @@
181181
"tsickle": "^0.46.3",
182182
"tslib": "^2.8.1"
183183
},
184-
"version": "2.6.2"
185-
}
184+
"version": "2.7.0"
185+
}

projects/ngx-jsonapi-lib/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-jsonapi",
3-
"version": "2.6.2",
3+
"version": "2.7.0",
44
"description": "JSON API library for Angular",
55
"module": "ngx-jsonapi/@ngx-jsonapi/ngx-jsonapi.es5.js",
66
"es2015": "ngx-jsonapi/@ngx-jsonapi/ngx-jsonapi.js",
@@ -18,15 +18,15 @@
1818
"license": "MIT",
1919
"homepage": "https://github.com/reyesoft/ngx-jsonapi#readme",
2020
"peerDependencies": {
21-
"@angular/animations": "^18.0.0 || ^19.0.0 || ^20.0.0",
22-
"@angular/common": "^18.0.0 || ^19.0.0 || ^20.0.0",
23-
"@angular/compiler": "^18.0.0 || ^19.0.0 || ^20.0.0",
24-
"@angular/core": "^18.0.0 || ^19.0.0 || ^20.0.0",
25-
"@angular/forms": "^18.0.0 || ^19.0.0 || ^20.0.0",
26-
"@angular/platform-browser": "^18.0.0 || ^19.0.0 || ^20.0.0",
27-
"@angular/platform-browser-dynamic": "^18.0.0 || ^19.0.0 || ^20.0.0",
28-
"@angular/platform-server": "^18.0.0 || ^19.0.0 || ^20.0.0",
29-
"@angular/router": "^18.0.0 || ^19.0.0 || ^20.0.0",
21+
"@angular/animations": "^19.0.0 || ^20.0.0",
22+
"@angular/common": "^19.0.0 || ^20.0.0",
23+
"@angular/compiler": "^19.0.0 || ^20.0.0",
24+
"@angular/core": "^19.0.0 || ^20.0.0",
25+
"@angular/forms": "^19.0.0 || ^20.0.0",
26+
"@angular/platform-browser": "^19.0.0 || ^20.0.0",
27+
"@angular/platform-browser-dynamic": "^19.0.0 || ^20.0.0",
28+
"@angular/platform-server": "^19.0.0 || ^20.0.0",
29+
"@angular/router": "^19.0.0 || ^20.0.0",
3030
"lodash-es": "^4.17",
3131
"dexie": "^2.0.4 || ^4.0.0"
3232
},

projects/ngx-jsonapi-lib/src/lib/sources/http.service.spec.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ describe('Http service', () => {
2323
};
2424
beforeEach(() => {
2525
TestBed.configureTestingModule({
26-
providers: [
27-
Http,
28-
{ provide: JsonapiConfig, useValue: JsonapiConfigMock },
29-
provideHttpClient(),
30-
provideHttpClientTesting()
31-
]
26+
providers: [Http, { provide: JsonapiConfig, useValue: JsonapiConfigMock }, provideHttpClient(), provideHttpClientTesting()]
3227
});
3328
service = TestBed.inject(Http);
3429
});

0 commit comments

Comments
 (0)