Skip to content

Releases: web-infra-dev/rstest

v0.1.1

05 Aug 06:31
d96b20f
Compare
Choose a tag to compare

What's Changed

Performance ๐Ÿš€

  • perf: prebundle runtime dependencies by @9aoy in #436

Bug Fixes ๐Ÿž

  • fix: should throw error when unknown environment by @9aoy in #439
  • fix: add original license and copyrights for the referenced code by @9aoy in #438
  • fix: shim require in rstest bundle by @9aoy in #440

Document ๐Ÿ“–

  • docs: add --reporter option by @9aoy in #434
  • docs: update config overview UI by @9aoy in #435
  • docs: fix @sinonjs/fake-timers link by @9aoy in #441

Other Changes

  • chore(workflow): enable npm trusted publishing by @chenjiahan in #442
  • enhance: should throw error when nest describe / test inside a test by @9aoy in #443
  • release: 0.1.1 by @9aoy in #444

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

v0.1.0

01 Aug 06:19
c37290a
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: support Github Actions Reporter by @9aoy in #429
  • feat: support VerboseReporter by @9aoy in #425
  • feat(deps): update @rspack/core to v1.4.11

Bug Fixes ๐Ÿž

  • fix: should show module not found error codeFrame correctly by @9aoy in #427
  • fix: improve error handling for unhandledRejection exception by @9aoy in #428

Document ๐Ÿ“–

  • docs: add cli options example by @9aoy in #426

Other Changes

  • chore: add watch tip for watch mode by @9aoy in #421
  • chore(deps): update dependency memfs to ^4.28.0 by @renovate[bot] in #431
  • chore(deps): update all patch dependencies by @renovate[bot] in #430
  • chore(deps): update dependency typescript to ^5.9.2 by @renovate[bot] in #432
  • chore(deps): update dependency cross-env to v10 by @renovate[bot] in #424
  • release: 0.1.0 by @9aoy in #433

Full Changelog: v0.0.10...v0.1.0

v0.0.10

24 Jul 08:32
6c45a16
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: set callerName as rstest by @9aoy in #407
  • feat: add RSTEST flag by @9aoy in #405
  • feat(mock): mock and doMock support typed first arg by @fi3ework in #418

Performance ๐Ÿš€

  • perf: avoid creating unused workers by @9aoy in #410

Bug Fixes ๐Ÿž

  • fix: should throw error when specified config not found by @9aoy in #406
  • fix: make mock works with async mock factory by @fi3ework in #389
  • fix: allows importing TS files with .js extension by @9aoy in #417

Document ๐Ÿ“–

  • docs(deps): update @rstack-dev/doc-ui to 1.10.8 by @9aoy in #404
  • docs: add some notes by @9aoy in #408

Other Changes

  • chore(deps): update Rspress to 2.0.0-beta.22 by @chenjiahan in #411
  • chore(deps): update dependency @rslib/core to v0.11.0 by @renovate[bot] in #413
  • chore(deps): update dependency axios to v1.11.0 [security] by @renovate[bot] in #415
  • chore: extract rsbuild / rspack config modify into rsbuild plugin by @9aoy in #414
  • chore: add open collective funding link by @chenjiahan in #416
  • chore(deps): update all patch dependencies by @renovate[bot] in #412
  • release: 0.0.10 by @9aoy in #419

Full Changelog: v0.0.9...v0.0.10

v0.0.9

21 Jul 06:42
b665987
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: support bundle node_modules in node environment by @9aoy in #394

Bug Fixes ๐Ÿž

  • fix: should keep require.resolve expressions by @9aoy in #395

Document ๐Ÿ“–

Other Changes

  • chore(workflow): test in node.js v24 by @9aoy in #392
  • chore(deps): update all patch dependencies by @renovate[bot] in #400
  • chore(deps): update dependency birpc to v2.5.0 by @renovate[bot] in #401
  • chore(deps): update dependency nx to ^21.3.1 by @renovate[bot] in #402
  • release: 0.0.9 by @9aoy in #403

Full Changelog: v0.0.8...v0.0.9

v0.0.8

16 Jul 06:48
d1b5188
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: support --include CLI option to match test files by @9aoy in #384
  • feat: support rs.setConfig by @9aoy in #386

Bug Fixes ๐Ÿž

  • fix: skip module field when commonjs require by @9aoy in #385
  • fix: should catch Worker exited unexpectedly error by @9aoy in #388
  • fix: should exit correctly when signal listener exists by @9aoy in #390

Other Changes

  • chore: fix rstest config inspect typo by @9aoy in #381
  • chore: update rslib config by @9aoy in #387
  • chore(deps): update all patch dependencies by @renovate[bot] in #391

Full Changelog: v0.0.7...v0.0.8

v0.0.7

11 Jul 03:54
3aef79f
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

Bug Fixes ๐Ÿž

  • fix: unexpected resolution of vue to vue.cjs.prod.js when NODE_ENV=test by @9aoy in #374

Document ๐Ÿ“–

