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 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
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Lior Cohen
3
+ Copyright (c) 2026 Lior Cohen
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal