@nordicsemiconductor/pc-nrfconnect-shared 172.0.0 → 174.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,15 +7,43 @@ 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
+ ## 174.0.0 - 2024-04-30
11
+
12
+ ### Added
13
+
14
+ - `setPaneDisabled` to disable a pane from the `NavMenu`.
15
+ - `setPaneHidden` to hide a pane from the `NavMenu`.
16
+ - `preHidden` and `preDisabled` properties in `Pane` type passed to `App`.
17
+ - Publish timestamp for nordic-publish for non-official sources.
18
+
19
+ #### Changed
20
+
21
+ - `currentPane` now returns the current pane name instead of index.
22
+ - Persisted `currentPane` value is now the pane name instead of index.
23
+
24
+ ### Removed
25
+
26
+ - Removed upload of legacy app info files when publishing apps.
27
+
28
+ ### Steps to upgrade when using this package
29
+
30
+ - Update all `currentPane` calls to work with strings instead of indexes.
31
+
32
+ ## 173.0.0 - 2024-04-23
33
+
34
+ ### Added
35
+
36
+ - Support for splitting M1 and x64 nrfutil sandboxes.
37
+
10
38
  ## 172.0.0 - 2024-04-15
11
39
 
12
40
  ### Fixed
13
41
 
14
- - nrf9151 and nrf9131 not have the modem trait set to true
42
+ - nrf9151 and nrf9131 not have the modem trait set to true.
15
43
 
16
44
  ### Changed
17
45
 
18
- - All `NRF91` devices are now considered to have modem trait
46
+ - All `NRF91` devices are now considered to have modem trait.
19
47
 
20
48
  ## 171.0.0 - 2024-04-04
21
49
 
package/ipc/MetaFiles.ts CHANGED
@@ -21,6 +21,7 @@ export type AppVersions = {
21
21
 
22
22
  export type AppVersion = {
23
23
  shasum?: string;
24
+ publishTimestamp?: string;
24
25
  tarballUrl: UrlString;
25
26
  nrfutilModules?: NrfutilModules;
26
27
  };
package/ipc/apps.ts CHANGED
@@ -34,6 +34,7 @@ interface Installed {
34
34
  repositoryUrl?: UrlString;
35
35
  html?: string;
36
36
  installed: {
37
+ publishTimestamp?: string;
37
38
  path: string;
38
39
  shasum?: string;
39
40
  };
@@ -42,7 +42,16 @@ const parseJsonBuffers = <T>(data: Buffer): T[] | undefined => {
42
42
 
43
43
  const prepareEnv = (baseDir: string, module: string, version: string) => {
44
44
  const env = { ...process.env };
45
- env.NRFUTIL_HOME = path.join(baseDir, 'nrfutil-sandboxes', module, version);
45
+ const nrfutilSandboxFolder =
46
+ process.platform === 'darwin' && process.arch !== 'x64'
47
+ ? path.join('nrfutil-sandboxes', process.arch)
48
+ : 'nrfutil-sandboxes';
49
+ env.NRFUTIL_HOME = path.join(
50
+ baseDir,
51
+ nrfutilSandboxFolder,
52
+ module,
53
+ version
54
+ );
46
55
  fs.mkdirSync(env.NRFUTIL_HOME, { recursive: true });
47
56
 
48
57
  env.NRFUTIL_EXEC_PATH = path.join(env.NRFUTIL_HOME, 'bin');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "172.0.0",
3
+ "version": "174.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",