Skip to content

Commit 3ad5024

Browse files
committed
docs(v1.6.0): expand changelog, surface Plugin Browser, drop uuid license entry
- CHANGELOG: add Plugin Browser feature entry; list lucide-react 1.7→1.8 bump; document uuid/@types/uuid removal under Removed; note retention policy change; correct test-count delta (572 → 606). - README: Plugin Browser blurb in Additional Features; Ctrl+Shift+E in the keyboard-shortcuts summary. - THIRD_PARTY_LICENSES: remove uuid row (now dead dep). - release.yml: retention policy 3 → 2. Future releases keep only the previous one around; older releases (including their tags via --cleanup-tag) auto-delete on next publish. Co-Authored-By: Rooty
1 parent 663a961 commit 3ad5024

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
env:
4545
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646

47-
- name: Clean up old releases (keep latest 3)
47+
- name: Clean up old releases (keep latest 2)
4848
shell: bash
4949
run: |
50-
gh release list --json tagName --jq '.[].tagName' | tail -n +4 | while read -r tag; do
50+
gh release list --json tagName --jq '.[].tagName' | tail -n +3 | while read -r tag; do
5151
echo "Deleting release $tag"
5252
gh release delete "$tag" --cleanup-tag --yes
5353
done

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
## [1.6.0] - 2026-04-19
66

77
### Added
8+
- **Plugin Browser panel** — new 288px side panel for projects with many plugins (50+). Toggled via a `List` icon in the sidebar or **Ctrl+Shift+E**. Replaces the cramped bottom icon list that became unusable past ~10 plugins. Features: filename search, filter (All / Open / Dirty / Errors), sort (file order or A–Z), per-row status glyphs (error / warning / dirty dot), hover-to-close for open plugins, active-plugin highlight, and a footer summary (`N total · X dirty · Y errors`).
89
- **`@type location`** support — official MZ map+coordinate picker. Added to parameter-type dropdown under "Game Data", parsed from imported plugins, and emitted with a JSON default (`{"mapId":"0","x":"0","y":"0"}`) in the IIFE body.
910
- **`@requiredAssets` annotation** — plugin-level meta field for assets preserved during MZ's "Exclude unused files" deployment. New MetaEditor textarea (one asset path per line); generator emits one `@requiredAssets` line per entry; parser extracts them on import.
1011
- `tests/templates-output.test.ts` — 10 regression tests covering the six template bug fixes (save-load, input-handler, method-alias, battle-system, message-system, plugin-commands).
11-
- 22 new generator/validation tests covering struct-array deep-parse, number[]/boolean[]/ID[] element coercion, nullish boolean defaults, reserved-word camelCase sanitization, identifier collision detection, `@requiredAssets` round-trip, `@type location` round-trip, and comment-aware command dedup.
12+
- 24 new generator/validation/shortcut tests covering struct-array deep-parse, number[]/boolean[]/ID[] element coercion, nullish boolean defaults, reserved-word camelCase sanitization, identifier collision detection, `@requiredAssets` round-trip, `@type location` round-trip, comment-aware command dedup, and the Ctrl+Shift+E plugin-browser shortcut.
1213