Other Changes

  • chore(deps): update all patch dependencies by @renovate[bot] in #366
  • chore: exclude useless tests build by @9aoy in #367
  • chore(workflow): add ecosystem CI by @9aoy in #368
  • chore: update pnpm workspace configs by @9aoy in #371
  • chore: fix eco-ci by @9aoy in #369
  • chore: correct check-dependency-version script by @9aoy in #373
  • chore(deps): update dependency @biomejs/biome to ^2.1.1 by @renovate[bot] in #379
  • chore(deps): update all patch dependencies by @renovate[bot] in #378

Full Changelog: v0.0.6...v0.0.7

v0.0.6

04 Jul 09:57
2899556
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: support happy dom test by @njzydark in #354
  • feat: support caught error after test environment teardown by @9aoy in #356
  • feat: support hookTimeout by @9aoy in #363

Performance ๐Ÿš€

  • perf: disable some of rsbuild's default devMiddlewares by @9aoy in #364

Document ๐Ÿ“–

Other Changes

  • release: 0.0.5 by @fi3ework in #353
  • test: refactor dom test run logic by @njzydark in #355
  • chore: polish retry log & docs by @9aoy in #357
  • chore: optimize the display of time duration when it has minutes by @9aoy in #360

New Contributors

Full Changelog: v0.0.5...v0.0.6

v0.0.5

02 Jul 11:41
f9288bc
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

Performance ๐Ÿš€

  • perf: add pre-filter for css by @9aoy in #352

Bug Fixes ๐Ÿž

  • fix: should run tests correctly when isolate false by @9aoy in #343
  • fix(mock): resetModules should not clear mock by @fi3ework in #349
  • fix: enable --experimental-detect-module by default for node20 by @fi3ework in #351

Document ๐Ÿ“–

  • docs: add more configuration items by @9aoy in #345
  • docs: add mock configs and MockInstance API by @9aoy in #346
  • docs: add some rstest utilities API by @9aoy in #348
  • docs: add more test configs by @9aoy in #350

Other Changes

  • chore(deps): update all patch dependencies by @renovate in #347

Full Changelog: v0.0.4...v0.0.5

v0.0.4

30 Jun 08:26
8c02b28
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: support externals configuration by @9aoy in #324
  • feat: handle process.exit in pool by @fi3ework in #327

Bug Fixes ๐Ÿž

  • fix: node built-in modules should follow external strategy by @fi3ework in #326
  • fix: interop lodash correctly by @9aoy in #331
  • fix(spy): fix mockImplementation for function overload and unions by @fi3ework in #333

Document ๐Ÿ“–

  • docs: add retry/passWithNoTests/root configurations by @9aoy in #321
  • docs: add fake timers API by @9aoy in #322
  • docs: add plugins configuration by @9aoy in #323
  • docs: add source configurations by @9aoy in #325
  • docs: add more build configs by @9aoy in #329
  • docs: add test API by @9aoy in #335
  • docs: update rstest README by @9aoy in #338
  • docs: add describe and hooks API by @9aoy in #337

Other Changes

  • enhance: support debug outputs via bundleAnalyze or writeToDisk by @9aoy in #320
  • chore(deps): update all patch dependencies by @renovate in #328
  • chore(tests): enable type checks by @fi3ework in #330
  • chore(deps): update dependency @biomejs/biome to v2 by @renovate in #299
  • test: fix lint in lodash tests by @9aoy in #332
  • chore(deps): update all patch dependencies by @renovate in #334
  • enhance: support inspect rstest config by @9aoy in #336
  • chore: fix biome configuration by @fi3ework in #339
  • chore(deps): update all patch dependencies by @renovate in #340
  • chore: auto exit nx console by @fi3ework in #341
  • release: 0.0.4 by @9aoy in #342

Full Changelog: v0.0.3...v0.0.4

v0.0.3

24 Jun 10:02
e5f294b
Compare
Choose a tag to compare

What's Changed

Performance ๐Ÿš€

  • perf: disable useless watching when rstest only run once by @9aoy in #317

Bug Fixes ๐Ÿž

  • fix: correctly display build error messages by @9aoy in #302
  • fix: should throw error when setup file not found by @9aoy in #310
  • fix: module repeats load between setup file and test file by @9aoy in #314

Document ๐Ÿ“–

  • docs: add globals configuration by @9aoy in #303
  • docs: add includeSource configuration by @9aoy in #304
  • docs: add setupFiles configuration by @9aoy in #305
  • docs: add mock function API by @9aoy in #306
  • docs: add testEnvironment configuration by @9aoy in #312

Other Changes

  • test: support test examples in CI by @9aoy in #309
  • chore: merge debug outputs variable to DEBUG=rstest by @9aoy in #308
  • test: should run jsdom test correctly with jest-dom by @9aoy in #307
  • chore: remvoe licensePlugin in rslib watch mode by @9aoy in #311
  • chore: format test entry names by @9aoy in #313
  • chore(deps): update dependency prettier to ^3.6.0 by @renovate in #316
  • chore(deps): update all patch dependencies by @renovate in #315
  • release: 0.0.3 by @9aoy in #319

Full Changelog: v0.0.2...v0.0.3