Code Monkey home page Code Monkey logo

Comments (10)

MSNev avatar MSNev commented on May 22, 2024 3

Still in progress (sorry delay as I was OOF last week), the plan is to finalize the updates and release the update by / before the end of July 23.

from applicationinsights-angularplugin-js.

hladysh avatar hladysh commented on May 22, 2024 1

problem was fixed after the update "@microsoft/applicationinsights-web": "2.8.9", to "@microsoft/applicationinsights-web": "2.8.10"

from applicationinsights-angularplugin-js.

OzBob avatar OzBob commented on May 22, 2024 1

@MSNev the dependencies between the 2 projects are inconsistent.
Will these old versions ^2.8.12 be upgraded to ^3.0.1?
https://github.com/microsoft/applicationinsights-angularplugin-js/blob/main/package.json#L67

   "@microsoft/applicationinsights-common": "^2.8.12",
    "@microsoft/applicationinsights-core-js": "^2.8.12",
    "@microsoft/applicationinsights-properties-js": "^2.8.12",

To match the dependencies of '@microsoft/applicationinsights-web'? i.e. v3.0.1?

For now I will experiment and downgrade @microsoft/applicationinsights-web to v2.8.13

from applicationinsights-angularplugin-js.

MSNev avatar MSNev commented on May 22, 2024 1

Yes, it is unfortunate. đŸ˜Ļ

On the Angular 16, No we didn't know (as we don't actual code in Angular, React or React-Native except for these plugins) we are relying on the community to keep us up to date and then we "attempt" (not very well recently) to keep things in sync.

Or primary goal is to provide a standard (which often means lowest common denominator) "support" for the current frameworks with the current release of Application Insights. AI 3.x is a significant internal change and has required a lot more time than originally estimated.

One of the reasons for the renumbering (which will also require branching) is so that we can better support multiple versions of the framework with less cognitive hoops (compatibility lookup tables) so that
plugin 14 => Angular 14
plugin 15 => Angular 15
plugin 16 => Angular 16

Where the main branch will always be the "current" and we will create branches for the older versions (to enable patching) at the point of upgrading main to a newer release.

Not that any of the above wording helps you and the current state.

We are hoping that once we complete the v14 release with AI v3.x support (we already have this 2nd part checked in) things should get smoother.
To complete v14 we need to review the changes proposed in #103 and potentially #114 and take over / incorporate into a new PR's, but as this is not our primary domain we also need to ramp up and understand the changes (after we finish the current tasks which are affecting the timeline)

from applicationinsights-angularplugin-js.

MSNev avatar MSNev commented on May 22, 2024

Which versions of the plugin and ApplicationInsights are you using?

We recently release v3.0.1 of the angular plugin which moved the base version of Application Insights to 2.8.10 to address this issue (which is typescript being more pedantic than necessary) #76

You can safely cast to any to bypass the error, we believe we tracked this down to a change we made to introduce an optional unload function. As we support backward compatibility of the newer ApplicationInsights using older components (plugins).

If your not using 3.0.1 and 2.8.10 can you please upgrade both (or use the workaround by casting as any to avoid TypeScript complaining).

from applicationinsights-angularplugin-js.

david-brink-talogy avatar david-brink-talogy commented on May 22, 2024

Is there any update? This still occurs when using the most current version of both these packages

    "@microsoft/applicationinsights-angularplugin-js": "^3.0.1",
    "@microsoft/applicationinsights-web": "^3.0.2",

from applicationinsights-angularplugin-js.

david-brink-talogy avatar david-brink-talogy commented on May 22, 2024

Doesn't appear there's been a release still. Can we get this fixed?

from applicationinsights-angularplugin-js.

MSNev avatar MSNev commented on May 22, 2024

Correct, some other items got in the way of completing and publishing an update, and as part of the next release we want to bump the major version number we also want to consider including some of the community PR's as part of the release(s) (as one of them is bumping to Angular 15) So unlike the react / react-native plugins (which we have release) this one requires some additional time. But we are still working towards publishing as soon as possible (which is now mid to end of Aug 23 ☚ī¸ )

from applicationinsights-angularplugin-js.

david-brink-talogy avatar david-brink-talogy commented on May 22, 2024

That's unfortunate a seemingly small issue with dependency versions has lingered for so long. You're aware Angular 16 has been out for three months already?

from applicationinsights-angularplugin-js.

siyuniu-ms avatar siyuniu-ms commented on May 22, 2024

for angular v14, the bug is solved at ver 14.0.0 https://github.com/microsoft/applicationinsights-angularplugin-js/releases/tag/14.0.0

from applicationinsights-angularplugin-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.