1314
### Fixed
1415
- **Struct-array parser now deep-parses correctly** — MZ double-encodes `struct<X>[]` as a JSON array of JSON strings. The generator previously emitted `JSON.parse(accessor || '[]')`, leaving each element as a string (so `arr[0].x` silently returned `undefined`). Now emits `.map(s => JSON.parse(s))` for struct arrays.
@@ -29,8 +30,14 @@
2930
- **`@noteRequire 1` emission dropped** — not part of the official Kadokawa note-asset spec (only `@noteParam`, `@noteType`, `@noteDir`, `@noteData` are documented). Parser still reads the legacy tag for back-compat.
3031
- **`@type text` marked as MV-legacy** in the parameter-type dropdown — the canonical MZ multi-line type is `multiline_string` (mapped to `note` internally). `text` still parses and emits for compatibility.
3132
- **Generated command stubs drop the `console.log(...)` line** — every generated `PluginManager.registerCommand` callback previously shipped a `console.log('X called with:', { args })` stub that survived to production. Replaced with an inline comment naming the parsed args.
33+
- **Sidebar plugin list moved to the new panel** — the cramped icon-rail `.js` file list was removed (replaced by the Plugin Browser). The sidebar rail is now just: Open Project / New Plugin / [open-plugin tabs] / Plugin Browser / Project Data Browser / Settings / Shortcuts.
34+
- `lucide-react` 1.7.0 → 1.8.0 (safe minor; icon additions, no breaking changes).
35+
- Release-workflow retention policy: keep latest 2 releases (was 3).
3236
- Parameter-type count: 28 → 29 (added `location`).
33-
- Test count: 572 → 614 (+42 tests across generator, validation, mz-annotations, and the new templates-output suite).
37+
- Test count: 572 → 606 (+34 tests across generator, validation, mz-annotations, templates-output, and shortcuts).
38+
39+
### Removed
40+
- `uuid` and `@types/uuid` as direct dependencies — never imported in source, tests, or tools. The project uses `crypto.randomUUID()` exclusively. Eliminates dead-dep attack surface and avoids a forced Node-20+ upgrade on uuid's v14 bump (which introduced breaking changes we would have had to work around for no benefit).
3441

3542
## [1.5.0] - 2026-03-29
3643

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,15 @@ All 26 RPG Maker MZ parameter types are fully supported:
9898
- **Import Existing** - Parse and edit existing .js plugins
9999

100100
### Additional Features
101+
- **Plugin Browser Panel** - Searchable, filterable side panel (Ctrl+Shift+E) listing every `.js` in `js/plugins/`. Filter by Open / Dirty / Errors, sort by file order or A–Z, per-row status glyphs, click to load into a new tab. Designed for 50+ plugin projects where an icon rail no longer scales.
101102
- **Plugin Conflict Detection** - Scans all project plugins for prototype method overrides; flags when 2+ plugins override the same method with severity based on class popularity
102103
- **Dependency Analysis** - Scans `@base`, `@orderAfter`, and `@orderBefore` across project plugins; detects missing deps, circular deps, and load-order violations
103104
- **Analysis View** - Dedicated view with overview stats, conflict details, and dependency issues — switch between Editor and Analysis tabs
104105
- **Auto-Documentation** - Generate help text from plugin metadata with one click
105106
- **Bulk Parameter Operations** - Multi-select, duplicate, delete, export/import parameters, reusable presets
106107
- **Note Parameters** - Declare `@noteParam` groups for RPG Maker deployment packager
107108
- **Dark/Light Theme** - Toggle between dark and light modes with full Monaco editor theme sync
108-
- **Keyboard Shortcuts** - Press F1 for shortcuts panel (Ctrl+S/N/O, Ctrl+Shift+S save all, Ctrl+B toggle preview, Ctrl+1-5 tab switching, F5 regenerate)
109+
- **Keyboard Shortcuts** - Press F1 for shortcuts panel (Ctrl+S/N/O, Ctrl+Shift+S save all, Ctrl+B toggle preview, Ctrl+Shift+E toggle plugin browser, Ctrl+1-5 tab switching, F5 regenerate)
109110
- **Auto-Update** - Checks for new versions via GitHub Releases with status bar notification
110111
- **Accessibility** - ARIA labels and live regions across sidebar, status bar, and toasts
111112
- **Struct Default Editor** - Visual inline form for struct parameter defaults with real-time JSON validation, "Fill from struct defaults" button, and type-appropriate inputs

THIRD_PARTY_LICENSES.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ listed with its license type and source repository.
9090
| universalify | 0.1.2 | MIT | [Link](https://github.com/RyanZim/universalify) |
9191
| use-callback-ref | 1.3.3 | MIT | [Link](https://github.com/theKashey/use-callback-ref/) |
9292
| use-sidecar | 1.1.3 | MIT | [Link](https://github.com/theKashey/use-sidecar) |
93-
| uuid | 13.0.0 | MIT | [Link](https://github.com/uuidjs/uuid) |
9493
| zustand | 5.0.12 | MIT | [Link](https://github.com/pmndrs/zustand) |
9594

9695
---

0 commit comments

Comments
 (0)