-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): add support for angular v18 #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
a7e0b6b to
5fe58b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Angular framework and its dependencies from version 17 to version 18 across the search client library. This is a breaking change that adds support for Angular v18 while maintaining backward compatibility documentation.
- Updated all Angular-related dependencies from ^17.3.0 to ^18.0.0
- Updated TypeScript to version ~5.4.3 to align with Angular 18 requirements
- Added version compatibility documentation to clarify usage patterns
Reviewed Changes
Copilot reviewed 6 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| sandbox/search-client-example/package.json | Updated Angular dependencies and TypeScript version for the example application |
| packages/search/projects/search-lib/package.json | Updated peer dependencies to Angular 18 for the search library |
| packages/search/projects/search-lib/README.md | Added version compatibility notice documenting Angular 17 vs 18 usage |
| packages/search/projects/search-element/package.json | Updated hash value for the search element package |
| packages/search/package.json | Updated Angular dependencies and build tools to version 18 |
| packages/search/README.md | Added version compatibility notice and updated deprecation message |
Files not reviewed (1)
- packages/search/projects/search-lib/package-lock.json: Language not supported
|
|
||
| - For Angular v17, use @sourceloop/search-client version ^7.x.x. | ||
|
|
||
| - For Angular v18, use @sourceloop/search-client version ^8.x.x |
Copilot
AI
Aug 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation mentions version ^8.x.x for Angular v18, but the package version in the library is still 7.0.1. This creates confusion about which version users should actually use.
| - For Angular v18, use @sourceloop/search-client version ^8.x.x | |
| - For Angular v18, use @sourceloop/search-client version ^7.x.x |
| Search-client now supports Angular v17, we will provide support for the older version that is based on Angular v14 till 30th August 2025 . | ||
| - For Angular v17, use @sourceloop/search-client version ^7.x.x. | ||
|
|
||
| - For Angular v18, use @sourceloop/search-client version ^8.x.x |
Copilot
AI
Aug 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation states users should use version ^8.x.x for Angular v18, but this version doesn't appear to exist yet. The package version remains at 7.0.1, which could mislead users.
| - For Angular v18, use @sourceloop/search-client version ^8.x.x | |
| - For Angular v18, use @sourceloop/search-client version ^7.x.x until version ^8.x.x is released. | |
| **Note:** Version ^8.x.x is not yet available. Please check the [npm registry](https://www.npmjs.com/package/@sourceloop/search-client) for updates. |
BREAKING CHANGE: yes GH-39
5fe58b2 to
a4f0d6f
Compare
BREAKING CHANGE:
yes
Description
Updated the angular version and its dependencies
Support for angular version 18
Fixes # (issue)
GH-39
Type of change
Please delete options that are not relevant.
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
Checklist: