Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Releases: Azure/iot-ux-baseline

v4.0.0 - Hooks and new folder structure

14 Feb 00:30
3dae340
Compare
Choose a tag to compare

Modified

  • Update to react@16.8 to get support for Hooks.
  • Update to i18next@14, which contains breaking API contract changes and supports react suspense and hooks
  • Update folder structure to align with team structure and make code contributions easier. Main changes:
    • Move all the bootstrapping code to src/shell.
    • Create src/areas to hold all feature code. src/areas/home/home.tsx is a good place to start.
    • Create src/examples to demonstrate how to use Routing and Fluent Controls.

Migration Guide

If you're migrating from baseline v2/v3:

  • Update your packages to match the new package.json.
  • Pull in shell/, index.tsx, i18n.tsx, and errorBoundary.tsx from src/.
  • Add your global navigation items in shell/navigation.tsx.
  • Add your routes in shell/routes.tsx.
  • react-i18next no longer provides a TranslationFunction or I18n HOC, so get it from src/i18n.tsx instead.

v3.0.1

04 Feb 20:48
105e798
Compare
Choose a tag to compare

Modified

  • Update to latest fluent controls library to fix minor uialignment issues.
  • The collapse/expand behavior of the nav menu in masthead (shown on small screen sizes) is decoupled from the main navbar, so we don't have multiple menus expanded in the masthead.

v3.0.0 - Merge UI alignment work to Master

04 Feb 20:48
bd8e7b8
Compare
Choose a tag to compare

Modified

  • Updated to v6 of the fluent css and control libraries.
  • Masthead and Navigation are now part of Shell to ensure good responsive behavior. The App now passes MastheadProperties and NavigationProperties to FluentShell instead of creating the components separately.

v2.1.2

10 Jan 17:37
10863aa
Compare
Choose a tag to compare

Fixed

  • Updated to react-scripts@2.1.3 to fix npm audit issues.

v2.1.1

10 Jan 01:18
4891860
Compare
Choose a tag to compare

Modified

v2.0.0

10 Jan 01:19
fcb68f8
Compare
Choose a tag to compare

The new version of create-react-app has built-in support to typescript and sass, so we don't need to maintain our own fork of CRA with webpack script changes anymore. This allows us to more closely track to the upstream packages and get fixes automatically (this work was prompted because webpack-dev-server@2 has a high-severity vulnerability which is not fixed till its v3. However, its v3 depends on webpack@4, which breaks a lot of our existing webpack scripts.

v1.9.0

10 Jan 01:20
f3c64a6
Compare
Choose a tag to compare

Modified

  • Change package names from @azure-iot to @microsoft/azure-iot-create-react-app