Skip to content

Release 3.0.0 #1701

Closed
Closed

Description

@bruno-garcia
  • Align event.origin and event.environment
  • Introduce Sentry.initWith that takes the root component
  • Add tracing integration OOTB
  • Auto detect routing library (React Navigation v4 or v5 and in Q3, React Native Navigation (wix))

Activity

  1. bruno-garcia commented on Aug 25, 2021

    @bruno-garcia
    MemberAuthor

    To recap:

    • We'll add the initWith: feat: wrap method, profiler with App start and Stall tracking #1728
    • Migration guide on the docs
    • Note in changelog and migration that performance is enabled by default (only requires sample rate)
    • New installation steps (wizard, getting started docs)
    • Document all measurements stuff: App Start, Slow/Frozen Frames (see iOS/Android), JS Stalls
    • Add new feature to docs landing page Features list
  2. Bardiamist commented on Sep 1, 2021

    @Bardiamist

    Is migration guide exist? Now I tried to update to v3 and can't build app.

    /Users/bardiamist/Library/Developer/Xcode/DerivedData/proj-gcfwctharjklzxamsqckslyxgkbd/Build/Intermediates.noindex/proj.build/Debug-iphonesimulator/proj.build/Script-00DD1BFF1BD5951E006B06BC.sh: line 4: ../node_modules/@sentry/cli/bin/sentry-cli: No such file or directory
    Command PhaseScriptExecution failed with a nonzero exit code
    
  3. jennmueng commented on Sep 1, 2021

    @jennmueng
    Contributor

    @Bardiamist Try a full node_modules reinstall, that error looks to be a missing sentry cli. There shouldn't be changes needed for 3.0.0 apart from different event.origin values.

  4. Bardiamist commented on Sep 1, 2021

    @Bardiamist

    @Bardiamist Try a full node_modules reinstall, that error looks to be a missing sentry cli. There shouldn't be changes needed for 3.0.0 apart from different event.origin values.

    Unfortunately not helped

  5. christophemenager commented on Sep 1, 2021

    @christophemenager

    I do have the same error @jennmueng.
    It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
    How could we fix this ?

  6. benlondon commented on Sep 1, 2021

    @benlondon

    I do have the same error @jennmueng.
    It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
    How could we fix this ?

    While not the best long term solution, adding an explicit dependency on the CLI worked for me:

    "dependencies": {
      "@sentry/react-native": "^3.0.0",
      "@sentry/cli": "^1.68.0",
    ...
    
  7. numandev1 commented on Sep 1, 2021

    @numandev1
    Contributor

    I do have the same error @jennmueng.
    It appears that in 3.0.0 there is no cli folder in the /node_modules/@sentry, so the error looks logical
    How could we fix this ?

    While not the best long term solution, adding an explicit dependency on the CLI worked for me:

    "dependencies": {
      "@sentry/react-native": "^3.0.0",
      "@sentry/cli": "^1.68.0",
    ...
    

    yes it is working

  8. CesarLanderos commented on Sep 1, 2021

    @CesarLanderos

    can confirm that worked for me as well, the new version does not include the CLI as a dependency.

    I don't know if versions 2.x.x had it or was part of the wizard to install it magically

  9. CesarLanderos commented on Sep 1, 2021

    @CesarLanderos

    Yes, answered myself 😅

    The previous version had the wizard as a dependency, which in turn had the CLI as a dependency, that is why an explicit dependency of the CLI was not needed before.

    The new version has no wizard.

  10. user512 commented on Sep 1, 2021

    @user512

    Thank you for all the hard work!
    I upgraded to 3.0 and was able to use the workaround from #1701 (comment) to make things work.

    In #1701 (comment), it was mentioned there's a migration guide but I don't see it here: https://github.com/getsentry/sentry-react-native/blob/477f6fe42d1810501096ec1ecf5308ad5f0530d4/CHANGELOG.md, would you mind pointing me to the right direction?

  11. jennmueng commented on Sep 1, 2021

    @jennmueng
    Contributor

    @user512 We ended up not needing a full migration guide as we ended up making it fully backward compatible apart from the event.origin tag values which we are working on documenting soon.

  12. jennmueng commented on Sep 1, 2021

    @jennmueng
    Contributor

    Closing this issue now. The sentry-cli missing dependency bug is now fixed in version 3.0.1.

    There is no migration guide as no changes will need to be made in your codebase when upgrading to 3.x from 2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions