Skip to content

Releases: Ethaks/FVTT-Quench

Version 0.9.2

19 Jun 14:28
501a223
Compare
Choose a tag to compare

0.9.2 (2023-06-19)

Bug Fixes

  • adapt to FilePicker changes in v11 (24cad29), closes #306

Version 0.9.1

08 Apr 13:38
9db1133
Compare
Choose a tag to compare

0.9.1 (2023-04-08)

Bug Fixes

  • UI: prevent Firefox from getting stuck and hiding expanded elements (1b3b273)
  • UI: restore indentation of nested tests in UI (6b12575)

Version 0.9.0

07 Apr 08:53
e90fba6
Compare
Choose a tag to compare

0.9.0 (2023-04-07)

⚠ BREAKING CHANGES

  • remove deprecated Quench#runAllBatches and its options (62a3595)
  • remove deprecated pre-selection setting (095fb60)

Features

  • add Chai as Promised (584559a), closes #245
  • add search filter to UI (e2c04bf), closes #261
  • add setting shortcut to QuenchResults header buttons (a57234c), closes #256
  • improve display of errors thrown in hooks (ecda47c)

Version 0.8.1

01 Aug 22:34
a2b9400
Compare
Choose a tag to compare

0.8.1 (2022-08-01)

Bug Fixes

  • only run all batches when no keys are provided at all (e053a73)
  • prevent errors in diff generation when encountering undefined (ed50c8a)

Version 0.8.0

01 Aug 14:00
6fc18c2
Compare
Choose a tag to compare

0.8.0 (2022-08-01)

⚠ BREAKING CHANGES

  • deps: bump fast-check from 2.25.0 to 3.1.1 (#156)
  • replace preselect packages with preselect filters
  • refactor runSelectedBatches, _testBatches, and utils

Features

  • add JSON report generation (6c41d48)
  • enable batch key filtering in settings and quench.runBatches (397c8e3)
  • improve diff context trimming (e84cbd4)
  • improve diff readability (4874eea), closes #147
  • improve error message spacing (c064cb2), closes #146

Bug Fixes

  • improve diff detection and display (353e1d4)

  • deps: bump fast-check from 2.25.0 to 3.1.1 (#156) (dbbe6c7)

  • refactor runSelectedBatches, _testBatches, and utils (fb7f286)

Version 0.7.0

26 May 17:18
Compare
Choose a tag to compare

Features

  • add option to only run preselected batches on startup (18a59ec), closes #117
  • add preselected packages setting to limit test preselection (582d37c), closes #117 #133

Bug Fixes

  • fix appearance of Quench button in collapsed sidebar (1303d51)
  • fix registerBatch throwing an error in v10 (#125) (45ca352)
  • improve diff layout, limit shown context, improve styling (9d07b1b), closes #132

Version 0.6.0

23 Feb 18:11
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Export types as ES module

Features

  • allow setting initial checked status at batch registration (11c47b3)
  • display diffs for errors containing actual and expected values (044f7af)
  • introduce fast-check for property based testing (d834d33)

Version 0.5.2

05 Nov 14:50
Compare
Choose a tag to compare

Features

  • improve snapshot upload performance, allow updating after runs (223c270)
  • provide detailed overview for uploaded files in console (528194e)

Bug Fixes

  • prevent snapshot updates from accumulating with runs (f617bb5)

Version 0.5.1

27 Oct 19:19
Compare
Choose a tag to compare

0.5.1 (2021-10-27)

⚠ BREAKING CHANGES

  • snapshots: Quench now uses fnv1a for hashing, which means new hashes will differ from previous ones, breaking the current association of test to file (732bb2a)

Version 0.5.0

23 Oct 11:21
Compare
Choose a tag to compare

Bug Fixes

  • The clearWorld utility function did not actually work after getting updated to use Documents

Features

  • Added snapshot support
    • The basic assertion function is matchSnapshot, which can be used like this: expect({foo: "bar"}).to.matchSnapshot()
    • Snapshots are stored in Foundry's Data/__snapshots__/<package name> directory by default
    • In this snapBaseDir, each batch gets its own directory, in which each test's snapshot is stored in their own file named by the test's hash
    • The snapshot directory default can be overwritten by setting a snapBaseDir option in the batch registration options
  • autoRun tests are now guaranteed to start after the ready hook is fired

API

  • The quenchReady hook is now deprecated
    • To remain compatible with old batch registration for now, the quenchReady hook is still fired in Foundry's setup hook
  • The quench global is now guaranteed to get initialised in the init hook and can be used afterwards
  • Registering a batch whose name does not belong to a package will now trigger a UI warning