Changelog
Version history and release notes for Suites
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 testingconst { 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 mockingconst 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