Skip to content

Releases: NordicSemiconductor/pc-nrfconnect-shared

v5.5.2

13 Oct 12:24
Compare
Choose a tag to compare

Added

  • Expose types for init packet.

v5.5.1

13 Oct 09:19
b798779
Compare
Choose a tag to compare

5.5.1 - 2021-10-13

Added

  • Expose types for sdfu operations and device lister.

5.5.0 - 2021-10-12

Added

  • Show no supported devices found message when all devices were filtered out with deviceFilter

v5.4.2

11 Oct 11:27
139cf04
Compare
Choose a tag to compare

Added

  • Some basic tests for Dropdown

Changed

  • Typescript definitions for Dropdown
  • Use CSS Modules for Dropdown

v5.4.1

11 Oct 08:42
b6ee58a
Compare
Choose a tag to compare

Changed

  • Dropdown component now takes a list of items with a value and label (displayed name)

v5.4.0

07 Oct 10:08
5229245
Compare
Choose a tag to compare

Added

  • Property deviceFilter on DeviceSelector to filter which devices are shown.

v5.3.2

06 Oct 09:24
b0e45da
Compare
Choose a tag to compare

Fixed

  • Removed the outdated externals pc-nrfjprog-js, usb, and nrf-device-setup from the webpack config for apps.
  • Handle trailing slashes in .gitignore correctly in bin/nrfconnect-license.mjs.

v5.3.1

05 Oct 14:29
636eab5
Compare
Choose a tag to compare

Fixed

  • Add ambient module for resolving css modules

Added

  • Documentation card in About pane

v5.2.1

01 Oct 12:03
2a57dce
Compare
Choose a tag to compare

Added

  • Component to show alerts.

v5.2.0

28 Sep 13:27
2355adc
Compare
Choose a tag to compare

Added

  • Render children of the component App. Children of the component App usually should not render to something that is directly visible on the screen, as this would break the normal layout of the app. There are mainly two use cases:
    • Components like dialogs, which are displayed outside of the normal render flow.
    • Components which are displayed not at all, but are rendered just for other means, e.g. to dispatch Redux actions when the App is started.

Changed

  • Enabled two additional ESLint rules:
    • require-await, to disallow async functions which have no await expression.
    • react/jsx-key, to check that a key property is used for lists in JSX.

Fixed

  • The property allowCustomDevice was used but missing in the type and props definitions for DeviceSetup.
  • Run complete setup for custom devices.

Steps to upgrade when using this package

  • The two newly enabled ESLint rules require-await and react/jsx-key may require you to update some code. Please note that you should not blindly remove an async in front of a function if there is no await in it: When you have other code which depends on this function returning a Promise (e.g. by calling .then on the returned object), then you also need to change that code.

v5.1.1

28 Sep 08:09
6dc318c
Compare
Choose a tag to compare

Added

  • Expose functions for USB serial DFU