-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Enable partial Ivy format for Angular #5268
Comments
Hey, thanks for writing in. We've chatted about this in #5253 (comment), and will be addressing this in our next major version, v8. See #5194 (comment) also. Backlogging this for now. If anyone else is interested in this (or is interested in having this happen before the next major), please leave a reaction to this issue or a comment in the issue itself. |
Hi! Is there any roadmap or date, when v8 (with Ivy support) will be released? |
No timelines for the next major at the moment, cc @vladanpaunovic |
@henningtillmann, thanks for your interest! Sadly I don't have dates to share with you yet. What I can tell you is that we are currently on v7.9.0 and I don't think it will take us long enough before we jump to version 8. Once we know more, we will update the milestone. |
The version before v7.0.0 was like v6.19.0... Out of curiosity, how do you decide whether to increment the minor version, versus the patch version? I'm looking at the release history and at a glance it seems inconsistent to me. |
@jpike88 we follow semantic versioning, so if the release is fixes only we make it a patch, and if it includes new features we make it a minor. There are exceptions to this rule, but 95% of time we follow this. |
@vladanpaunovic - version 8.0: No due date, 7% complete Seems like it will not happen in the nearest 6 months, right? |
Angular 15 is already available |
Hi everyone, just wanted to give you an update on this issue: As I already described in #5253 (comment), we can only make the switch to Ivy in our next major, v8. We're currently trying to find out, how many of our users are still on Angular 10 and 11 to determine, if we can simple bump this package to support Angular 12+, which makes it possible for us to enable Ivy format. In case there's still a considerable amount of NG10 and 11 users, we'll still bump the I'm fully aware that many of you want to see this happening sooner (I cannot give an ETA on v8) but for now I'm afraid the warning message will persist. However, we're interested in feedback here:
Thanks for your patience and looking forward to reading your feedback. |
Yup, we're aware and our SDK already supports it since version 7.20.0 |
Just want to get rid of the warning message, but beyond that it doesn't have any performance impact I'm aware of.
From my understanding, this is only a change that application developers make regarding the AOT compiler and linker, but the ivy engine is the ivy engine. So it should be compatible as far back as v8 (which needed ivy to be opt-in enabled) |
IIUC there is a performance impact in terms of the build performance, since view engine libraries require an additional step of analysis/conversion at build time. |
My app is a bigger web component, i.e. bundle size is very important. Every byte saved helps. Therefore, Ivy is a big help and mandatory. |
The issue is, that we still need So it's not just about the warning, but it has some deeper impacts on other things. I'm really looking forward to when |
Any updates ? Do you have an ETA ? I know you want to wait for v8 to drop support for Angular v11 and lower but it's only 25% completed. Meanwhile, Angular v15.2.0 will be released soon. |
We are in the same boat as @decline. Also want to move away from |
Another reason we would like this sooner rather than later is that the esbuild builderfor Angular is now more capable and could be probably enough for our project, and way faster. But it only support Ivy |
There is a PR for probably NG16, which will remove ngcc and make Ivy the only option |
Hey everyone, considering that v8 is gonna take a little longer to land, we decided last week to create a new Ivy-compatible Angular SDK package. Gonna start working on this soon. Stay tuned. |
Yay! |
We just released version 7.39.0 with Migration from
|
Hi @Lms24 import { createErrorHandler, init as initSentry, routingInstrumentation, TraceService } from '@sentry/angular-ivy';
import { Integrations } from '@sentry/tracing';
...
if (environment.production) {
enableProdMode();
initSentry({
dsn: 'UURL',
integrations: [
new Integrations.BrowserTracing({
tracingOrigins: ['URL'],
routingInstrumentation: routingInstrumentation
})
],
release: environment.build.version,
tracesSampleRate: 0.25
});
} under
|
As an additional note, "dependencies": {
"@sentry/browser": "7.39.0",
"@sentry/types": "7.39.0",
"@sentry/utils": "7.39.0",
"tslib": "^2.3.0"
},
"dependencies": {
"@sentry/core": "7.39.0",
"@sentry/replay": "7.39.0",
"@sentry/types": "7.39.0",
"@sentry/utils": "7.39.0",
"tslib": "^1.9.3"
},
"dependencies": {
"@sentry/types": "7.39.0",
"@sentry/utils": "7.39.0",
"tslib": "^1.9.3"
},
"dependencies": {
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"tslib": "^1.9.3"
},
"dependencies": {
"@sentry/core": "7.39.0",
"@sentry/types": "7.39.0",
"@sentry/utils": "7.39.0"
},
"dependencies": {
"@sentry/hub": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"tslib": "^1.9.3"
},
"dependencies": {
"@sentry/types": "7.39.0",
"tslib": "^1.9.3"
}, |
@Lonli-Lokli thanks for trying it out.
No, this is definitely not expected. All packages must be aligned on the same version. Seems like the |
@Lms24 Hold on, maybe it's my mistake :-) I see that not all refs has been updated EDIT: Yes, it was my mistake, sorry about that. All refs except for tslib in angular-ivy are the same now. |
Problem Statement
Angular 13+ will remind you of any library, that isn't compiled in partial Ivy and requires using ngcc.
Processing legacy "View Engine" libraries: - @sentry/angular [es2015/esm2015] (git://github.com/getsentry/sentry-javascript.git) Encourage the library authors to publish an Ivy distribution.
Any chance to go Ivy way? I know some users might not be using Ivy yet, but I'd like to get rid of ngcc as soon as possible.
Solution Brainstorm
In tsconfig remove
"enableIvy": false
.The text was updated successfully, but these errors were encountered: