Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hookform/resolvers (source) 3.9.1 -> 5.2.2 age adoption passing confidence
@sentry/nextjs (source) 8.52.0 -> 10.22.0 age adoption passing confidence
dotenv-cli 8.0.0 -> 10.0.0 age adoption passing confidence
i18next (source) 24.2.1 -> 25.6.0 age adoption passing confidence
next (source) 15.4.7 -> 16.0.0 age adoption passing confidence
openai 4.73.0 -> 6.7.0 age adoption passing confidence
posthog-node (source) 4.2.3 -> 5.10.3 age adoption passing confidence
preline (source) 2.5.1 -> 3.2.3 age adoption passing confidence
stripe 17.4.0 -> 19.1.0 age adoption passing confidence
tailwind-merge 2.5.4 -> 3.3.1 age adoption passing confidence
uuid 11.0.3 -> 13.0.0 age adoption passing confidence
zod (source) 3.23.8 -> 4.1.12 age adoption passing confidence

Release Notes

react-hook-form/resolvers (@​hookform/resolvers)

v5.2.2

Compare Source

Bug Fixes

v5.2.1

Compare Source

Bug Fixes

v5.2.0

Compare Source

Features

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Features
  • support Zod 4, Zod v4 mini, and retains compatibility with Zod v3. (#​777) (8d083bd)

v5.0.1

Compare Source

Bug Fixes
  • relax version constraint for react-hook-form 7.55.0 → ^7.55.0 (#​758) (6e88393)

v5.0.0

Compare Source

Features
BREAKING CHANGES
  • Requires react-hook-form@​7.55.0 or higher

Before
Prior to V5, some projects used manual types like

useForm<FormValues>();

After
With V5, the correct approach is:

useForm<Input, Context, Output>();
useForm<FormInputValues, Context, FormOutputValues>();

This update enables distinct outputs when utilizing features like transform from validation libraries.

ℹ️ The best approach is to let the types be inferred from your schema, rather than manually defining them.

v4.1.3

Compare Source

Bug Fixes
  • escape square brackets in field name regex pattern (#​752) (50dd4ad)

v4.1.2

Compare Source

Bug Fixes

v4.1.1

Compare Source

Bug Fixes
  • standard-schema: Propertly handle object path segments (#​746) (8ffada0)

v4.1.0

Compare Source

Features

v4.0.0

Compare Source

Bug Fixes
  • add support for names option (#​713) (985c48d)
  • arktypeResolver: resolve type error when schema is defined from an ArkType scope (#​732) (3233667)
  • handle raw: true option to pass form submission values correctly (#​733) (7807f95)
  • validateFieldsNatively: handle undefined object when reading 'refs' (#​734) (3da2054)
Features
  • ajv: Keep original validation type while using errorMessage (#​728) (5030a59)
  • effectResolver: returns either all errors or only the first one based on criteriaMode (#​737) (12d7d8e)
  • standard-schema: add standard-schema resolver (#​738) (b75a95a)
BREAKING CHANGES
  • ajv: The AJV Resolver now unwraps the errorMessage object to return the original error types. This update may introduce breaking changes to your projects.

v3.10.0

Compare Source

Features
getsentry/sentry-javascript (@​sentry/nextjs)

v10.22.0

Compare Source

Important Changes
  • feat(node): Instrument cloud functions for firebase v2 (#​17952)

    We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.

  • feat(core): Instrument LangChain AI (#​17955)

    Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:

    Sentry.init({
      integrations: [
        Sentry.langChainIntegration({
          recordInputs: true, // Record prompts/messages
          recordOutputs: true, // Record responses
        }),
      ],
    });
Other Changes
  • feat(cloudflare,vercel-edge): Add support for LangChain instrumentation (#​17986)
  • feat: Align sentry origin with documentation (#​17998)
  • feat(core): Truncate request messages in AI integrations (#​17921)
  • feat(nextjs): Support node runtime on proxy files (#​17995)
  • feat(node): Pass requestHook and responseHook option to OTel (#​17996)
  • fix(core): Fix wrong async types when instrumenting anthropic's stream api (#​18007)
  • fix(nextjs): Remove usage of chalk to avoid runtime errors (#​18010)
  • fix(node): Pino capture serialized err (#​17999)
  • fix(node): Pino child loggers (#​17934)
  • fix(react): Don't trim index route / when getting pathname (#​17985)
  • fix(react): Patch spanEnd for potentially cancelled lazy-route transactions (#​17962)
Internal Changes
  • chore: Add required size_check for GH Actions (#​18009)
  • chore: Upgrade madge to v8 (#​17957)
  • test(hono): Fix hono e2e tests (#​18000)
  • test(react-router): Fix getMetaTagTransformer tests for Vitest compatibility (#​18013)
  • test(react): Add parameterized route tests for createHashRouter (#​17789)

Bundle size 📦

Path Size
@​sentry/browser 24.05 KB
@​sentry/browser - with treeshaking flags 22.57 KB
@​sentry/browser (incl. Tracing) 40.01 KB
@​sentry/browser (incl. Tracing, Profiling) 44.2 KB
@​sentry/browser (incl. Tracing, Replay) 77.43 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.36 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 82.02 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 93.9 KB
@​sentry/browser (incl. Feedback) 40.33 KB
@​sentry/browser (incl. sendFeedback) 28.61 KB
@​sentry/browser (incl. FeedbackAsync) 33.42 KB
@​sentry/react 25.69 KB
@​sentry/react (incl. Tracing) 41.96 KB
@​sentry/vue 28.43 KB
@​sentry/vue (incl. Tracing) 41.75 KB
@​sentry/svelte 24.06 KB
CDN Bundle 26.27 KB
CDN Bundle (incl. Tracing) 40.65 KB
CDN Bundle (incl. Tracing, Replay) 76.05 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 81.39 KB
CDN Bundle - uncompressed 77.01 KB
CDN Bundle (incl. Tracing) - uncompressed 120.55 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 232.89 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 245.35 KB
@​sentry/nextjs (client) 44.05 KB
@​sentry/sveltekit (client) 40.43 KB
@​sentry/node-core 49.56 KB
@​sentry/node 154.11 KB
@​sentry/node - without tracing 90.46 KB
@​sentry/aws-serverless 103.86 KB

v10.21.0

Compare Source

Important Changes
  • feat(browserProfiling): Add trace lifecycle mode for UI profiling (#​17619)

    Adds a new trace lifecycle mode for UI profiling, allowing profiles to be captured for the duration of a trace. A manual mode will be added in a future release.

  • feat(nuxt): Instrument Database (#​17899)

    Adds instrumentation for Nuxt database operations, enabling better performance tracking of database queries.

  • feat(nuxt): Instrument server cache API (#​17886)

    Adds instrumentation for Nuxt's server cache API, providing visibility into cache operations.

  • feat(nuxt): Instrument storage API (#​17858)

    Adds instrumentation for Nuxt's storage API, enabling tracking of storage operations.

Other Changes
  • feat(browser): Add onRequestSpanEnd hook to browser tracing integration (#​17884)
  • feat(nextjs): Support Next.js proxy files (#​17926)
  • feat(replay): Record outcome when event buffer size exceeded (#​17946)
  • fix(cloudflare): copy execution context in durable objects and handlers (#​17786)
  • fix(core): Fix and add missing cache attributes in Vercel AI (#​17982)
  • fix(core): Improve uuid performance (#​17938)
  • fix(ember): Use updated version for clean-css (#​17979)
  • fix(nextjs): Don't set experimental instrumentation hook flag for next 16 (#​17978)
  • fix(nextjs): Inconsistent transaction naming for i18n routing (#​17927)
  • fix(nextjs): Update bundler detection (#​17976)
Internal Changes
  • build: Update to typescript 5.8.0 (#​17710)
  • chore: Add external contributor to CHANGELOG.md (#​17949)
  • chore(build): Upgrade nodemon to 3.1.10 (#​17956)
  • chore(ci): Fix external contributor action when multiple contributions existed (#​17950)
  • chore(solid): Remove unnecessary import from README (#​17947)
  • test(nextjs): Fix proxy/middleware test (#​17970)

Work in this release was contributed by @​0xbad0c0d3. Thank you for your contribution!

Bundle size 📦
Path Size
@​sentry/browser 24.05 KB
@​sentry/browser - with treeshaking flags 22.57 KB
@​sentry/browser (incl. Tracing) 40.01 KB
@​sentry/browser (incl. Tracing, Profiling) 44.2 KB
@​sentry/browser (incl. Tracing, Replay) 77.43 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.36 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 82.02 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 93.9 KB
@​sentry/browser (incl. Feedback) 40.33 KB
@​sentry/browser (incl. sendFeedback) 28.61 KB
@​sentry/browser (incl. FeedbackAsync) 33.42 KB
@​sentry/react 25.69 KB
@​sentry/react (incl. Tracing) 41.96 KB
@​sentry/vue 28.43 KB
@​sentry/vue (incl. Tracing) 41.75 KB
@​sentry/svelte 24.06 KB
CDN Bundle 26.27 KB
CDN Bundle (incl. Tracing) 40.65 KB
CDN Bundle (incl. Tracing, Replay) 76.05 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 81.39 KB
CDN Bundle - uncompressed 77.01 KB
CDN Bundle (incl. Tracing) - uncompressed 120.55 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 232.89 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 245.35 KB
@​sentry/nextjs (client) 44.05 KB
@​sentry/sveltekit (client) 40.43 KB
@​sentry/node-core 49.56 KB
@​sentry/node 150.82 KB
@​sentry/node - without tracing 90.44 KB
@​sentry/aws-serverless 103.84 KB

v10.20.0

Compare Source

Important Changes
  • feat(flags): Add Growthbook integration (#​17440)

    Adds a new Growthbook integration for feature flag support.

  • feat(solid): Add support for TanStack Router Solid (#​17735)

    Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.

  • feat(nextjs): Support native debugIds in turbopack (#​17853)

    Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.

Other Changes
  • feat(nextjs): Prepare for next 16 bundler default (#​17868)
  • feat(node): Capture pino logger name (#​17930)
  • fix(browser): Ignore React 19.2+ component render measure entries (#​17905)
  • fix(nextjs): Fix createRouteManifest with basePath (#​17838)
  • fix(react): Add POP guard for long-running pageload spans (#​17867)
  • fix(tracemetrics): Send boolean for internal replay attribute (#​17908)
  • ref(core): Add weight tracking logic to browser logs/metrics (#​17901)
Internal Changes - chore(nextjs): Add Next.js 16 peer dependency ([#​17925](https://github.com/getsentry/sentry-javascript/pull/17925)) - chore(ci): Update Next.js canary testing ([#​17939](https://github.com/getsentry/sentry-javascript/pull/17939)) - chore: Bump size limit ([#​17941](https://github.com/getsentry/sentry-javascript/pull/17941)) - test(nextjs): Add next@16 e2e test ([#​17922](https://github.com/getsentry/sentry-javascript/pull/17922)) - test(nextjs): Update next 15 tests ([#​17919](https://github.com/getsentry/sentry-javascript/pull/17919)) - chore: Add external contributor to CHANGELOG.md ([#​17915](https://github.com/getsentry/sentry-javascript/pull/17915)) - chore: Add external contributor to CHANGELOG.md ([#​17928](https://github.com/getsentry/sentry-javascript/pull/17928)) - chore: Add external contributor to CHANGELOG.md ([#​17940](https://github.com/getsentry/sentry-javascript/pull/17940))

Work in this release was contributed by @​seoyeon9888, @​madhuchavva and @​thedanchez. Thank you for your contributions!

v10.19.0

Compare Source

  • feat(tracemetrics): Add trace metrics behind an experiments flag (#​17883)
Internal Changes
  • chore: add info latest release for the cursor release command (#​17876)

v10.18.0

Compare Source

Important Changes
  • feat(node): pino integration (#​17584)

    This release adds a new pino integration for Node.js, enabling Sentry to capture logs from the Pino logging library.

  • feat: Remove @​sentry/pino-transport package (#​17851)

    The @sentry/pino-transport package has been removed. Please use the new pino integration in @sentry/node instead.

  • feat(node-core): Extend onnhandledrejection with ignore errors option (#​17736)

    Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.

Other Changes
  • feat(core): Rename vercelai.schema to gen_ai.request.schema (#​17850)
  • feat(core): Support stream responses and tool calls for Google GenAI (#​17664)
  • feat(nextjs): Attach headers using client hook (#​17831)
  • fix(core): Keep all property values in baggage header (#​17847)
  • fix(nestjs): Add support for Symbol as event name (#​17785)
  • fix(nuxt): include sentry.client.config.ts in nuxt app types (#​17830)
  • fix(react-router): Fix type for OriginalHandleRequest with middleware (#​17870)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#​17866)
  • chore(deps): Bump @​sentry/cli from 2.53.0 to 2.56.0 (#​17819)
  • chore(deps): Bump axios in browser integration tests (#​17839)
  • chore(deps): Bump nestjs in integration tests (#​17840)

Work in this release was contributed by @​stefanvanderwolf. Thank you for your contribution!

v10.17.0

Compare Source

Important Changes
  • feat(nuxt): Implement server middleware instrumentation (#​17796)

    This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.

  • fix(aws-serverless): Take http_proxy into account when choosing
    useLayerExtension default (#​17817)

    The default setting for useLayerExtension now considers the http_proxy environment variable.
    When http_proxy is set, useLayerExtension will be off by default.
    If you use a http_proxy but would still like to make use of the Sentry Lambda extension, exempt localhost in a no_proxy environment variable.

Other Changes
  • feat(node): Split up http integration into composable parts (#​17524)
  • fix(core): Remove check and always respect ai.telemetry.functionId for Vercel AI gen spans (#​17811)
  • doc(core): Fix outdated JSDoc in beforeSendSpan (#​17815)
Internal Changes
  • ci: Do not run dependabot on e2e test applications (#​17813)
  • docs: Reword changelog for google gen ai integration (#​17805)

v10.16.0

Compare Source

  • feat(logs): Add internal replay_is_buffering flag (#​17752)
  • feat(react-router): Update loadContext type to be compatible with middleware (#​17758)
  • feat(replay/logs): Only attach sampled replay Ids to logs (#​17750)
  • fix(browser): Use current start timestamp for CLS span when CLS is 0 (#​17800)
  • fix(core): Prevent instrumentAnthropicAiClient breaking MessageStream api (#​17754)
  • fix(nextjs): Don't use chalk in turbopack config file (#​17806)
  • fix(react): Do not send additional navigation span on pageload (#​17799)
Internal Changes
  • build(aws): Ensure AWS build cache does not keep old files (#​17776)
  • chore: Add publish_release command (#​17797)
  • ref(aws-serverless): Add resolution for import-in-the-middle when building the Lambda layer (#​17780)
  • ref(aws-serverless): Improve README with better examples (#​17787)
  • ref(core): Improve promise buffer (#​17788)
  • Revert "test(e2e): Pin [email protected] due to @vercel/nft incompatibility (#​17777)" (#​17784)
  • test(e2e): Pin [email protected] due to @vercel/nft incompatibility (#​17777)
  • test(nextjs): Add route handler tests for turbopack (#​17515)
  • test(react-router): Test v8 middleware (#​17783)

v10.15.0

Compare Source

Important Changes
  • feat(cloudflare): Add honoIntegration with error-filtering function (#​17743)

    This release adds a honoIntegration to @sentry/cloudflare, which exposes a shouldHandleError function that lets you define which errors in onError should be captured.
    By default, Sentry captures exceptions with error.status >= 500 || error.status <= 299.

    The integration is added by default, and it's possible to modify this behavior like this:

     integrations: [
       honoIntegration({
        shouldHandleError: (err) => true; // always capture exceptions in onError
       })
     ]
  • feat(node): Add instrumentation for hono handler (#​17428)

This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.

  • feat(aws): Enable Lambda extension by default when using the Lamba layer (#​17684)

  • feat(browser): Add setActiveSpanInBrowser to set an active span in the browser (#​17714)

This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.

Other Changes
  • fix(browser): Improve handling of 0 and undefined resource timing values (#​17751)
  • ref(nextjs): Display build compatibility warning for webpack (#​17746)
Internal Changes
  • docs: Reword changelog for google gen ai instrumentation (#​17753)
  • build: Add @typescript-eslint/no-unnecessary-type-assertion rule (#​17728)
  • build: Update TS target to es2020 everywhere (#​17709)
  • chore: Add external contributor to CHANGELOG.md (#​17745)

Work in this release was contributed by @​Karibash. Thank you for your contribution!

v10.14.0

Compare Source

Important Changes
  • feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#​17723)

    The SDK now supports manually instrumenting Google's Gen AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient) to get an instrumented client.

Other Changes
  • fix(nextjs): Display updated turbopack warnings (#​17737)
  • ref(core): Wrap isolationscope in WeakRef when storing it on spans (#​17712)
Internal Changes
  • test(node): Avoid using specific port for node-integration-tests (#​17729)
  • test(nuxt): Update Nuxt version and add Nitro $fetch test (#​17713)

v10.13.0

Compare Source

Important Changes
  • feat(browser): Add option to explicitly end pageload span via reportPageLoaded() (#​17697)

    With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:

    Sentry.init({
      //...
      integrations: [
        // 1. Enable manual pageload reporting
        Sentry.browserTracingIntegration({ enableReportPageLoaded: true }),
      ],
    });
    
    // 2. Whenever you decide the page is loaded, call:
    Sentry.reportPageLoaded();

    Note that if Sentry.reportPageLoaded() is not called within 30 seconds of the initial pageload (or whatever value the finalTimeout option is set to), the pageload span will be ended automatically.

  • feat(core,node): Add instrumentation for GoogleGenAI (#​17625)

    The SDK now automatically instruments the @google/genai package to provide insights into your AI operations.

  • feat(nextjs): Promote useRunAfterProductionCompileHook to non-experimental build option (#​17721)

    The useRunAfterProductionCompileHook option is no longer experimental and is now a stable build option for Next.js projects.

  • feat(nextjs): Use afterProductionCompile hook for webpack builds (#​17655)

    Next.js projects using webpack can opt-in to use the useRunAfterProductionCompileHook hook for source map uploads.

  • feat(nextjs): Flip default value for useRunAfterProductionCompileHook for Turbopack builds (#​17722)

    The useRunAfterProductionCompileHook option is now enabled by default for Turbopack builds, enabling automated source map uploads.

  • feat(node): Do not drop 300 and 304 status codes by default (#​17686)

    HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.

Other Changes
  • feat(core): Add logger to core and allow scope to be passed log methods (#​17698)
  • feat(core): Allow to pass onSuccess to handleCallbackErrors (#​17679)
  • feat(core): Create template attributes in consoleLoggingIntegration (#​17703)
  • feat(deps): bump @​sentry/cli from 2.52.0 to 2.53.0 (#​17652)
  • feat(node): Add extra platforms to os context (#​17720)
  • fix(browser): Ensure idle span duration is adjusted when child spans are ignored (#​17700)
  • fix(core): Ensure builtin stack frames don't affect thirdPartyErrorFilterIntegration (#​17693)
  • fix(core): Fix client hook edge cases around multiple callbacks (#​17706)
  • fix(nextjs): Enable fetch span when OTel setup is skipped (#​17699)
  • fix(node): Fix this context for vercel AI instrumentation (#​17681)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#​17725)
  • chore: Add link to build and test icon in readme (#​17719)
  • chore(nuxt): Bump Vite and Rollup plugins (#​17671)
  • chore(repo): Add changelog entry for reportPageLoaded (#​17724)
  • ci: Fix lookup of changed E2E test apps (#​17707)
  • ci(test-matrix): Add logs for getTestMatrix (#​17673)
  • ref: Avoid some usage of SyncPromise where not needed (#​17641)
  • ref(core): Add debug log when dropping a span via ignoreSpans (#​17692)
  • ref(core): Avoid looking up anthropic-ai integration options (#​17694)
  • ref(core): Streamline module_metadata assignment and cleanup functions (#​17696)
  • ref(remix): Avoid unnecessary error wrapping HandleDocumentRequestFunction (#​17680)
  • Revert "[Gitflow] Merge master into develop"

Work in this release was contributed by @​Olexandr88. Thank you for your contribution!

v10.12.0

Compare Source

Important Changes
  • ref: Add and Adjust error event mechanism values

    This release includes a variety of changes aimed at setting the mechanism field on errors captured automatically by the Sentry SDKs. The intention is to clearly mark which instrumentation captured an error. In addition, some instrumentations previously did not yet annotate the error as handled or unhandled which this series of PRs corrects as well.

    Relevant PRs

    Released in 10.12.0:

    • ref(angular): Adjust ErrorHandler event mechanism (#​17608)
    • ref(astro): Adjust mechanism on error events captured by astro middleware (#​17613)
    • ref(aws-severless): Slightly adjust aws-serverless mechanism type (#​17614)
    • ref(bun): Adjust mechanism of errors captured in Bun.serve ([#​17616]

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Feb 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
translo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 9, 2025 5:39pm

@renovate renovate bot changed the title chore(deps): update dependency tailwind-merge to v3 chore(deps): update dependencies (major) Feb 20, 2025
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.

1 participant