Skip to content
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

feat: adds angular 18 support #181

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

pavankjadda
Copy link
Contributor

@pavankjadda pavankjadda commented May 30, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[x] Yes
[] No

Other information

Closes #179

Copy link

stackblitz bot commented May 30, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@pavankjadda pavankjadda force-pushed the angular-18-migration branch from 6facfbb to 2f917da Compare May 30, 2024 02:20
@pavankjadda
Copy link
Contributor Author

Blocked by jscutlery/semver#814

@rbalet
Copy link

rbalet commented Jun 17, 2024

@pavankjadda Hi,

It seems they've fixed the error.
Can you try it out ?

bikecoders/ngx-deploy-npm#606

@pavankjadda
Copy link
Contributor Author

pavankjadda commented Jun 17, 2024

@pavankjadda Hi,

It seems they've fixed the error. Can you try it out ?

bikecoders/ngx-deploy-npm#606

This jscutlery/semver#814 blocks the PR not bikecoders/ngx-deploy-npm#606

@dianjuar
Copy link

@rbalet, that was not a fix; was a workaround.

More info about the workaround:
jscutlery/semver#814 (comment)

Here, you can find an implementation of that workaround
https://github.com/bikecoders/ngx-deploy-npm/pull/606/files#r1634121869

@driatvak
Copy link

driatvak commented Jul 1, 2024

Hi @pavankjadda ,
Any updates on when support to angular v18 will be out ? 🙏

@pavankjadda
Copy link
Contributor Author

@NetanelBasal please merge this whenever you get a chance.

@NetanelBasal
Copy link
Member

The commit should be marked a BREAKING CHANGE based on the convention

@pavankjadda pavankjadda changed the title feat: adds angular 18 support BREAKING CHANGE: adds angular 18 support Jul 2, 2024
@pavankjadda pavankjadda changed the title BREAKING CHANGE: adds angular 18 support feat: adds angular 18 support Jul 2, 2024
BREAKING CHANGE: Bumps required angular version to 18
@pavankjadda pavankjadda force-pushed the angular-18-migration branch from 9065cfa to ebe78bf Compare July 2, 2024 19:12
@pavankjadda
Copy link
Contributor Author

The commit should be marked a BREAKING CHANGE based on the convention

Done

@NetanelBasal NetanelBasal merged commit 518af07 into ngneat:main Jul 3, 2024
1 check passed
@hakimio
Copy link

hakimio commented Jul 3, 2024

@NetanelBasal @pavankjadda the "breaking change" is not correct. The minimum Angular requirement in the package.json was not changed. It's still Angular 16.

@NetanelBasal
Copy link
Member

@hakimio you're correct, my mistake. Never mind :)

@Drunkenpilot
Copy link

Got support error when install by npm

npm i @ngneat/query-devtools

Error detail

npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"^18.0.5" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@">=16.0.0 <18.0.0" from @ngneat/[email protected]
npm ERR! node_modules/@ngneat/query-devtools
npm ERR!   dev @ngneat/query-devtools@"*" from the root project

@pavankjadda
Copy link
Contributor Author

@NetanelBasal could you release 3.0.0 version for dev tools as well?

@pavankjadda
Copy link
Contributor Author

Got support error when install by npm

npm i @ngneat/query-devtools

Error detail

npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"^18.0.5" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@">=16.0.0 <18.0.0" from @ngneat/[email protected]
npm ERR! node_modules/@ngneat/query-devtools
npm ERR!   dev @ngneat/query-devtools@"*" from the root project

For now use npm i @ngneat/query-devtools --legacy-peer-deps

@NetanelBasal
Copy link
Member

We first need to update the peer

@pavankjadda
Copy link
Contributor Author

We first need to update the peer

it was already updated in last PR https://github.com/ngneat/query/blob/main/devtools/package.json#L13

@pavankjadda pavankjadda deleted the angular-18-migration branch July 3, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support: angular v18
7 participants