Skip to content

Commit

Permalink
docs: next changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Jan 1, 2025
1 parent 9c1327e commit edd4654
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <file>.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
Expand Down

0 comments on commit edd4654

Please sign in to comment.