pinia-plugin-subscription 0.1.1 → 0.1.3-beta.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 +47 -23
- package/dist/pinia-plugin-subscription.js +247 -235
- package/dist/pinia-plugin-subscription.umd.cjs +4 -4
- package/dist/types/index.d.ts +130 -3
- package/package.json +2 -1
- package/dist/types/comparison.d.ts +0 -3
- package/dist/types/log.d.ts +0 -8
- package/dist/types/plugin.d.ts +0 -34
- package/dist/types/resourceId.d.ts +0 -4
- package/dist/types/store.d.ts +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -5,34 +5,58 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [0.1.
|
|
8
|
+
## [0.1.2] - 2026-08-09
|
|
9
|
+
|
|
10
|
+
### Fix
|
|
11
|
+
- Added export helper class and functions
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.1.1] - 2026-08-08
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- Added a GitHub Actions workflow to run the test suite on every push and pull request.
|
|
18
|
+
- Added npm provenance-based publishing for improved supply-chain security.
|
|
19
|
+
- Added a CODEOWNERS file to require maintainer review for repository changes.
|
|
20
|
+
- Included documentation files in the published npm tarball to improve package quality signals.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Improved package metadata for npm publishing and discoverability.
|
|
24
|
+
- Documented the release and publishing process in the README.
|
|
25
|
+
- Added explicit package publishing configuration for public access and provenance.
|
|
26
|
+
|
|
27
|
+
### Security
|
|
28
|
+
- Improved release transparency by publishing with npm provenance.
|
|
29
|
+
- Added security and contribution documentation to the package contents.
|
|
30
|
+
|
|
31
|
+
## [0.1.0] - 2026-08-07
|
|
9
32
|
|
|
10
33
|
### Added
|
|
11
|
-
- **Core Plugin System:** `createPlugin()` function to create Pinia plugins from subscribers
|
|
12
|
-
- **PluginSubscriber Class:** Abstract base class for creating reusable plugin subscribers
|
|
13
|
-
- **Store Helper Class:** Wrapper around PiniaStore with utilities for state and subscription management
|
|
14
|
-
- **PluginSubscriberInterface:** Interface for implementing custom subscribers
|
|
15
|
-
- **Debug Mode:** Detailed logging support for plugin development and troubleshooting
|
|
16
|
-
- **Reset Callbacks:** Custom store reset logic via `resetStoreCallback
|
|
17
|
-
- **Type Definitions:** Full TypeScript support with comprehensive type exports
|
|
18
|
-
- **Test Suite:** Comprehensive Vitest coverage for all core functionality
|
|
19
|
-
- **Documentation:** Complete README with API reference and examples
|
|
20
|
-
- **MIT License:** Open source license for community use
|
|
34
|
+
- **Core Plugin System:** `createPlugin()` function to create Pinia plugins from subscribers.
|
|
35
|
+
- **PluginSubscriber Class:** Abstract base class for creating reusable plugin subscribers.
|
|
36
|
+
- **Store Helper Class:** Wrapper around PiniaStore with utilities for state and subscription management.
|
|
37
|
+
- **PluginSubscriberInterface:** Interface for implementing custom subscribers.
|
|
38
|
+
- **Debug Mode:** Detailed logging support for plugin development and troubleshooting.
|
|
39
|
+
- **Reset Callbacks:** Custom store reset logic via `resetStoreCallback`.
|
|
40
|
+
- **Type Definitions:** Full TypeScript support with comprehensive type exports.
|
|
41
|
+
- **Test Suite:** Comprehensive Vitest coverage for all core functionality.
|
|
42
|
+
- **Documentation:** Complete README with API reference and examples.
|
|
43
|
+
- **MIT License:** Open source license for community use.
|
|
21
44
|
|
|
22
45
|
### Features
|
|
23
|
-
- Centralized subscriber registration for Pinia stores
|
|
24
|
-
- `$reset` method added to all stores modified by the plugin
|
|
25
|
-
- Support for store mutations and action subscriptions
|
|
26
|
-
- Plugin-specific subscription management
|
|
27
|
-
- State helper methods: `addToState()`, `stateHas()`, `getValue()
|
|
28
|
-
- Store helper methods: `storeHas()
|
|
29
|
-
- Performance monitoring utilities
|
|
30
|
-
- Validation utilities for common object operations
|
|
46
|
+
- Centralized subscriber registration for Pinia stores.
|
|
47
|
+
- `$reset` method added to all stores modified by the plugin.
|
|
48
|
+
- Support for store mutations and action subscriptions.
|
|
49
|
+
- Plugin-specific subscription management.
|
|
50
|
+
- State helper methods: `addToState()`, `stateHas()`, `getValue()`.
|
|
51
|
+
- Store helper methods: `storeHas()`.
|
|
52
|
+
- Performance monitoring utilities.
|
|
53
|
+
- Validation utilities for common object operations.
|
|
31
54
|
|
|
32
55
|
### Documentation
|
|
33
|
-
- Installation and usage examples
|
|
34
|
-
- API reference for all public classes and functions
|
|
35
|
-
- Contributing guidelines
|
|
36
|
-
- Security policy
|
|
56
|
+
- Installation and usage examples.
|
|
57
|
+
- API reference for all public classes and functions.
|
|
58
|
+
- Contributing guidelines.
|
|
59
|
+
- Security policy.
|
|
37
60
|
|
|
61
|
+
[0.1.1]: https://github.com/AlxBDo/pinia-plugin-subscription/releases/tag/v0.1.1
|
|
38
62
|
[0.1.0]: https://github.com/AlxBDo/pinia-plugin-subscription/releases/tag/v0.1.0
|