Skip to content

Commit 26486e8

Browse files
feat(search-client): add support for angular v21 (#52)
BREAKING CHANGE: YES ## Description This pull request upgrades the Angular dependencies for the search module and related packages from Angular v20 to Angular v21. It also updates the deprecation notice in documentation to reflect this new support window. Fixes #50 ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Intermediate change (work in progress) ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Test A - [ ] Test B ## Checklist: - [x] Performed a self-review of my own code - [x] npm test passes on your machine - [ ] New tests added or existing tests modified to cover all changes - [ ] Code conforms with the style guide - [ ] API Documentation in code was updated - [ ] Any dependent changes have been merged and published in downstream modules
1 parent ca924ed commit 26486e8

File tree

11 files changed

+4574
-3984
lines changed

11 files changed

+4574
-3984
lines changed

packages/search/README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,32 @@
22

33
An Angular module that exports a component that can enable users to search over configured models using the search microservice provided in the sourceloop microservice catalog.
44

5-
### Deprecation Notice
6-
7-
Search-client now supports Angular v20, we will provide support for the older version that is based on Angular v19 till 30th June 2026 .
5+
### Angular Version Compatibility
6+
7+
To ensure smooth integration, install the Search Library version that corresponds to your Angular version:
8+
9+
<table border="1" cellpadding="8" style="border-collapse: collapse; width: 100%; text-align: left;">
10+
<thead>
11+
<tr>
12+
<th>Angular Version</th>
13+
<th>Compatible Search-Client Version</th>
14+
</tr>
15+
</thead>
16+
<tbody>
17+
<tr>
18+
<td>Angular v19</td>
19+
<td>@sourceloop/search-client v8.x</td>
20+
</tr>
21+
<tr>
22+
<td>Angular v20</td>
23+
<td>@sourceloop/search-client v9.x</td>
24+
</tr>
25+
<tr>
26+
<td>Angular v21+</td>
27+
<td>Latest version (v10.x and above)</td>
28+
</tr>
29+
</tbody>
30+
</table>
831

932
## Angular Module
1033

packages/search/package-lock.json

Lines changed: 2218 additions & 1873 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/search/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"license": "MIT",
2323
"private": true,
2424
"dependencies": {
25-
"@angular/animations": "^20.0.3",
26-
"@angular/common": "^20.0.3",
27-
"@angular/compiler": "^20.0.3",
28-
"@angular/core": "^20.0.3",
29-
"@angular/elements": "^20.0.3",
30-
"@angular/forms": "^20.0.3",
31-
"@angular/platform-browser": "^20.0.3",
32-
"@angular/platform-browser-dynamic": "^20.0.3",
33-
"@angular/router": "^20.0.3",
25+
"@angular/animations": "^21.0.3",
26+
"@angular/common": "^21.0.3",
27+
"@angular/compiler": "^21.0.3",
28+
"@angular/core": "^21.0.3",
29+
"@angular/elements": "^21.0.3",
30+
"@angular/forms": "^21.0.3",
31+
"@angular/platform-browser": "^21.0.3",
32+
"@angular/platform-browser-dynamic": "^21.0.3",
33+
"@angular/router": "^21.0.3",
3434
"rxjs": "^7.8.1",
3535
"tslib": "^2.6.2",
3636
"zone.js": "^0.15.0"
@@ -40,12 +40,12 @@
4040
"dist"
4141
],
4242
"devDependencies": {
43-
"@angular-devkit/build-angular": "^20.0.3",
44-
"@angular/cdk": "^20.0.3",
45-
"@angular/cli": "^20.0.3",
46-
"@angular/compiler-cli": "^20.0.3",
43+
"@angular-devkit/build-angular": "^21.0.2",
44+
"@angular/cdk": "^21.0.2",
45+
"@angular/cli": "^21.0.2",
46+
"@angular/compiler-cli": "^21.0.3",
4747
"@angular/flex-layout": "~15.0.0-beta.42",
48-
"@angular/material": "^20.0.3",
48+
"@angular/material": "^21.0.2",
4949
"@types/fs-extra": "^11.0.1",
5050
"@types/jasmine": "~3.8.0",
5151
"@types/node": "18.7.8",
@@ -57,10 +57,10 @@
5757
"karma-coverage": "~2.0.3",
5858
"karma-jasmine": "~4.0.0",
5959
"karma-jasmine-html-reporter": "~1.7.0",
60-
"ng-packagr": "^20.0.0",
60+
"ng-packagr": "^21.0.0",
6161
"prettier": "^2.4.1",
6262
"ts-node": "^10.9.1",
63-
"typescript": "~5.8.0"
63+
"typescript": "5.9.2"
6464
},
6565
"publishConfig": {
6666
"registry": "https://registry.npmjs.org/",

packages/search/projects/search-element/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
},
2020
"author": "Sourcefuse",
2121
"license": "MIT",
22-
"hash": "64ee416c86311c1bde0e03af55684dba28460131cc5aca311b1eb40373ca561e"
23-
}
22+
"hash": "a1648818b320e5d599f4dc220108c2256060a5c076f294707f0c4be75c967c67"
23+
}

packages/search/projects/search-lib/README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,32 @@
22

33
An Angular module that exports a component that can enable users to search over configured models using the search microservice provided in the sourceloop microservice catalog.
44

5-
### Deprecation Notice
6-
7-
Search-client now supports Angular v20, we will provide support for the older version that is based on Angular v19 till 30th June 2026 .
5+
### Angular Version Compatibility
6+
7+
To ensure smooth integration, install the Search Library version that corresponds to your Angular version:
8+
9+
<table border="1" cellpadding="8" style="border-collapse: collapse; width: 100%; text-align: left;">
10+
<thead>
11+
<tr>
12+
<th>Angular Version</th>
13+
<th>Compatible Search-Client Version</th>
14+
</tr>
15+
</thead>
16+
<tbody>
17+
<tr>
18+
<td>Angular v19</td>
19+
<td>@sourceloop/search-client v8.x</td>
20+
</tr>
21+
<tr>
22+
<td>Angular v20</td>
23+
<td>@sourceloop/search-client v9.x</td>
24+
</tr>
25+
<tr>
26+
<td>Angular v21+</td>
27+
<td>Latest version (v10.x and above)</td>
28+
</tr>
29+
</tbody>
30+
</table>
831

932
## Angular Module
1033

0 commit comments

Comments
 (0)