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