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!: widen peer dependency range to include zone.js v0.15.0 #2571

Conversation

pichlermarc
Copy link
Member

@pichlermarc pichlermarc commented Dec 1, 2024

Description

Updates peer-dependencies to allow for zone.js v0.15.0 to be used.

Supersedes #2561
Fixes #2559

BEGIN_COMMIT_OVERRIDE
feat: widen peer dependency range to include zone.js v0.15.0
fix(instrumentation-user-interaction)!: make getZoneWithPrototype() private to avoid leaking internal type ZoneWithPrototype
END_COMMIT_OVERRIDE

@pichlermarc
Copy link
Member Author

Hmm, weird. This compiles fine locally. 🤔

@pichlermarc pichlermarc changed the title feat: widen peer dependency range to include zone.js v0.15.0 feat!: widen peer dependency range to include zone.js v0.15.0 Dec 5, 2024
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.80%. Comparing base (de679ad) to head (c9ab1eb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2571      +/-   ##
==========================================
+ Coverage   90.79%   90.80%   +0.01%     
==========================================
  Files         169      169              
  Lines        8026     8026              
  Branches     1635     1635              
==========================================
+ Hits         7287     7288       +1     
+ Misses        739      738       -1     

see 1 file with indirect coverage changes

@@ -680,7 +680,7 @@ export class UserInteractionInstrumentation extends InstrumentationBase<UserInte
/**
* returns Zone
*/
getZoneWithPrototype(): ZoneTypeWithPrototype | undefined {
private _getZoneWithPrototype(): ZoneTypeWithPrototype | undefined {
Copy link
Member Author

@pichlermarc pichlermarc Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer note: this is the breaking change - IIUC this was not intended to be exposed to the end-user. ZoneWithPrototype is in from internal-types and it leaked Zone.js types to the public API.

@pichlermarc pichlermarc merged commit 2e0cbdf into open-telemetry:main Dec 6, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade ZoneJS to 0.15.0 to support latest Angular (v19)
7 participants