@nordicsemiconductor/pc-nrfconnect-shared 233.0.0 → 235.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Changelog.md CHANGED
@@ -7,6 +7,18 @@ This project does _not_ adhere to
7
7
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
8
8
  every new version is a new major version.
9
9
 
10
+ ## 235.0.0 - 2025-11-06
11
+
12
+ ### Fixed
13
+
14
+ - A text sizing problem with Dropdown's chevron.
15
+
16
+ ## 234.0.0 - 2025-10-21
17
+
18
+ ### Changed
19
+
20
+ - In Telemetry disabled sending dependency events.
21
+
10
22
  ## 233.0.0 - 2025-10-10
11
23
 
12
24
  ### Changed
package/README.md CHANGED
@@ -32,17 +32,3 @@ updated to the right version and today‘s date.
32
32
 
33
33
  When those conditions are met, a new release of shared will automatically be
34
34
  created when the according PR is merged into main.
35
-
36
- ## Unpublishing a version
37
-
38
- If you need to unpublish a specific version from npm (e.g., due to a critical
39
- bug), you can use the "Unpublish npm version" GitHub Action:
40
-
41
- 1. Go to the
42
- [Unpublish npm version GitHub Action](https://github.com/NordicSemiconductor/pc-nrfconnect-shared/actions/workflows/unpublish-npm-version.yml)
43
- and run the workflow.
44
- 1. Enter the version to unpublish (e.g., `221.0.0`)
45
-
46
- **Warning:** Unpublishing a version from npm is irreversible and should only be
47
- done in exceptional circumstances (e.g., security vulnerabilities, critical
48
- bugs).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "233.0.0",
3
+ "version": "235.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,6 +21,7 @@
21
21
  "check:lint": "eslint --color .",
22
22
  "check:types": "tsc --noEmit",
23
23
  "check:license": "tsx scripts/nrfconnect-license.ts check",
24
+ "create-source": "tsx scripts/create-source.ts",
24
25
  "generate-types": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir ./typings/generated --rootDir .",
25
26
  "prepare": "tsx scripts/installHusky.ts",
26
27
  "prepare-shared-release": "tsx scripts/prepare-shared-release.ts",
package/release_notes.md CHANGED
@@ -1,3 +1,3 @@
1
- ### Changed
1
+ ### Fixed
2
2
 
3
- - Use correct Chrome version when building for the renderer process.
3
+ - A text sizing problem with Dropdown's chevron.
@@ -94,7 +94,7 @@ export default <T,>({
94
94
  <span
95
95
  className={`mdi mdi-chevron-down ${classNames(
96
96
  isActive && 'tw-rotate-180',
97
- size === 'sm' ? 'tw-text-base' : 'tw-text-lg',
97
+ size === 'sm' ? 'tw-text-base' : 'tw-text-lg/none',
98
98
  )}`}
99
99
  />
100
100
  </button>
@@ -24,12 +24,24 @@ export default class TelemetrySenderInRenderer extends TelemetrySender {
24
24
 
25
25
  const accountId = getTelemetryClientId();
26
26
 
27
+ // Fix issue with duplicate events being sent https://github.com/microsoft/ApplicationInsights-JS/issues/796
28
+ const removeDuplicateEvents = {
29
+ isStorageUseDisabled: true,
30
+ namePrefix: applicationName,
31
+ };
32
+
33
+ // According to https://github.com/microsoft/ApplicationInsights-JS/issues/2655#issuecomment-3423857757 this might be the way to disable dependency events
34
+ const disableDependencyEvents = {
35
+ disableAjaxTracking: true,
36
+ disableFetchTracking: true,
37
+ };
38
+
27
39
  this.client = new ApplicationInsights({
28
40
  config: {
29
41
  instrumentationKey: this.INSTRUMENTATION_KEY,
30
42
  accountId, // to hide with removeAllMetadata
31
- isStorageUseDisabled: true, // fix issue with duplicate events being sent https://github.com/microsoft/ApplicationInsights-JS/issues/796
32
- namePrefix: applicationName, // fix issue with duplicate events being sent https://github.com/microsoft/ApplicationInsights-JS/issues/796
43
+ ...removeDuplicateEvents,
44
+ ...disableDependencyEvents,
33
45
  },
34
46
  });
35
47
 
@@ -1 +1 @@
1
- {"version":3,"file":"TelemetrySenderInRenderer.d.ts","sourceRoot":"","sources":["../../../../src/telemetry/TelemetrySenderInRenderer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAMzE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,eAAe;IAClE,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAEvB,UAAU;IA6ChB,SAAS,2DAA0C;IAEnD,SAAS,GAAU,QAAQ,MAAM,EAAE,WAAW,iBAAiB,mBAG7D;IAEF,YAAY,GAAU,UAAU,MAAM,mBACyB;IAE/D,UAAU,GAAU,MAAM,MAAM,EAAE,SAAS,MAAM,mBACW;IAE5D,SAAS,GAAU,SAAS,MAAM,mBACmB;IAErD,eAAe,GAAU,OAAO,KAAK,mBAGnC;IAEF,KAAK,sBAAgD;IAErD,IAAI,IAAI,IAAI;CAOf"}
1
+ {"version":3,"file":"TelemetrySenderInRenderer.d.ts","sourceRoot":"","sources":["../../../../src/telemetry/TelemetrySenderInRenderer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAMzE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,eAAe;IAClE,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAEvB,UAAU;IAyDhB,SAAS,2DAA0C;IAEnD,SAAS,GAAU,QAAQ,MAAM,EAAE,WAAW,iBAAiB,mBAG7D;IAEF,YAAY,GAAU,UAAU,MAAM,mBACyB;IAE/D,UAAU,GAAU,MAAM,MAAM,EAAE,SAAS,MAAM,mBACW;IAE5D,SAAS,GAAU,SAAS,MAAM,mBACmB;IAErD,eAAe,GAAU,OAAO,KAAK,mBAGnC;IAEF,KAAK,sBAAgD;IAErD,IAAI,IAAI,IAAI;CAOf"}