Skip to content

Releases: Gusto/fixture_kit

v0.9.0

24 Feb 07:08
2d28e93

Choose a tag to compare

What's Changed

  • Evaluate fixture definitions in adapter execution context by @ngan in #28

Full Changelog: v0.8.0...v0.9.0

v0.8.0

24 Feb 05:54
c76b9f9

Choose a tag to compare

What's Changed

  • Make repository exposed records lazy and document lookup gotchas by @ngan in #24
  • Refactor cache callbacks into event registry by @ngan in #26
  • docs: migrate guides to wiki and slim README by @ngan in #27

Full Changelog: v0.7.0...v0.8.0

v0.7.0

24 Feb 00:56
ebb0b16

Choose a tag to compare

Highlights

  • Added STI-aware SQL write tracking so fixture caching resolves subclass write events to the base table-owning model.
  • Added dummy app STI integration coverage for both RSpec and Minitest.
  • Improved cache replay behavior by batching restore statements per connection in Cache#load.
  • Moved cache generation into framework lifecycle hooks while keeping runner startup focused on cache clearing/start state.

Tooling and Test Coverage

  • Extended unit coverage across runner lifecycle, SQL subscriber event handling, and cache replay behavior.
  • Expanded integration coverage in dummy app suites for STI and queue-style execution behavior.

Full Changelog

v0.6.0...v0.7.0

v0.6.0

23 Feb 21:04
f0b17fd

Choose a tag to compare

Highlights

  • Moved fixture cache generation into framework lifecycle hooks:
    • RSpec generates per declaring group in before(:context).
    • Minitest generates per declaring class in class-level run_suite.
  • Simplified runner startup semantics:
    • Runner#start now handles startup/clear-cache only.
    • Cache generation is now framework-driven.
  • Improved cache loading performance by batching restore statements per DB connection and issuing one execute_batch per connection.

Additional updates

  • README lifecycle documentation updated to match current behavior.
  • Expanded unit coverage for runner lifecycle, RSpec/Minitest entrypoint behavior, and cache batching.

Full Changelog

v0.5.0...v0.6.0

v0.5.0

23 Feb 07:48
cb670de

Choose a tag to compare

Highlights

  • Added anonymous fixture declarations in both RSpec and Minitest via fixture do ... end.
  • Added cache lifecycle hooks:
    • on_cache_save (renamed from on_cache)
    • on_cache_mount (new)
  • Improved fixture declaration behavior:
    • one fixture declaration per test context
    • explicit errors for multiple declarations in the same context
    • nested context/class overrides supported

Internal Improvements

  • Refactored runner/registry flow to support named and anonymous fixture registration.
  • Simplified fixture/cache identity handling, including normalized anonymous cache paths.
  • Expanded unit + integration coverage (RSpec and Minitest), including suite count validation.

Full Changelog

v0.4.0...v0.5.0

v0.4.0

23 Feb 03:43
14cc536

Choose a tag to compare

What's Changed

  • Remove FixtureKit.configuration and use runner.configuration internally by @ngan in #13
  • Add queue-mode integration simulation for late-loaded RSpec batches by @ngan in #14
  • Call on_cache before cache generation by @ngan in #15
  • Refactor isolators into top-level classes by @ngan in #16
  • Add minitest entrypoint and rename mounted repository ivar by @ngan in #17
  • Track SQL write events and verify cache dumping coverage by @ngan in #18

Full Changelog: v0.3.0...v0.4.0

v0.3.0

22 Feb 04:51
a2f2be2

Choose a tag to compare

What's Changed

  • Refactor runner lifecycle + isolator APIs, and update README by @ngan in #12

Full Changelog: v0.2.0...v0.3.0

v0.2.0

21 Feb 07:31
d79bec5

Choose a tag to compare

What's Changed

  • Lazily register FixtureKit RSpec suite hook by @ngan in #8
  • Pregenerate only fixtures used by loaded RSpec examples by @ngan in #9
  • Rename core FixtureKit classes for simpler naming by @ngan in #11

Full Changelog: v0.1.2...v0.2.0

v0.1.2

20 Feb 23:36
8fe5749

Choose a tag to compare

What's Changed

  • Preload FixtureKit fixtures at example start in RSpec by @ngan in #5
  • Add CI check for appraisal lockfile version drift by @ngan in #6
  • Use configurable generators for fixture cache pregeneration by @ngan in #7

Full Changelog: v0.1.1...v0.1.2

v0.1.1

20 Feb 06:53
74c53e6

Choose a tag to compare

What's Changed

  • Freeze exposed arrays to prevent accidental mutation by @ngan in #2
  • Update CI to test against Ruby 3.4 and 4.0 by @ngan in #3
  • Use ActiveRecord::TestFixtures for cache pregeneration rollback by @ngan in #4

Full Changelog: v0.1.0...v0.1.1