Skip to content

Releases: NordicSemiconductor/pc-nrfconnect-shared

v156

06 Feb 12:41
cc8cc40
Compare
Choose a tag to compare

Added

  • Command wrappers to read Board Controller configuration
    (getBoardControllerConfig)

v155

05 Feb 13:55
4a3fe22
Compare
Choose a tag to compare

Fix

  • Disable Azure Insights when opting out to avoid leaking off browser
    information.

v154

05 Feb 13:13
4d87c8d
Compare
Choose a tag to compare

Changed

  • packageJsonLegacyApp type for supportedDevices is now string[].

v153

05 Feb 11:54
2bfecee
Compare
Choose a tag to compare

Added

  • Added 9151 DK to known devices.
  • openFileLocation utility function.
  • openLogFileLocation function in logger object.

v152

26 Jan 14:47
a2674db
Compare
Choose a tag to compare

Updated

  • Electron version to 28.1.4
  • @electron/remote to 2.1.1

v151

23 Jan 15:00
1d8f67e
Compare
Choose a tag to compare

Changed

  • Renamed exported object usageData to telemetry and type
    UsageDataMetadata to TelemetryMetadata.
  • 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 property sendUsageData is renamed to
    sendTelemetryEvent.

Steps to upgrade when using this package

  • If they are imported from shared, rename usageData and UsageDataMetadata
    as well as the renamed functions mentioned above.
  • In usages of the component ErrorBoundary, rename the property
    sendUsageData to sendTelemetryEvent.

v150

18 Jan 09:41
7872558
Compare
Choose a tag to compare

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

17 Jan 14:09
6a5e860
Compare
Choose a tag to compare

Added

  • openFile export.

Changed

  • Updated es6 -> es2021 in eslint config env.

Fixed

  • Make new isVerboseLogging persistent setting get/set compatible with Main
    thread code (by using globalThis instead of window).

v148

16 Jan 07:42
7e7c488
Compare
Choose a tag to compare

Added

  • getModule export from @nordicsemiconductor/pc-nrfconnect-shared/nrfutil
    to retrieve/initialise specific nrfutil module sandbox.
  • setVerboseLogging, setLogLevel and getAllModuleVersions 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

09 Jan 16:19
668b1d5
Compare
Choose a tag to compare

Fixed

  • Error details had a larger font size (16px) than the rest of the body of an
    error dialog (14px).