Skip to content

Commit 2aa6a27

Browse files
committed
chore: bump version to 4.0.0
BREAKING CHANGE: Major release with Decorator API and JIT compilation. This release introduces a modern Decorator API as the recommended approach, while maintaining full backward compatibility with the BaseMapper API. The version was incorrectly released as 3.2.0 by semantic-release. This commit corrects it to 4.0.0 to properly reflect the major changes: - New Decorator API with TC39 Stage 3 decorators - JIT compilation for 17.28x better performance - class-transformer compatibility layer - Zero dependencies (no reflect-metadata) No breaking changes for existing BaseMapper users.
1 parent 9a6571b commit 2aa6a27

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.0.0] - 2025-10-14
11+
12+
### BREAKING CHANGES
13+
14+
This is a **major release** introducing a modern Decorator API with JIT compilation. While the BaseMapper API remains fully supported for backward compatibility, the new Decorator API is now the recommended approach.
15+
16+
**Migration:** No breaking changes for existing BaseMapper users. The new Decorator API is opt-in. See [Migration Guide](docs/MIGRATION_GUIDE.md) for details.
17+
1018
### Added
1119

1220
- **Performance Benchmarks vs class-transformer** - Comprehensive comparison showing om-data-mapper is **17.28x faster** on average

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "om-data-mapper",
3-
"version": "3.2.0",
3+
"version": "4.0.0",
44
"description": "High-performance TypeScript/JavaScript data mapper with JIT compilation for ultra-fast object transformations",
55
"private": false,
66
"main": "build/index.js",

0 commit comments

Comments
 (0)