@nordicsemiconductor/pc-nrfconnect-shared 128.0.0 → 130.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 +33 -6
- package/coverage/cobertura-coverage.xml +787 -479
- package/nrfutil/device/batch.ts +9 -4
- package/nrfutil/device/common.ts +2 -0
- package/nrfutil/device/list.ts +1 -1
- package/{src/utils → nrfutil/device}/logLibVersions.ts +20 -6
- package/nrfutil/sandbox.ts +248 -48
- package/nrfutil/sandboxTypes.ts +4 -7
- package/package.json +2 -1
- package/src/Device/DeviceSelector/DeviceSelector.tsx +1 -1
- package/src/Device/deviceLister.ts +135 -111
- package/src/logging/sendInitialLogMessages.ts +0 -24
- package/src/utils/systemReport.ts +24 -11
- package/typings/generated/nrfutil/device/batch.d.ts.map +1 -1
- package/typings/generated/nrfutil/device/common.d.ts.map +1 -1
- package/typings/generated/nrfutil/device/logLibVersions.d.ts +4 -0
- package/typings/generated/nrfutil/device/logLibVersions.d.ts.map +1 -0
- package/typings/generated/nrfutil/sandbox.d.ts +14 -5
- package/typings/generated/nrfutil/sandbox.d.ts.map +1 -1
- package/typings/generated/nrfutil/sandboxTypes.d.ts +4 -7
- package/typings/generated/nrfutil/sandboxTypes.d.ts.map +1 -1
- package/typings/generated/src/Device/deviceLister.d.ts.map +1 -1
- package/typings/generated/src/logging/sendInitialLogMessages.d.ts.map +1 -1
- package/typings/generated/src/utils/systemReport.d.ts.map +1 -1
- package/typings/generated/src/utils/logLibVersions.d.ts +0 -3
- package/typings/generated/src/utils/logLibVersions.d.ts.map +0 -1
package/Changelog.md
CHANGED
|
@@ -7,6 +7,33 @@ 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
|
+
## 130 - 2023-11-14
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Ensure that all enumerated devices are always processed in order to avoid:
|
|
15
|
+
- calling nrfutil device-info multiple times for the same device
|
|
16
|
+
- only calling onSuccess once when waiting for device when rebooting
|
|
17
|
+
- `nrfutil device` now calls `device-info` before notifying the app with an
|
|
18
|
+
onSelectedDevice. This is to ensure the operations to the device are
|
|
19
|
+
completed before the app possibly does any more action on it
|
|
20
|
+
|
|
21
|
+
## 129 - 2023-11-13
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- `nrfutil` sandbox now allows caller to pass optional lambda to manipulate
|
|
26
|
+
the env values
|
|
27
|
+
- `nrfutil` provides an alternative to spawn and just exec
|
|
28
|
+
- `nrfutil device` auto logs version information when it is initialed for the
|
|
29
|
+
first time.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- `ErrorBoundary` only collect device lib info if these app adds nrfutil
|
|
34
|
+
device as a dependency in `package.json`
|
|
35
|
+
- `App` no longer logs nrfutil device version.
|
|
36
|
+
|
|
10
37
|
## 128 - 2023-11-08
|
|
11
38
|
|
|
12
39
|
### Fixed
|
|
@@ -71,7 +98,7 @@ every new version is a new major version.
|
|
|
71
98
|
|
|
72
99
|
### Steps to upgrade when using this package
|
|
73
100
|
|
|
74
|
-
- In `package.json` bump `engines.nrfconnect` to at least `>=4.
|
|
101
|
+
- In `package.json` bump `engines.nrfconnect` to at least `>=4.3.0`.
|
|
75
102
|
- Remove `reportUsageData` property if it is set in project. If this was set
|
|
76
103
|
to true add `usageData.enableTelemetry()` as shown below. For projects like
|
|
77
104
|
launcher add `usageData.enableTelemetry()` to main and renderer window.
|
|
@@ -114,16 +141,16 @@ render(<App panes={[]} />);
|
|
|
114
141
|
- `deviceInfo` is populate automatically when a device is selected and can be
|
|
115
142
|
retrieve using the redux selector `selectedDeviceInfo`.
|
|
116
143
|
|
|
117
|
-
### Steps to upgrade when using this package
|
|
118
|
-
|
|
119
|
-
- Change `nrfConnectForDesktop.nrfutil.device` to 2.0.0.
|
|
120
|
-
- Update all device properties to match the changes above.
|
|
121
|
-
|
|
122
144
|
### Fixed
|
|
123
145
|
|
|
124
146
|
- Check installed JLink version against expected version given by nrfutil
|
|
125
147
|
(previously this was the version bundled by the launcher).
|
|
126
148
|
|
|
149
|
+
### Steps to upgrade when using this package
|
|
150
|
+
|
|
151
|
+
- Change `nrfConnectForDesktop.nrfutil.device` to 2.0.0.
|
|
152
|
+
- Update all device properties to match the changes above.
|
|
153
|
+
|
|
127
154
|
## 121 - 2023-10-24
|
|
128
155
|
|
|
129
156
|
### Added
|