extreme-router 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.MD +13 -0
- package/LICENSE +1 -1
- package/README.md +703 -661
- package/assets/logo.svg +35 -0
- package/dist/bundle-size.json +12 -12
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -1
- package/dist/index.d.ts +56 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
package/CHANGELOG.MD
CHANGED
|
@@ -6,6 +6,19 @@ All notable changes to this project will be documented in this file.
|
|
|
6
6
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
7
7
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
## [1.3.0] - 2026-04-14
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- Introduced the `createPlugin` helper utility (`src/createPlugin.ts`). Allows developers to create fully valid custom plugins from a minimal declarative config - providing `id`, `priority`, `syntax`, a `detect` regex (with a required `paramName` named capture group), and a `test` function - without writing `PluginHandler`, `PluginMeta`, or the factory wrapper by hand. Exported as `createPlugin` from the package root along with its `CreatePluginOptions` type.
|
|
13
|
+
- Added `CreatePluginOptions` interface to `src/types.ts`.
|
|
14
|
+
|
|
15
|
+
### Documentation
|
|
16
|
+
- Added `createPlugin` Helper section to README with a full option reference table and a UUID plugin example.
|
|
17
|
+
- Added `createPlugin` entry to the README API section.
|
|
18
|
+
|
|
19
|
+
### Testing
|
|
20
|
+
- Added comprehensive test suite for `createPlugin` (`tests/createPlugin.test.ts`) covering plugin factory output, registration-time detection, match-time behaviour, `wildcard`/`override` forwarding, and end-to-end router integration.
|
|
21
|
+
|
|
9
22
|
## [1.2.0] - 2025-12-23
|
|
10
23
|
|
|
11
24
|
### Added
|