# Changelog

## [Unreleased]

## [0.5.0] - 2026-07-03

### Added
- Added an `enabled` master config toggle and a config sample. ([367133a](https://github.com/MasuRii/pi-must-have-extension/commit/367133adb267248c149e0d1a4f91f58786560f0d))

### Changed
- Consolidated lazy module loading and normalized caught-error names. ([a962ff5](https://github.com/MasuRii/pi-must-have-extension/commit/a962ff57d1a4585e9abed2ebf7456b08acaff9d6))
- Updated README with badges and a Ko-fi link. ([ca39593](https://github.com/MasuRii/pi-must-have-extension/commit/ca39593c4811cae633332c7aabc392b1b6922b6a))
- Widened Pi peer dependency compatibility to include `^0.80.0` and added vulnerability overrides (`protobufjs`, `ws`). ([6bf1617](https://github.com/MasuRii/pi-must-have-extension/commit/6bf1617567fc9b2b252649a637464ee53d01ef95))

### Fixed
- Bounded replacement key length to prevent regex ReDoS. ([2b7576f](https://github.com/MasuRii/pi-must-have-extension/commit/2b7576f6a791ec183664ea6a8095389260d63ce8))

## [0.4.16] - 2026-06-16

### Changed
- Expanded RFC 2119/BCP 14-adjacent wording coverage to include contractions (`mustn't`, `shouldn't`, `shan't`, `oughtn't`) and common policy terms (`mandatory`, `permitted`, `allowed`, `not allowed`, `prohibited`, `forbidden`, `disallowed`, `not optional`).

## [0.4.15] - 2026-06-01

### Changed
- Deferred config-loader and debug-logger module loading to reduce extension startup work.
- Widened the Pi coding-agent peer dependency range to include `^0.77.0 || ^0.78.0` and aligned the development dependency to `^0.78.0`.

## [0.4.14] - 2026-05-26

### Changed
- Widened peer dependency ranges to `^0.74.0 || ^0.75.0`.
- Aligned dev dependencies to `^0.75.5`.

## [0.4.13] - 2026-05-22

### Changed
- Cached config loads by active config fingerprint while returning cloned results to avoid repeated disk reads without sharing mutable config objects.
- Replaced terminal debug/console output with file-backed debug logging that only writes when `debug` is enabled.
- Updated package metadata and lockfile version to `0.4.13` and migrated Pi peer dependency metadata to the `@earendil-works` scope.

## [0.4.12] - 2026-04-28

### Changed
- Refreshed `@mariozechner/pi-coding-agent` dev dependency to `^0.70.5` and synchronized the lockfile.

## [0.4.11] - 2026-04-25

### Changed
- Updated `@mariozechner/pi-coding-agent` peer dependency to `^0.70.0` and dev dependency to `^0.70.2`

## [0.4.10] - 2026-04-22

### Changed
- Resolved global config and legacy migration paths through Pi's `getAgentDir()`, preserving `PI_CODING_AGENT_DIR` support ([#2](https://github.com/MasuRii/pi-must-have-extension/pull/2) by [@tynanbe](https://github.com/tynanbe))
- Updated README installation and configuration path examples to distinguish default global paths from `PI_CODING_AGENT_DIR`-based paths
- Updated `@mariozechner/pi-coding-agent` peer/dev dependency to `^0.68.1`, `@types/node` dev dependency to `^25.6.0`, and `typescript` dev dependency to `^6.0.3`

## [0.4.9] - 2026-04-01

### Changed
- Fixed image link and README formatting
- Added npm keywords for discoverability (`pi-package`, `pi-extension`, `pi-coding-agent`, `coding-agent`)
- Added Related Pi Extensions cross-linking section to README

## [0.4.8] - 2026-04-01

### Changed
- Updated `@mariozechner/pi-coding-agent` peer dependency to ^0.64.0
- Updated `typescript` dev dependency to ^6.0.2

## [0.4.7] - 2026-03-23

### Changed
- Updated `@mariozechner/pi-coding-agent` and `@mariozechner/pi-tui` peer dependencies to ^0.62.0
- Updated `@types/node` dev dependency to ^25.3.5` and `typescript` dev dependency to ^5.7.3`

## [0.4.6] - 2026-03-13

### Changed
- Updated AWS SDK client-bedrock-runtime dependency to 3.1007.0

## [0.4.5] - 2026-03-12

### Changed
- Updated `@mariozechner/pi-coding-agent` peer dependency to `^0.57.0`
- Updated `@types/node` dev dependency to `^25.3.5`

## [0.4.4] - 2026-03-04

### Fixed
- Use absolute GitHub raw URL for README image to fix npm display

## [0.4.3] - 2026-03-04

### Fixed
- Use GitHub-compatible video embed format (thumbnail image linking to user-attachments video URL)

## [0.4.2] - 2026-03-04

### Fixed
- Restored missing asset references in README (demo.mp4 video and pi-must-have-extension.png image)

## [0.4.1] - 2026-03-04

### Changed
- Rewrote README.md with professional documentation standards
- Added comprehensive feature documentation, configuration reference, and usage examples
- Improved legacy config path detection with centralized lookup
- Added migration source tracking to config loader feedback

## 0.4.0 - 2026-03-02

- Renamed package identity from `pi-must-have-plugin` to `pi-must-have-extension`.
- Renamed extension runtime folder/references and GitHub repository to `pi-must-have-extension`.
- Updated README, npm metadata, asset naming, and install/config paths to extension terminology.
- Added compatibility for legacy configs under `pi-must-have-plugin`, `must-have-plugin`, and OpenCode paths.

## 0.3.2 - 2026-03-02

- Fixed README media rendering for npm by switching to absolute GitHub raw image URLs.
- Added clickable demo thumbnail and explicit direct video links for npm compatibility.
- Added `repository`, `homepage`, and `bugs` metadata to improve npm package page link resolution.

## 0.3.1 - 2026-03-02

- Synced additional behavior from the original OpenCode plugin source.
- Enhanced debug mode logging to include replacement summary details.
- Added `config/replacements.custom-sample.jsonc` adapted from the original plugin sample.
- Updated README with origin attribution, media preview assets, and custom sample guidance.
- Included asset files and custom sample config in npm package publish list.

## 0.3.0 - 2026-03-02

- Renamed extension identity from `must-have-plugin` to `pi-must-have-plugin` for naming consistency.
- Updated package name, README installation paths, and npm install command.
- Added legacy fallback support for the old config path `~/.pi/agent/extensions/must-have-plugin/config.jsonc`.
- Renamed GitHub repository to `pi-must-have-plugin` and updated local git remote.

## 0.2.0 - 2026-03-02

- Restructured project into a production-style layout with `src/`, `config/`, and `test/` directories.
- Added TypeScript project config, build/lint/test scripts, and strict type-checking setup.
- Added npm publishing metadata (`files`, `keywords`, `engines`, `publishConfig`, `pi` manifest).
- Added comprehensive README and package housekeeping files.
- Kept extension behavior compatible with existing runtime logic and legacy config fallback.
