Skip to content

v7.1.0

Compare
Choose a tag to compare
@jtoar jtoar released this 07 Mar 15:47
· 1647 commits to main since this release
a0bdec9

Changelog

  • fix(deps): update prisma monorepo to v5.10.2 (#10088)

    This release updates Prisma to v5.10.2. Here are quick links to all the release notes since the last version (v5.9.1):

  • Add support for loading more env var files (#9961, #10093, #10094, and #10123) by @orta

    Fixes #9877. This PR adds CLI functionality to load more .env files via NODE_ENV and an --load-env-files flag.
    Env vars loaded via either of these methods override the values in .env:

    # Loads '.env.production', which overrides values in '.env'
    NODE_ENV=production yarn rw exec myScript
    
    # Load '.env.stripe' and '.env.nakama', which overrides values
    yarn rw exec myScript --load-env-files stripe nakama
    # Or you can specify them individually:
    yarn rw exec myScript --load-env-files stripe --load-env-files nakama
    

    Note that this feature is mainly for local scripting. Most deploy providers don't let you upload .env files (unless you're using baremetal) and usually have their own way of determining environments.

  • fix(api-server): Preserve original host header for proxied API requests (#10082) by @magJ

    Some apps rely on reading the host header (e.g. multi-tenant apps served over multiple subdomains). This change forwards on the original host header on proxied Fastify requests, and the experimental SSR/RSC server.

  • fix(deps): update opentelemetry-js monorepo (#10065) by @Tobbe

    Updates our opentelemetry packages. This is a breaking change for users of our experimental opentelemetry support. This is what their changelog says is breaking:

    • fix(exporter-metrics-otlp-grpc): programmatic headers take precedence over
      environment variables #2370 @Vunovati
    • fix(exporter-metrics-otlp-http): programmatic headers take precedence over
      environment variables #2370 @Vunovati
    • fix(exporter-metrics-otlp-proto): programmatic headers take precedence over
      environment variables #2370 @Vunovati
    • fix(otlp-exporter-base)!: decrease default concurrency limit to 30 #4211
      @pichlermarc
      • fixes a memory leak on prolonged collector unavailability
      • this change is marked as breaking as it changes defaults
    • fix(instrumentation)!: pin [email protected] #4441
      • Fixes a bug where, in some circumstances, ESM instrumentation packages
        would try to instrument CJS exports on ESM, causing the end-user
        application to crash.
      • This breaking change only affects users that are using the experimental
        @opentelemetry/instrumentation/hook.mjs loader hook AND Node.js 18.19 or
        later:
        • This reverts back to an older version of import-in-the-middle due to
          nodejs/import-in-the-middle#57
        • This version does not support Node.js 18.19 or later

Dependencies

Click to see all upgraded dependencies
  • fix(deps): update opentelemetry-js monorepo #10065
  • fix(deps): update prisma monorepo to v5.10.2 #10088
  • Update dependency @apollo/client to v3.9.5 #10087
  • Update storybook monorepo to v7.6.17 #10089
  • Update babel monorepo to v7.24.0 #10090
  • fix(deps): update dependency fastify to v4.26.2 #10092
  • fix(deps): update dependency @fastify/http-proxy to v9.4.0 #10091