Releases: NordicSemiconductor/pc-nrfconnect-shared
Releases · NordicSemiconductor/pc-nrfconnect-shared
v156
v155
Fix
- Disable Azure Insights when opting out to avoid leaking off browser
information.
v154
Changed
packageJsonLegacyApp
type forsupportedDevices
is nowstring[]
.
v153
Added
- Added
9151 DK
to known devices. openFileLocation
utility function.openLogFileLocation
function inlogger
object.
v152
Updated
- Electron version to
28.1.4
- @electron/remote to
2.1.1
v151
Changed
- Renamed exported object
usageData
totelemetry
and type
UsageDataMetadata
toTelemetryMetadata
. - Renamed several function in the
telemetry
object:enable()
→setUsersAgreedToTelemetry(true)
disable()
→setUsersAgreedToTelemetry(false)
reset()
→setUsersWithdrewTelemetryAgreement()
isEnabled()
→getIsSendingTelemetry()
(which now does not log
anymore)sendUsageData()
→sendEvent()
- In the component
ErrorBoundary
the propertysendUsageData
is renamed to
sendTelemetryEvent
.
Steps to upgrade when using this package
- If they are imported from shared, rename
usageData
andUsageDataMetadata
as well as the renamed functions mentioned above. - In usages of the component
ErrorBoundary
, rename the property
sendUsageData
tosendTelemetryEvent
.
v150
Removed
Overlay
tooltip inner padding should be set by the content within it.
Added
- Ability to remove the launcher window again. This is especially needed on
shutdown. Otherwise when at that time someone still tries to send IPC
messages to the launcher window, an exception is thrown.
Fixed
Overlay
tooltips weren't centered due to incorrect sizing styles.- When spawning the nrfutil process fails in certain ways, an uncaught
exception in the main process got thrown. The “certain ways” make this a bit
hard to reproduce: On macOS this happened, when the nrfutil executable did
not have the executable file mode. Usually this should not happen, because
we set that mode ourselves correctly.
v149
Added
openFile
export.
Changed
- Updated
es6
->es2021
in eslint configenv
.
Fixed
- Make new
isVerboseLogging
persistent setting get/set compatible with Main
thread code (by usingglobalThis
instead ofwindow
).
v148
Added
getModule
export from@nordicsemiconductor/pc-nrfconnect-shared/nrfutil
to retrieve/initialise specific nrfutil module sandbox.setVerboseLogging
,setLogLevel
andgetAllModuleVersions
exports from
@nordicsemiconductor/pc-nrfconnect-shared/nrfutil
to target all
initialised nrfutil modules.
Changed
isLoggingVerbose
persisted state is now saved in the app specific store.isLoggingVerbose
now reflects the current verbose logging state
(previously this was only used to determine whether an app should have
verbose logging enabled on startup). This allows code which does/should not
have access to the redux store to still retrieve the verbose logging state.Create system report
now logs the version of all initialised nrfutil
modules.- nrfutil device exports have now been moved to
@nordicsemiconductor/pc-nrfconnect-shared/nrfutil/device
.
Steps to upgrade
- Replace all calls of nrfutil device imported from
@nordicsemiconductor/pc-nrfconnect-shared/nrfutil
to
@nordicsemiconductor/pc-nrfconnect-shared/nrfutil/device
.
v147
Fixed
- Error details had a larger font size (16px) than the rest of the body of an
error dialog (14px).