Releases: huang-julien/nitro-applicationinsights
Releases · huang-julien/nitro-applicationinsights
v0.9.2
Fixes
- error are now correctly tracked and binded to their events
What's Changed
- fix: track with waitUntil by @huang-julien in #90
- fix: set event trace span Id as error telemetry parent by @huang-julien in #91
- test: test e2e traces by @huang-julien in #94
- chore(deps): update all non-major dependencies by @renovate in #88
- chore(deps): update autofix-ci/action digest to 2891949 by @renovate in #93
- chore: 0.9.2 by @huang-julien in #92
Full Changelog: v0.9.1...v0.9.2
v0.9.1
Fix
⚠️ the first parameter of'applicationinsights:trackError:before'
hook is now anApplicationInsights.Contracts.ExceptionTelemetry
What's Changed
- chore(deps): update all non-major dependencies by @renovate in #84
- fix: pass ExceptionTelemetry instead of error in 'applicationinsights:trackError:before' by @huang-julien in #85
- docs: update hooks by @huang-julien in #86
- chore: 0.9.1 by @huang-julien in #87
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- feat: augment nitro config by @huang-julien in #82
- chore(deps): update all non-major dependencies by @renovate in #69
- chore(deps): update all non-major dependencies by @renovate in #80
- chore: isolate tsconfig from playground by @huang-julien in #81
- chore: 0.9.0 by @huang-julien in #83
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- feat(plugin): allow users to not track an error by @huang-julien in #74
- chore: set pnpm version to 9.0.5 by @huang-julien in #76
- chore: regen lock file by @huang-julien in #77
- chore: 0.8.0 by @huang-julien in #75
Full Changelog: v0.7.0...v0.8.0
v0.7.0
nitro-applicationinsights v0.7.0
nitro-applicationinsights is now a nitro module ! 🎉
Migration steps from <=0.6.0
- delete your file which re-exports the former
nitro-applicationinsights
plugin - add
nitro-applicationinsights
in themodules
array within the nitro config - you can remove
nitro-applicationinsights
fromexternals.inline
in your nitro config. The module will handle it for you ! - (windows) you can remove
experimental.legacyExternals
in your nitro config. The module will enable it for you !
What's Changed
- chore(deps): remove mlly resolution by @huang-julien in #62
- chore(deps): update all non-major dependencies by @renovate in #53
- feat!: convert to nitro module by @huang-julien in #22
- docs: type in README by @huang-julien in #63
- chore(deps): update devdependency eslint to v9 by @renovate in #61
- chore(deps): update devdependency @nuxtjs/plausible to v1 by @renovate in #60
- chore(deps): update codecov/codecov-action action to v4 - autoclosed by @renovate in #30
- chore(deps): update pnpm/action-setup action to v3 by @renovate in #31
- chore: eslint flat config by @huang-julien in #65
- fix: remove defineNitroPlugin import by @huang-julien in #66
- chore(deps): update all non-major dependencies by @renovate in #68
- fix: fix various build issues by @huang-julien in #67
- fix: set back legacyExternal, use mlly resolvePath and remove cjs runtime by @huang-julien in #72
- chore: 0.7.0 by @huang-julien in #64
Full Changelog: v0.6.0...v0.7.0
v0.6.0
nitro-applicationinsights v0.6.0
Few breaking changes is happening on this version.
You may also expect next minor version or final stable version to change nitro-applicationinsights into a nitro module.
Migration steps
- Add nitro-applicationinsights to
externals.inline
:
export default defineNitroConfig({
externals: {
inline: ['nitro-applicationinsights']
}
})
- env to runtime config:
- You simply need to change the name of your variables. See nitro doc for the name of you env variables.
- utilities imports:
- You need to import from
nitro-applicationinsights/runtime
instead ofnitro-applicationinsights
- You need to import from
- getTraceparentHeader to getTraceparentHeaders:
- It's the same signature, only the name has changed
Features
⚠️ feat!: move env to runtimeConfig #51
Fixes
- fix: fix create$fetchInterceptors name #50
- fix(deps): move h3 and nitropack to peerdeps to avoid type augment conflict #47
- fix: force resolution of mlly to 1.4.0 #55
Refactor/Chore
⚠️ refactor!: move utilities to /runtime export #44⚠️ refactor!: rename getTraceparentHeader to getTraceparentHeaders #46
Docs
What's Changed
- chore(deps): update all non-major dependencies by @renovate in #41
- refactor: move utilities to /runtime export by @huang-julien in #44
- docs: improve doc for create$fetchInterceptor by @huang-julien in #45
- refactor!: rename getTraceparentHeader to getTraceparentHeaders by @huang-julien in #46
- fix(deps): move h3 and nitropack to peerdeps to avoid type augment conflict by @huang-julien in #47
- fix: fix create$fetchInterceptors name by @huang-julien in #50
- feat!: move env to runtimeConfig by @huang-julien in #51
- fix: force resolution of mlly to 1.4.0 by @huang-julien in #55
- docs: explain how to inline the plugin by @huang-julien in #56
- fix: use correct name for runtimeConfig by @huang-julien in #57
- chore: v0.6.0 by @huang-julien in #52
Full Changelog: v0.5.1...v0.6.0
v0.5.1
What's Changed
- chore(deps): update all non-major dependencies by @renovate in #40
- fix: use defaultClient singleton by @huang-julien in #42
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- feat: add connection string to env by @janjhnsn in #34
- feat: add send live metrics to env by @janjhnsn in #35
- fix: correctly correlate incoming request by @huang-julien in #36
- fix: track nitro error if only defaultClient is initialized by @huang-julien in #37
- fix: fix $fetch interceptor util by @huang-julien in #38
New Contributors
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- feat: add utils for dependency tracking by @huang-julien in #20
- chore(deps): update vitest monorepo to v1 (major) by @renovate in #18
- chore(deps): update autofix-ci/action digest to ea32e3a by @renovate in #23
- chore(deps): update all non-major dependencies by @renovate in #24
- chore(deps): update actions/setup-node action to v4 by @renovate in #13
- chore(deps): update all non-major dependencies by @renovate in #25
- chore(deps): update devdependency nuxt to ^3.9.1 by @renovate in #26
- chore(deps): update all non-major dependencies by @renovate in #27
- chore(deps): update all non-major dependencies by @renovate in #28
- chore(deps): update all non-major dependencies by @renovate in #29
- chore(deps): update all non-major dependencies by @renovate in #32
- fix: don't track if shouldTrack is set to false after hook by @huang-julien in #33
Full Changelog: v0.3.1...v0.4.0
v0.3.1
What's Changed
- fix: set initial trace as operationId
- upgrade h3 to 1.9.0
- upgrade nitro to 2.8.0
Full Changelog: v0.3.0...v0.3.1