- feat(nextjs): Add instrumentation utility for server actions (#9553)
This release adds a utility function withServerActionInstrumentation to the @sentry/nextjs SDK for instrumenting your Next.js server actions with error and performance monitoring.
You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:
import * as Sentry from "@sentry/nextjs";
import { headers } from "next/headers";
export default function ServerComponent() {
async function myServerAction(formData: FormData) {
"use server";
return await Sentry.withServerActionInstrumentation(
"myServerAction", // The name you want to associate this Server Action with in Sentry
{
formData, // Optionally pass in the form data
</tr></table>
- feat(nextjs): Add instrumentation utility for server actions (#9553)
This release adds a utility function withServerActionInstrumentation to the @sentry/nextjs SDK for instrumenting your Next.js server actions with error and performance monitoring.
You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:
import * as Sentry from "@sentry/nextjs";
import { headers } from "next/headers";
export default function ServerComponent() {
async function myServerAction(formData: FormData) {
"use server";
return await Sentry.withServerActionInstrumentation(
"myServerAction", // The name you want to associate this Server Action with in Sentry
{
formData, // Optionally pass in the form data
headers: headers(), // Optionally pass in headers
recordResponse: true, // Optionally record the server action response
},
async () => {
// ... Your Server Action code
withXSRFToken: added withXSRFToken option as a workaround to achieve the old withCredentials behavior; (#6046) (cff9967)
PRs
feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( #6046 )
📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour.
You should now use withXSRFToken along with withCredential to get the old behavior.
This functionality is considered as a fix.
withXSRFToken: added withXSRFToken option as a workaround to achieve the old withCredentials behavior; (#6046) (cff9967)
PRs
feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( #6046 )
📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour.
You should now use withXSRFToken along with withCredential to get the old behavior.
This functionality is considered as a fix.
feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ( #6046 )
📢 This PR added 'withXSRFToken' option as a replacement for old withCredentials behaviour.
You should now use withXSRFToken along with withCredential to get the old behavior.
This functionality is considered as a fix.
Bumps the npm-dependencies group with 10 updates:
7.0.12
8.0.0
7.75.1
7.81.1
1.5.1
1.6.2
0.14.10
0.15.5
3.33.1
3.33.3
9.4.0
9.4.1
7.23.2
7.23.3
7.23.2
7.23.3
1.69.4
1.69.5
17.3.0
17.3.1
Updates
@microsoft/signalr
from 7.0.12 to 8.0.0Release notes
Sourced from
@microsoft/signalr
's releases.Commits
3f1acb5
Merged PR 34970: [internal/release/8.0] Update dependencies from dnceng/inter...3caebba
Merged PR 34962: [internal/release/8.0] Update dependencies from dnceng/inter...c608ee3
Merge in 'release/8.0' changes9506f5a
Quarantine ConnectionClosedWithoutActiveRequestsOrGoAwayFIN (#51771)c8270da
Merge in 'release/8.0' changes892b10b
Remove selenium-standalone; update Selenium.WebDriver (#51775)c26c6ca
Merged PR 34926: [internal/release/8.0] Update dependencies from dnceng/inter...43bcd57
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-ef...4753bec
[internal/release/8.0] Update dependencies from dnceng/internal/dotnet-runtime4f7f2fd
[internal/release/8.0] Update dependencies from dnceng/internal/dotnet-efcoreUpdates
@sentry/vue
from 7.75.1 to 7.81.1Release notes
Sourced from
@sentry/vue
's releases.... (truncated)
Changelog
Sourced from
@sentry/vue
's changelog.... (truncated)
Commits
69f78d7
release: 7.81.188ceab4
Merge pull request #9614 from getsentry/prepare-release/7.81.1aa459aa
meta(changelog): Update changelog for 7.81.1b8c46ea
fix(nextjs): UseglobalThis
instead ofglobal
in edge runtime (#9612)2f17bb1
fix(astro): Remove method from span op (#9603)48e2337
fix(deno): Make sure files get published (#9611)4b8d755
chore: Add@sentry/deno
to issue template (#9610)b46a1bb
ref(feedback): Do not import window from browser pkg to avoid circular import...f24ea88
ref(feedback): Refactor attaching replay id to feedback event to use hooks (#...dbce251
Merge pull request #9602 from getsentry/remove-isanonymousUpdates
axios
from 1.5.1 to 1.6.2Release notes
Sourced from axios's releases.
... (truncated)
Changelog
Sourced from axios's changelog.
... (truncated)
Commits
b3be365
chore(release): v1.6.2 (#6082)8739acb
chore(ci): removed redundant release action; (#6081)bfa9c30
chore(docs): fix outdated grunt to npm scripts (#6073)a2b0fb3
chore(docs): update README.md (#6048)b12a608
chore(ci): removed paths-ignore filter; (#6080)0c9d886
chore(ci): reworked ignoring files logic; (#6079)30873ee
chore(ci): add paths-ignore config to testing action; (#6078)cff9967
feat(withXSRFToken): added withXSRFToken option as a workaround to achieve th...7009715
chore(ci): fixed release notification action; (#6064)7144f10
chore(ci): fixed release notification action; (#6063)Updates
bootstrap-vue-next
from 0.14.10 to 0.15.5Changelog
Sourced from bootstrap-vue-next's changelog.
... (truncated)
Commits
65bdc85
chore: release maine0082c4
add peristent option to popoverefc1ce9
Merge pull request #1614 from xvaara/floating-size9357ae6
smal fixes71fc6de
chore: release main0425ccf
Merge pull request #1626 from VividLemon/mainfebd812
fix: further changes to #1623657d4bd
chore: release main4afc833
Merge pull request #1624 from VividLemon/main7991073
fix(BFormCheckboxGroup): updates to modelValue being recursive fixes #1623Updates
core-js
from 3.33.1 to 3.33.3Changelog
Sourced from core-js's changelog.
Commits
a18759b
3.33.3d35fcf8
avoid sharing internal[[DedentMap]]
fromString.dedent
proposa between `...ddba98d
fix global object retrieval on Duktape2ce8c88
add a missed linkc052d2d
updateeslint-plugin-es-x
395cdab
fix a copy-paste bug in commentcca57be
use nativeparseInt
inesnext.number.from-string
for untangling7cbd6b5
3.33.2ffc6984
temporarily drop unspecified special cases fromNumber.fromString
before cl...f7b095e
fix handling of fractional number part and some special cases in `Number.from...Updates
esp-web-tools
from 9.4.0 to 9.4.1Release notes
Sourced from esp-web-tools's releases.
Commits
2830666
9.4.1a4b0c54
Bump rollup from 3.26.2 to 4.3.0 (#429)2e7cd26
Bump@rollup/plugin-typescript
from 11.1.2 to 11.1.5 (#420)e02fd63
Bump actions/checkout from 3 to 4 (#412)5906467
Bump typescript from 5.1.6 to 5.2.2 (#411)98ed4d0
Bump actions/setup-node from 3 to 4 (#424)305b958
Bump serve from 14.2.0 to 14.2.1 (#410)f7957ff
Bump to esptool-js 0.3.2 (#421)4465b0b
Bump tslib from 2.6.0 to 2.6.2 (#405)a5cb686
Bump prettier from 3.0.0 to 3.0.2 (#404)Updates
@babel/core
from 7.23.2 to 7.23.3Release notes
Sourced from
@babel/core
's releases.Changelog
Sourced from
@babel/core
's changelog.Commits
1bce5c9
v7.23.3934c1b3
Fix Node.js 10 CI failure (#16084)c46f000
Refactor handling of modules plugins inpreset-env
(#15988)1e15165
Require exact Babel 8 version inassertVersion
(#15955)0ba00c4
[babel 8] Remove core-js 2 and regenerator from preset-env (#15838)2a8c6df
Fix Node.js 6 CI (#16040)Updates
@babel/preset-env
from 7.23.2 to 7.23.3Release notes
Sourced from
@babel/preset-env
's releases.Changelog
Sourced from
@babel/preset-env
's changelog.Commits
1bce5c9
v7.23.346ee461
Add a bugfix plugin for https://crbug.com/v8/12421 (#14295)3688240
[babel 8] RemovegetModulesPluginNames
(#15989)c46f000
Refactor handling of modules plugins inpreset-env
(#15988)1e15165
Require exact Babel 8 version inassertVersion
(#15955)0ba00c4
[babel 8] Remove core-js 2 and regenerator from preset-env (#15838)Updates
sass
from 1.69.4 to 1.69.5Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.