Skip to main content

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-metadata peer 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.

View full release notes โ†’


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/unit regardless 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:

View full release notes โ†’


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 support
  • v2.0.0 (Nov 2022) โ€” Native mocking implementation, Node.js v16+ requirement
  • v1.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โ€‹

VersionStatusReleasedSupport Until
v3.0.x๐ŸŸข StableJuly 2024June 2026
v2.x (Automock)โš ๏ธ Critical fixes onlyNov 2022June 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.