Skip to content

Commit 293e55d

Browse files
authored
Merge branch 'main' into ta/O11Y-606/replay
2 parents 3d7315a + 9fb304d commit 293e55d

File tree

9 files changed

+46
-34
lines changed

9 files changed

+46
-34
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Dependency Scan
2+
permissions:
3+
contents: read
4+
5+
on:
6+
pull_request:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
dependency-scan:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Generate SBOM
16+
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@main
17+
with:
18+
types: 'nodejs'
19+
20+
- name: Evaluate SBOM Policy
21+
uses: launchdarkly/gh-actions/actions/dependency-scan/evaluate-policy@main
22+
with:
23+
bom-file: bom.nodejs.json

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"go": "0.4.0",
33
"sdk/@launchdarkly/observability": "0.4.5",
4-
"sdk/@launchdarkly/observability-android": "0.10.0",
4+
"sdk/@launchdarkly/observability-android": "0.11.0",
55
"sdk/@launchdarkly/observability-dotnet": "0.3.0",
66
"sdk/@launchdarkly/observability-node": "0.3.1",
77
"sdk/@launchdarkly/observability-python": "0.1.1",
8-
"sdk/@launchdarkly/observability-react-native": "0.6.0",
8+
"sdk/@launchdarkly/observability-react-native": "0.7.0",
99
"sdk/@launchdarkly/session-replay": "0.4.5",
1010
"sdk/highlight-run": "9.22.2"
1111
}

sdk/@launchdarkly/observability-android/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.11.0](https://github.com/launchdarkly/observability-sdk/compare/launchdarkly-observability-android-0.10.0...launchdarkly-observability-android-0.11.0) (2025-10-10)
4+
5+
6+
### Features
7+
8+
* **android:** Add conditional exporters for logs and traces ([#254](https://github.com/launchdarkly/observability-sdk/issues/254)) ([38f6c45](https://github.com/launchdarkly/observability-sdk/commit/38f6c45192a39d49aa629c2c5e24cd5310166003))
9+
310
## [0.10.0](https://github.com/launchdarkly/observability-sdk/compare/launchdarkly-observability-android-0.9.0...launchdarkly-observability-android-0.10.0) (2025-10-06)
411

512

sdk/@launchdarkly/observability-android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
android.useAndroidX=true
55

66
#x-release-please-start-version
7-
version=0.10.0
7+
version=0.11.0
88
#x-release-please-end

sdk/@launchdarkly/observability-react-native/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.7.0](https://github.com/launchdarkly/observability-sdk/compare/observability-react-native-0.6.0...observability-react-native-0.7.0) (2025-10-15)
4+
5+
6+
### Features
7+
8+
* update unhandled promise rejection handling ([#260](https://github.com/launchdarkly/observability-sdk/issues/260)) ([bd0321c](https://github.com/launchdarkly/observability-sdk/commit/bd0321cd2b0edf9e0556dd914ff97430890b0564))
9+
310
## [0.6.0](https://github.com/launchdarkly/observability-sdk/compare/observability-react-native-0.5.0...observability-react-native-0.6.0) (2025-09-02)
411

512

sdk/@launchdarkly/observability-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@launchdarkly/observability-react-native",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"license": "Apache-2.0",
55
"repository": {
66
"type": "git",

sdk/highlight-run/src/client/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export type HighlightClassOptions = {
166166
sessionShortcut?: SessionShortcutOptions
167167
sessionSecureID: string // Introduced in firstLoad 3.0.1
168168
storageMode?: 'sessionStorage' | 'localStorage'
169-
sessionCookie?: true
169+
sessionCookie?: boolean
170170
sendMode?: 'webworker' | 'local'
171171
otlpEndpoint?: HighlightOptions['otlpEndpoint']
172172
otel?: HighlightOptions['otel']

sdk/highlight-run/src/client/types/types.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export type CommonOptions = {
122122
* Set to `true` to store session data in a cookie instead.
123123
* This can help with compliance for cookie-consent regulation.
124124
*/
125-
sessionCookie?: true
125+
sessionCookie?: boolean
126126
/**
127127
* Specifies if Highlight should not automatically initialize when the class is created.
128128
* This should be used with `.start()` and `.stop()` if you want to control when Highlight records.
@@ -166,12 +166,6 @@ export type HighlightOptions = CommonOptions & {
166166
* @example tracingOrigins: ['localhost', /^\//, 'backend.myapp.com']
167167
*/
168168
tracingOrigins?: boolean | (string | RegExp)[]
169-
/**
170-
* Specifies if Highlight should not automatically start recording when the app starts.
171-
* This should be used with `H.start()` and `H.stop()` if you want to control when Highlight records.
172-
* @default false
173-
*/
174-
manualStart?: boolean
175169
/**
176170
* This disables recording network requests.
177171
* The data includes the URLs, the size of the request, and how long the request took.
@@ -296,19 +290,6 @@ export type HighlightOptions = CommonOptions & {
296290
* @see {@link https://docs.highlight.run/session-shortcut} for more information.
297291
*/
298292
sessionShortcut?: SessionShortcutOptions
299-
/**
300-
* Set to `sessionStorage` to bypass all `window.localStorage` usage.
301-
* This can help with compliance for cookie-consent regulation.
302-
* Using `sessionStorage` will cause app close+reopens to start a new highlight session,
303-
* as the session ID will not persist.
304-
*/
305-
storageMode?: 'sessionStorage' | 'localStorage'
306-
/**
307-
* By default, session data is stored in the `sessionStorage` of the browser.
308-
* Set to `true` to store session data in a cookie instead.
309-
* This can help with compliance for cookie-consent regulation.
310-
*/
311-
sessionCookie?: true
312293
/**
313294
* By default, data is serialized and send by the Web Worker. Set to `local` to force
314295
* sending from the main js thread. Only use `local` for custom environments where Web Workers

sdk/highlight-run/src/client/utils/sessionStorage/highlightSession.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,10 @@ function pruneSessionData(keepKey: string): void {
112112
const sessionData = JSON.parse(
113113
getItem(key) || '{}',
114114
) as SessionData
115-
if (sessionData.lastPushTime === undefined) {
116-
internalLogOnce(
117-
'highlightSession',
118-
'pruneSessionData',
119-
'error',
120-
`data for key ${key} is not session data`,
121-
)
122-
} else if (
115+
if (
116+
sessionData.lastPushTime !== undefined &&
123117
Date.now() - sessionData.lastPushTime >=
124-
SESSION_PUSH_THRESHOLD
118+
SESSION_PUSH_THRESHOLD
125119
) {
126120
internalLogOnce(
127121
'highlightSession',

0 commit comments

Comments
 (0)