-
Notifications
You must be signed in to change notification settings - Fork 254
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
Generate type definition using Angular 17 #2275
Conversation
11f76f4
to
a039da2
Compare
a039da2
to
d7bd486
Compare
@@ -57,7 +57,7 @@ import 'core-js/es7/reflect'; | |||
/*************************************************************************************************** | |||
* Zone JS is required by default for Angular itself. | |||
*/ | |||
import 'zone.js/dist/zone'; // Included with Angular CLI. | |||
import 'zone.js'; // Included with Angular CLI. |
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.
as per update guide
2e7c4d9
to
c9990c8
Compare
ngDebugContext has been removed and was not reported in production
@@ -9,4 +9,3 @@ Scenario: basic error handler usage | |||
And the test should run in this browser | |||
Then I wait to receive an error | |||
And the error is a valid browser payload for the error reporting API | |||
And the event "metaData.angular" is not null |
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.
Dropped as ngDebugContext
is no longer present, and previously only worked in debug builds. Will raise a separate task to reintroduce similar metadata if available in ivy builds.
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.
LGTM
26eea00
to
02486a0
Compare
* chore(@bugnsnag/plugin-angular): ⬆️ update angular dependency to v17 * test: ✅ update browserslist for angular plugin fixture * chore: add .angular to gitignore * docs: 📝 update CHANGELOG * test: ✅ update skip logic * refactor: 🔥 remove debug context metadata ngDebugContext has been removed and was not reported in production * add globalthis polyfill * add queueMicrotask polyfill
Goal
Ensure
@bugsnag/plugin-angular
works with recent versions of angularDesign
Update dev dependency to v17 to ensure that generated types are compatible with Angular 17 (earliest supported version according to the angular documentation)
Changeset
Update Angular dependencies to v17
Remove code for dropped
ngDebugContext
Testing
Update test fixture to v17 and test against full ci build