Skip to content

Commit 0018bc6

Browse files
Version Packages (#1613)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 941a075 commit 0018bc6

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

.changeset/short-candies-warn.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/ui/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## 0.12.6
4+
5+
### Patch Changes
6+
7+
- [#1612](https://github.com/themesberg/flowbite-react/pull/1612) [`941a075`](https://github.com/themesberg/flowbite-react/commit/941a0758786a680b43c5c703ce9292b4a2781e14) Thanks [@SutuSebastian](https://github.com/SutuSebastian)! - Fix `nextjs` plugin to work on all environments
8+
9+
## Changes
10+
11+
- fix(ui): `nextjs` plugin to run properly on `NODE_ENV` environments: `production`, `development` and `test`
12+
- log file writes in `dev`
13+
14+
## Breaking changes
15+
16+
`withFlowbiteReact` now always returns async configuration (see: [Async Configuration](https://nextjs.org/docs/app/api-reference/config/next-config-js#async-configuration)) so make sure to wrap any other HOC (higher-order-functions) such as `withContentlayer` because most of them do not forward pass async config arguments (eg: `phase, options`)
17+
18+
```tsx
19+
// ❌ not working
20+
export default withContentlayer(withFlowbiteReact(nextConfig));
21+
22+
// ✅ working
23+
export default withFlowbiteReact(withContentlayer(nextConfig));
24+
```
25+
326
## 0.12.5
427

528
### Patch Changes

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flowbite-react",
3-
"version": "0.12.5",
3+
"version": "0.12.6",
44
"description": "Official React components built for Flowbite and Tailwind CSS",
55
"keywords": [
66
"design-system",

0 commit comments

Comments
 (0)