Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Changelog

## Unreleased

- fix(pnpm): Surface package manager errors and provide pnpm 11 build approval guidance ([#1317](https://github.com/getsentry/sentry-wizard/pull/1317))
- fix(react-native): Add `use_modular_headers!` to the iOS `Podfile` so `pod install` succeeds with the Swift-based RNSentry pod
- feat(react-native): Prompt for Logs first in the feature selection flow ([#1308](https://github.com/getsentry/sentry-wizard/pull/1308))
- fix(react-native): Use User Feedback Widget terminology in the setup flow
- ref(react-router): Install SDK package with version `@^10` ([#1303](https://github.com/getsentry/sentry-wizard/pull/1303))

### Breaking Changes

- feat(apple)!: Remove CocoaPods as an installation option ([#1299](https://github.com/getsentry/sentry-wizard/pull/1299))

Comment on lines -3 to -14

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These deletions are intended?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, the changelog in this repo is auto-generated by craft. I'll check it once we cut the next release

## 6.13.0

### Fixes
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@types/yargs": "^16.0.9",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/coverage-v8": "3.2.7",
"clifty": "0.3.2",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -62,12 +62,13 @@
"prettier": "^2.8.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vite": "^6.2.3",
"vitest": "3.0.9"
"vite": "^6.4.3",
"vitest": "3.2.7"
},
"resolutions": {
"simple-plist": "1.4.0-0",
"tmp": "0.2.4"
"tmp": "0.2.4",
"vite": "^6.4.3"
},
"engines": {
"node": ">=18.20.6",
Expand Down
8 changes: 4 additions & 4 deletions test/nextjs/wizard-double-wrap-prevention.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ export default nextConfig;`;
const withSentryConfigMatches = newCode.match(/withSentryConfig\s*\(/g);
expect(withSentryConfigMatches).toHaveLength(1);

expect(newCode).toMatchInlineSnapshot(`
"const nextConfig = {};
// Not an inline snapshot: interpolating a shared constant defeats
// vitest's indentation detection for inline snapshots.
expect(newCode).toBe(`const nextConfig = {};

export default withSentryConfig(nextConfig, ${sentryOptionsSnapshot});"
`);
export default withSentryConfig(nextConfig, ${sentryOptionsSnapshot});`);
});

it('should handle withSentryConfig(nextConfig) without options using AST', () => {
Expand Down
12 changes: 8 additions & 4 deletions test/sveltekit/templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ describe('getInstrumentationServerTemplate', () => {

// uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: import.meta.env.DEV,
});"`);
});"
`);
});

it('generates instrumentation.server template with only logs enabled', () => {
Expand All @@ -362,7 +363,8 @@ describe('getInstrumentationServerTemplate', () => {

// uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: import.meta.env.DEV,
});"`);
});"
`);
});

it('generates instrumentation.server template with only tracesSampleRate enabled', () => {
Expand All @@ -382,7 +384,8 @@ describe('getInstrumentationServerTemplate', () => {

// uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: import.meta.env.DEV,
});"`);
});"
`);
});

it('generates instrumentation.server template without any extra features enabled', () => {
Expand All @@ -400,7 +403,8 @@ describe('getInstrumentationServerTemplate', () => {

// uncomment the line below to enable Spotlight (https://spotlightjs.com)
// spotlight: import.meta.env.DEV,
});"`);
});"
`);
});
});

Expand Down
Loading
Loading