Skip to content

Commit ffda06e

Browse files
chore: bump version to 0.2.0
1 parent 827ff26 commit ffda06e

File tree

2 files changed

+42
-45
lines changed

2 files changed

+42
-45
lines changed

CHANGELOG.md

Lines changed: 41 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,55 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
8-
## [Unreleased]
7+
## [0.2.0] - 2025-12-27
98

109
### Added
10+
- enhance GitHub Actions workflow to extract specific changelog section for releases by @JSONbored
11+
- add output schema validation to action handlers and update package structure for CommonJS by @JSONbored
12+
- add git-cliff configuration for automated changelog generation and enhance CI workflows by @JSONbored
13+
- enhance auto-release workflow to support manual version bump types and improve detection logic by @JSONbored
14+
- implement version calculation and validation in auto-release workflow for improved version management by @JSONbored
15+
- update Jest configuration to use v8 coverage provider for improved performance and avoid instrumentation conflicts; refactor helper exports to prevent coverage issues by @JSONbored
16+
- enhance Jest configuration for improved coverage tracking and add tests for output schema validation and default values in action clients by @JSONbored
17+
- improve changelog generation in auto-release workflow by checking for existing entries and updating version sections by @JSONbored
18+
- prepare for release by updating changelog and workflows (#1) by @JSONbored in [#1](https://github.com/JSONbored/safemocker/pull/1)
19+
- enhance git-cliff GitHub integration and npm trusted publishing (#2) by @JSONbored in [#2](https://github.com/JSONbored/safemocker/pull/2)
1120

12-
- enhance GitHub Actions workflow to extract specific changelog section for releases
13-
- add output schema validation to action handlers and update package structure for CommonJS
14-
- add git-cliff configuration for automated changelog generation and enhance CI workflows
15-
- enhance auto-release workflow to support manual version bump types and improve detection logic
16-
- implement version calculation and validation in auto-release workflow for improved version management
17-
- update Jest configuration to use v8 coverage provider for improved performance and avoid instrumentation conflicts; refactor helper exports to prevent coverage issues
18-
- enhance Jest configuration for improved coverage tracking and add tests for output schema validation and default values in action clients
19-
- improve changelog generation in auto-release workflow by checking for existing entries and updating version sections
2021

2122
### Changed
23+
- update auto-release and release workflows to improve version tagging and push process, ensuring commit verification before tagging by @JSONbored
24+
- migrate version bumping to git-cliff by @JSONbored
25+
- rename workflows and fix commit counting with comprehensive debugging by @JSONbored
2226

23-
- update auto-release and release workflows to improve version tagging and push process, ensuring commit verification before tagging
24-
- migrate version bumping to git-cliff
25-
- rename workflows and fix commit counting with comprehensive debugging
2627

2728
### Fixed
29+
- update auto-release workflow to use pnpm for executing git-cliff, ensuring consistent environment for changelog generation by @JSONbored
30+
- remove empty env block from release.yml workflow by @JSONbored
31+
- update workflows and cliff.toml for improved commit message handling (#3) by @JSONbored in [#3](https://github.com/JSONbored/safemocker/pull/3)
2832

29-
- update auto-release workflow to use pnpm for executing git-cliff, ensuring consistent environment for changelog generation
30-
- remove empty env block from release.yml workflow
3133

32-
## [0.1.0] - 2025-12-23
3334

34-
### Added
35-
- Initial release of safemocker
36-
- Type-safe mocking for next-safe-action v8
37-
- Jest and Vitest adapter support
38-
- Comprehensive middleware replication (auth, rate limiting, metadata validation)
39-
- Helper factories for common patterns (`createAuthedActionClient`, `createCompleteActionClient`, etc.)
40-
- Full TypeScript support with proper type inference
41-
- Comprehensive test suite (110 tests, all passing)
42-
- Example files demonstrating various usage patterns:
43-
- Basic user management actions
44-
- Complex content management with discriminated unions
45-
- Nested validation, partial updates, batch operations
46-
- Complete documentation with Jest and Vitest integration guides
47-
- Support for all next-safe-action v8 action client API features
48-
49-
### Features
50-
- ✅ Input validation with Zod v4
51-
- ✅ Middleware chain execution matching real next-safe-action behavior
52-
- ✅ Context passing and merging (`next({ ctx: ... })` format)
53-
- ✅ Proper `SafeActionResult` structure (data, serverError, fieldErrors, validationErrors)
54-
- ✅ Production vs development error handling
55-
- ✅ Authentication middleware (authedAction, optionalAuthAction)
56-
- ✅ Rate limiting middleware
57-
- ✅ Metadata validation middleware
58-
- ✅ Dual CJS/ESM builds for Jest and Vitest compatibility
59-
60-
[unreleased]: https://github.com/JSONbored/safemocker/compare/v0.1.0..HEAD
61-
[0.1.0]: https://github.com/JSONbored/safemocker/releases/tag/v0.1.0
35+
### New Contributors
36+
37+
- @github-actions[bot] made their first contribution in [#](https://github.com/JSONbored/safemocker/pull/)
38+
39+
40+
41+
### Statistics
42+
- 16 commits in this release
43+
- 16 conventional commits
44+
45+
- 4 linked issues/PRs
46+
47+
48+
- 4 days since last release
49+
50+
51+
52+
53+
54+
[0.2.0]: https://github.com/JSONbored/safemocker/compare/v0.1.0..v0.2.0
55+
56+
57+
58+
<!-- generated by git-cliff -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jsonbored/safemocker",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "A type-safe, Jest & Vitest-compatible mock for next-safe-action. Replicates real middleware behavior and returns proper SafeActionResult structure. Fun name: 'safe' + 'mocker' = mocking tool for next-safe-action!",
55
"keywords": [
66
"next-safe-action",

0 commit comments

Comments
 (0)