Releases: web-infra-dev/rstest
Releases ยท web-infra-dev/rstest
v0.1.1
What's Changed
Performance ๐
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
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 ๐
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
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 ๐
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
What's Changed
New Features ๐
Bug Fixes ๐
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
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
What's Changed
New Features ๐
- feat: export Mock type by @chenjiahan in #372
- feat: support using package name as
setupFiles
value by @9aoy in #377
Bug Fixes ๐
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
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 ๐
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
What's Changed
New Features ๐
Performance ๐
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
Full Changelog: v0.0.4...v0.0.5
v0.0.4
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
andhooks
API by @9aoy in #337
Other Changes
- enhance: support debug outputs via
bundleAnalyze
orwriteToDisk
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
What's Changed
Performance ๐
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