Changelog
All notable changes to Suites are documented here. For the complete version history, visit our GitHub Releases.
January 2, 2025โ
๐ Bug Fixes in v3.0.1โ
We've released a patch update addressing several dependency and type resolution issues reported by the community.
What's Fixed:
- โ
Resolved
reflect-metadatapeer dependency conflicts affecting InversifyJS and NestJS adapters - โ Fixed missing return statement when instantiating exposed classes
- โ Corrected InversifyJS interface imports to properly use type imports
- โ Cleaned up redundant imports across Jest, Vitest, and Sinon packages
This release ensures smoother integration with popular DI frameworks and reduces TypeScript configuration friction.
July 13, 2024โ
๐ Suites v3.0.0โ
We're incredibly excited to announce Suites v3.0.0, marking the official evolution from Automock to Suites. This major release represents a significant milestone in the project's journey.
๐ From Automock to Suitesโ
Suites was previously known as Automock through version 2.x. Starting with version 3.0.0, the project has been
rebranded to Suites while maintaining the same powerful foundations and principles. Automock will continue to receive
critical bug fixes, but all new features and development efforts are now focused on Suites.
โก What's Newโ
Sociable Testing Support
// New .sociable() method for flexible unit testing
const { unit } = await TestBed.solitary(UserService).compile();
const { unit } = await TestBed.sociable(UserService).compile();
Modern Framework Support
- ๐งช Official Vitest adapter for Vue and React ecosystems
- ๐ฆ Full ES Module (ESM) support
- ๐ Unified imports through
@suites/unitregardless of test framework
Enhanced Type Safety
// New Mocked type with deep property mocking
const mockRepo: Mocked<UserRepository> = unitRef.get(UserRepository);
๐ฅ Breaking Changesโ
This is a major version with important API changes:
Async Compilation Required
// โ Old (v2.x)
const { unit } = TestBed.create(UserService).compile();
// โ
New (v3.x)
const { unit } = await TestBed.solitary(UserService).compile();
Method Renaming
TestBed.create()โTestBed.solitary().mock.using()โ.mock.impl()
Migration Support
We've prepared comprehensive migration guides to help you upgrade smoothly:
- Migration from Automock โ
- Migration tool development in progress
Earlier History: Automock (2022-2023)โ
Before becoming Suites at v3.0.0, the project was developed as Automock from v1.0.0 through v2.x. During this period, the foundational architecture was established:
v2.1.0(Dec 2023) โ InversifyJS adapter supportv2.0.0(Nov 2022) โ Native mocking implementation, Node.js v16+ requirementv1.x series(2022) โ Property injection support, enhanced dependency resolution
The transition to Suites represented a rebranding and modernization while preserving the core testing philosophy and architectural foundations built during the Automock era.
View complete Automock release history โ
Version Supportโ
| Version | Status | Released | Support Until |
|---|---|---|---|
v3.0.x | ๐ข Stable | July 2024 | June 2026 |
v2.x (Automock) | โ ๏ธ Critical fixes only | Nov 2022 | June 2025 |
Support Policy:
- Stable versions receive security patches and critical bug fixes
- Migration guides provided for all major version upgrades
- Community support available through GitHub Discussions
Get Involvedโ
We're grateful to our growing community of contributors and users. Your feedback shapes Suites' development.
- ๐ Report issues
- ๐ก Request features
- ๐ Improve documentation
- โญ Star us on GitHub