From 9c0ba8d6106cc63613c0f23dee52c69b87070865 Mon Sep 17 00:00:00 2001 From: "iTwin.js admin" <38288322+imodeljs-admin@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:58:44 -0400 Subject: [PATCH] Release packages (#2125) --- .changeset/fast-windows-attend.md | 5 ----- .changeset/wild-bags-begin.md | 5 ----- packages/itwinui-react/CHANGELOG.md | 9 +++++++++ packages/itwinui-react/package.json | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) delete mode 100644 .changeset/fast-windows-attend.md delete mode 100644 .changeset/wild-bags-begin.md diff --git a/.changeset/fast-windows-attend.md b/.changeset/fast-windows-attend.md deleted file mode 100644 index 345640a1d09..00000000000 --- a/.changeset/fast-windows-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -Fixed a CommonJS-related error where an internal variable was accidentally trying to override the [`module`](https://nodejs.org/api/modules.html#the-module-object) object. diff --git a/.changeset/wild-bags-begin.md b/.changeset/wild-bags-begin.md deleted file mode 100644 index cf3e8486519..00000000000 --- a/.changeset/wild-bags-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@itwin/itwinui-react': patch ---- - -The new JSX transform added in [v3.12.0](https://github.com/iTwin/iTwinUI/releases/tag/%40itwin%2Fitwinui-react%403.12.0) has been reverted, because React 17 [doesn't properly support it](https://github.com/facebook/react/issues/20235). diff --git a/packages/itwinui-react/CHANGELOG.md b/packages/itwinui-react/CHANGELOG.md index 9dd1dea8ff7..e92230143ce 100644 --- a/packages/itwinui-react/CHANGELOG.md +++ b/packages/itwinui-react/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.12.1 + +### Patch Changes + +- [#2124](https://github.com/iTwin/iTwinUI/pull/2124): Fixed a CommonJS-related error where an internal variable was accidentally trying to override the [`module`](https://nodejs.org/api/modules.html#the-module-object) object. +- [#2122](https://github.com/iTwin/iTwinUI/pull/2122): The new JSX transform added in [v3.12.0](https://github.com/iTwin/iTwinUI/releases/tag/%40itwin%2Fitwinui-react%403.12.0) has been reverted, because React 17 [doesn't properly support it](https://github.com/facebook/react/issues/20235). + ## 3.12.0 ### Minor Changes @@ -8,6 +15,7 @@ - [#2076](https://github.com/iTwin/iTwinUI/pull/2076): Added open popover styling to `Button` (and `IconButton`). When an associated `Popover` or `DropdownMenu` is open, the button will now get a subtle visual indication. - [#2111](https://github.com/iTwin/iTwinUI/pull/2111): Added the ability to pass arbitrary DOM props to `TreeNode`. - [#2107](https://github.com/iTwin/iTwinUI/pull/2107): A new `meta` object is exported, containing meta information about the package. + ```ts import { meta } from '@itwin/itwinui-react'; @@ -15,6 +23,7 @@ ``` - [#2048](https://github.com/iTwin/iTwinUI/pull/2048): Fixed a bug in `ComboBox` where the controlled state (`value` prop) was not given priority over the uncontrolled state. As a result: + - Setting the default value using `value={myDefaultValue}` will no longer work. Instead, use the new `defaultValue` prop. - Resetting the value using `value={null}` will now force the ComboBox to be in _controlled_ mode. If you want to reset the value but be in _uncontrolled_ mode, then use `value={undefined}` instead. diff --git a/packages/itwinui-react/package.json b/packages/itwinui-react/package.json index cea4bf94369..495499f7819 100644 --- a/packages/itwinui-react/package.json +++ b/packages/itwinui-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/itwinui-react", - "version": "3.12.0", + "version": "3.12.1", "author": "Bentley Systems", "license": "MIT", "type": "module",