Releases: NordicSemiconductor/pc-nrfconnect-shared
Releases · NordicSemiconductor/pc-nrfconnect-shared
v136
Fixed
useStopWatch
milliseconds was not correctly calculated- External JLink devices would not connect to apps device list properly if
selected before they are connected to the debug-in heder of the device
Changed
useStopWatch
reset and start no longer force a rerender if these are a
dependency of a useEffectuseStopWatch
start optional time param no longer default to the last time
when paused but 0.nrfutil device
device-info
return undefined if reading info throws
Steps to upgrade when using this package
useStopWatch
If start() was used after a pause() with no call to reset()
start need to be called with time i.e. start(time)
v135
Changed
- Updated
nrf-intel-hex
to the latest version which slightly changed some
types (fromBuffer
toUint8Array
) because this was corrected there.
v134
Added
defaultButtonLabel
onDropdown
component, for cases where it is useful
to have a default item that should not be selected after a different item
has been selected.
Changed
- The
Dropdown
component is now generic, and will infer theDropdownItem
type, from the its properties. Meaning that if you pass in a list of
DropdownItem<number>
to items, then theonSelect
item will be of type
DropdownItem<number>
. - Version numbers in this changelog are changed from the shorter variant like
133
to the complete version number like133.0.0
.
Fixed
- Telemtry: Metadata was not removed on request, when being in the main
process. This is not critical because this code isn't yet executed in real
life.
v133
Changed
- Nrfutil
sandbox
default logging level to 'off' in production and 'error'
in development environments
v132
Added
- Extended
waitForDevice
to allow apps to opt-out from refetching the device
info when device a reapers from a reboot
Fixed
deviceInfo
is update in redux on device select
v131
Changed
- Storage key
isSendingUsageData
→isSendingTelemetry
. The consequence of
this is that telemetry is only sent after users again agree to it, which is
required because we changed the agreement from Google Analytics to Microsoft
Azure.
Fixed
- Removed warning from
applicationinsights
in the console on start.
v130
Fixed
- Ensure that all enumerated devices are always processed in order to avoid:
- calling nrfutil device-info multiple times for the same device
- only calling onSuccess once when waiting for device when rebooting
nrfutil device
now callsdevice-info
before notifying the app
with an onSelectedDevice. This is to ensure the operations to the device are
completed before the app possibly does any more action on it
v129
Added
nrfutil
sandbox now allows caller to pass optional lambda to manipulate
the env valuesnrfutil
provides an alternative to spawn and just execnrfutil device
auto logs version information when it is initialed for the
first time.
Changed
ErrorBoundary
only collect device lib info if these app adds nrfutil
device as a dependency inpackage.json
App
no longer logs nrfutil device version.
v128
Fixed
NumberInputSliderWithUnit
component did not disable all sub-componentsNumberInputSliderWithUnit
did not update when external value changed
v127
Fixed
- version 126 was released as a prerelease on NPM