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

meta(changelog): Update changelog for 7.91.0 #9965

Merged
merged 27 commits into from
Dec 22, 2023
Merged

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    da1ccb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5bc6f96 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    810eb95 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9935 from getsentry/master

    [Gitflow] Merge master into develop
    github-actions[bot] authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    812d10a View commit details
    Browse the repository at this point in the history
  3. build: bump sucrase to 3.34.0 (#9942)

    To ensure we have up-to-date TS support, e.g. `satisfies` cannot be
    transpiled previously.
    
    See https://github.com/alangpierce/sucrase/blob/main/CHANGELOG.md
    mydea authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    e1bc0e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1621214 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    61094d4 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #9921 from getsentry/feat/component-name-util

    feat(utils): Add function to extract relevant component name
    0Calories authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    d152364 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    811eb29 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. ref: Small integration refactors (#9928)

    Some small fixes to integrations & rewriting some "forgotten" ones to
    functional syntax.
    mydea authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    52810b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6173846 View commit details
    Browse the repository at this point in the history
  3. feat(core): Add getGlobalScope() method (#9920)

    This scope lives in module scope and is applied to _all_ events.
    
    Please review this carefully, as it is important that data is correctly
    applied etc. There should be a decent amount of tests covering all of
    this, but just to make sure. This was mostly ported/extracted from
    node-experimental.
    mydea authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    eb9bc56 View commit details
    Browse the repository at this point in the history
  4. ref(deno): Refactor deno integrations to use functional syntax (#9929)

    Refactors deno integrations to functional syntax.
    mydea authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    12a4fce View commit details
    Browse the repository at this point in the history
  5. feat(core): Add span.end() to replace span.finish() (#9954)

    To align with OTEL spans.
    
    This also deprecates `span.finish()`, and also makes sure that `end()`
    accepts both ms as well as s timestmaps (to align this with OTEL in the
    future, which accepts ms only).
    
    ---------
    
    Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
    mydea and anonrig authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    a04e780 View commit details
    Browse the repository at this point in the history
  6. feat(core): Add getIsolationScope() method (#9957)

    Also ensure to actually export `getGlobalScope()` everywhere as well.
    
    The isolation scope, currently, lies on the hub, and is applied to all
    events.
    mydea authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    213bb4a View commit details
    Browse the repository at this point in the history
  7. ref(integrations): Rewrite pluggable integrations to use functional s…

    …tyle (#9936)
    
    Slowly getting there...
    mydea authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    1413568 View commit details
    Browse the repository at this point in the history
  8. feat(core): Ensure startSpan & startSpanManual fork scope (#9955)

    @lforst noticed that currently `startSpan()` and `startSpanManual` do
    not fork the scope, which is also a slightly different behavior than it
    is in OTEL.
    
    This adjusts this to better align, so that we always fork a scope. We
    also always leave the span on the forked scope, even after it was
    finished.
    
    In a follow up, we can thus also get rid of the `finish` callback arg
    for `startSpanManual`, as users can/should simply call `span.end()`
    themselves then.
    mydea authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b6a7cef View commit details
    Browse the repository at this point in the history
  9. Merge pull request #9949 from getsentry/feat/react-send-component-nam…

    …e-on-spans
    
    feat(react): Send component name on spans
    0Calories authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    de6d41a View commit details
    Browse the repository at this point in the history
  10. feat(tracing): Send component name on interaction spans (#9948)

    One of the PRs scoped from
    #9855
    
    Sends component names on the databag of interaction spans
    0Calories authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f433a55 View commit details
    Browse the repository at this point in the history
  11. feat(replay): Send component names in replay breadcrumbs (#9947)

    One of the PRs scoped from
    #9855
    
    Sends component names on Replay UI breadcrumbs so they can be ingested
    and indexed. This will allow for searching for Replays by component name
    in the future.
    
    ---------
    
    Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
    0Calories and anonrig authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    9a2570b View commit details
    Browse the repository at this point in the history
  12. feat(breadcrumbs): Send component names on UI breadcrumbs (#9946)

    One of the PRs scoped from
    #9855
    
    Sends component names on UI event breadcrumbs
    
    ---------
    
    Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
    0Calories and AbhiPrasad authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f819d81 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5d16aae View commit details
    Browse the repository at this point in the history
  14. feat: Add server runtime metrics aggregator (#9894)

    ## Implements
    
    - [x] 10 Second Bucketing: SDKs are required to bucket into 10 second
    intervals (rollup in seconds) which is the current lower bound of metric
    accuracy.
    - [x] Flush Shift: SDKs are required to shift the flush interval by
    random() * rollup_in_seconds. That shift is determined once per startup
    to create jittering.
    - [ ] Force flush: an SDK is required to perform force flushing ahead of
    scheduled time if the memory pressure is too high. There is no rule for
    this other than that SDKs should be tracking abstract aggregation
    complexity (eg: a counter only carries a single float, whereas a
    distribution is a float per emission).
    
    ## Caveats 
    
    - Force flush requires Node.js 14+ support (FinalizationRegistry). I
    recommend leaving it after v8 release to make the implementation a lot
    easier.
    
    ---------
    
    Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
    anonrig and AbhiPrasad authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    7f8eca7 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. build: Fix size limit (#9967)

    I think this was just not updated... I aligned it with the webpack size
    limit for the "full" bundle.
    mydea authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    f56219a View commit details
    Browse the repository at this point in the history
  2. feat(sveltekit): Add options to configure fetch instrumentation scrip…

    …t for CSP (#9969)
    
    This PR adds options to the `sentryHandle` request handler that allows
    control over CSP-relevant aspects for the `<script>` that the request
    handler injects into the page. Previously, the injected script was
    blocked by browsers if CSP was enabled, due to inline `<script>`s not
    being allowed without a nonce or hash.
    
    Now users can specify a nonce or disable the script injection
    Lms24 authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    948e7d3 View commit details
    Browse the repository at this point in the history
  3. fix(core): Rethrow caught promise rejections in startSpan, `startSp…

    …anManual`, `trace` (#9958)
    
    Our previous implementation of `startSpan` et.al. assumed
    that because we were "cloning" the original promise, unhandled promise
    rejections would still bubble up to the global `onunhandledrejection`
    handler so that Sentry would catch the error.
    
    However, we tried investigating this and found out that our "cloning"
    mechanism didn't work correctly and because we already added a rejection
    handler, the promise rejection would _not always_ make it to the global
    handler.
    
    After adding multiple integration tests, I further narrowed the buggy
    behaviour down to a rather special case: The `startSpan` call is not `await`ed
    which for some reason will lead to the SDK not catching the error.
    Unless, we apply the fix in this PR.
    
    This patch removes this cloning mechanism in favour of directly attaching a
    rejection handler to the promise. In this handler, we rethrow the error
    which should trigger the global handlers.
    Lms24 authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    cf412d9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f08bec8 View commit details
    Browse the repository at this point in the history