Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ae5ec44
feat: :sparkles: create new svelte-kit routing provider
gingerbenw May 28, 2025
d76ec72
docs: :memo: add documentation
gingerbenw May 28, 2025
18111dc
update dependencies
gingerbenw May 28, 2025
ecc5942
Merge branch 'next' into PLAT-14191/svelte-kit-navigation
gingerbenw May 28, 2025
b6a1637
add unit tests, accept optional base in constructor
gingerbenw May 29, 2025
982b127
fix assertions in unit test
gingerbenw May 29, 2025
fee75e5
test: :test_tube: add svelte-kit end to end test
gingerbenw May 29, 2025
6ea8820
update e2e test
gingerbenw May 29, 2025
86d45c9
update packages
gingerbenw May 29, 2025
12153ec
refactor: :recycle: refactor resolveRoute to return the current route
gingerbenw Jun 4, 2025
ee74c31
update batch size
gingerbenw Jun 4, 2025
a13ce1f
add some timeouts
gingerbenw Jun 4, 2025
4ab79d3
test: :white_check_mark: use SPA mode for dynamic routes
gingerbenw Jun 6, 2025
ee735e9
skip on failing browsers
gingerbenw Jun 6, 2025
8b2d6c0
remove unused base parameter
gingerbenw Jun 6, 2025
96ea7a5
update comments
gingerbenw Jun 6, 2025
6e4b78b
refactor: :recycle: use defaultRouteResolver instead of / as fallback
gingerbenw Jun 9, 2025
9572625
update configuration to handle older browsers
gingerbenw Jun 9, 2025
eea04f3
remove commented out assertions
gingerbenw Jun 9, 2025
da280e1
implement getPreviousRoute
gingerbenw Jun 10, 2025
bc336af
discard resource load spans
gingerbenw Jun 10, 2025
9a67caa
pass initialRoute to plugin
gingerbenw Jun 10, 2025
6c3863f
skip on browsers that don't support esm
gingerbenw Jun 10, 2025
844f628
update README to include initial route
gingerbenw Jun 10, 2025
f641070
add svelte-kit package to auto-detect script
gingerbenw Jun 10, 2025
4c23ee0
fix skip
gingerbenw Jun 10, 2025
56791a6
remove trailingSlash
gingerbenw Jun 10, 2025
08a3ea1
update README
gingerbenw Jun 10, 2025
c0284d3
reintroduce trailing slash
gingerbenw Jun 10, 2025
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
3 changes: 2 additions & 1 deletion .buildkite/scripts/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"packages/angular",
"packages/react-router",
"packages/vue",
"packages/plugin-react-performance"
"packages/plugin-react-performance",
"packages/svelte-kit"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- (core) Added `onSpanStart` callbacks config option to allow spans to be inspected and modified on creation. [#631](https://github.com/bugsnag/bugsnag-js-performance/pull/631)
- (svelte-kit-performance) Added new routing provider for instrumenting route change spans with [SvelteKit](https://svelte.dev/docs/kit/introduction) [#632](https://github.com/bugsnag/bugsnag-js-performance/pull/632)

## [v2.13.0] (2025-05-15)

Expand Down
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ module.exports = {
testMatch: ['<rootDir>/packages/react-router/**/*.test.ts'],
...defaultModuleConfig
},
{
displayName: 'svelte-kit',
testMatch: ['<rootDir>/packages/svelte-kit/**/*.test.ts'],
...defaultModuleConfig
},
{
displayName: 'plugin-react-performance',
testEnvironment: 'jsdom',
Expand Down
Loading