From edd465474d38e20c20c5329bbf0c15faba7a249b Mon Sep 17 00:00:00 2001 From: Segun Adebayo Date: Wed, 1 Jan 2025 16:40:49 +0000 Subject: [PATCH] docs: next changelog --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09010fe96..1f4e5b457 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,48 @@ See the [Changesets](./.changeset) for the latest changes. ## [Unreleased] +## [0.51.1] - 2025-01-01 + +### Fixed + +Redesigned the recipe report to be more readable and easier to understand. We simplified the `JSX` and `Function` +columns to be more concise. + +**BEFORE** + +```sh +╔════════════════════════╤══════════════════════╤═════════╤═══════╤════════════╤═══════════════════╤══════════╗ +║ Recipe │ Variant Combinations │ Usage % │ JSX % │ Function % │ Most Used │ Found in ║ +╟────────────────────────┼──────────────────────┼─────────┼───────┼────────────┼───────────────────┼──────────╢ +║ someRecipe (1 variant) │ 1 / 1 │ 100% │ 100% │ 0% │ size.small │ 1 file ║ +╟────────────────────────┼──────────────────────┼─────────┼───────┼────────────┼───────────────────┼──────────╢ +║ button (4 variants) │ 7 / 9 │ 77.78% │ 63% │ 38% │ size.md, size.sm, │ 2 files ║ +║ │ │ │ │ │ state.focused, │ ║ +║ │ │ │ │ │ variant.danger, │ ║ +║ │ │ │ │ │ variant.primary │ ║ +╚════════════════════════╧══════════════════════╧═════════╧═══════╧════════════╧═══════════════════╧══════════╝ +``` + +**AFTER** + +```sh +╔════════════════════════╤════════════════╤═══════════════════╤═══════════════════╤══════════╤═══════════╗ +║ Recipe │ Variant values │ Usage % │ Most used │ Found in │ Used as ║ +╟────────────────────────┼────────────────┼───────────────────┼───────────────────┼──────────┼───────────╢ +║ someRecipe (1 variant) │ 1 value │ 100% (1 value) │ size.small │ 1 file │ jsx: 100% ║ +║ │ │ │ │ │ fn: 0% ║ +╟────────────────────────┼────────────────┼───────────────────┼───────────────────┼──────────┼───────────╢ +║ button (4 variants) │ 9 values │ 77.78% (7 values) │ size.md, size.sm, │ 2 files │ jsx: 63% ║ +║ │ │ │ state.focused, │ │ fn: 38% ║ +║ │ │ │ variant.danger, │ │ ║ +║ │ │ │ variant.primary │ │ ║ +╚════════════════════════╧════════════════╧═══════════════════╧═══════════════════╧══════════╧═══════════╝ +``` + +### Added + +- Add support for `panda analyze --output .json` to output the analysis results to a file. + ## [0.51.0] - 2024-12-31 **[BREAKING]**: Fix issue where Next.js build might fail intermittently due to version mismatch between internal