Changelog
February 25, 2024 ยท View on GitHub
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
26.0.2 (2024-02-25)
- v26.0.1 has been unpublished due to missing files on npm, publish again to address the issue
26.0.1 (2024-02-25)
Bug Fixes
26.0.0 (2023-04-07)
โ BREAKING CHANGES
- TypeScript 4 is now the minimal supported version
Features
- support TypeScript 5 (0237ac6)
25.0.0 (2022-05-14)
Features
- support Jest 28 (4ccfe7a)
BREAKING CHANGES
- Jest 28 is now the minimal supported version
24.0.0 (2021-05-30)
Features
- support Jest 27 (867d3dd)
BREAKING CHANGES
- Jest 27 is now the minimal supported version
23.3.0 (2020-08-12)
Features
23.2.0 (2020-07-29)
Features
23.1.0 (2020-06-27)
Features
- support
@ts-expect-error(60451a3)
23.0.0 (2019-04-13)
Chores
Features
BREAKING CHANGES
- drop support for jest < 22
- drop support for node v4
22.0.4 (2018-06-27)
Bug Fixes
22.0.3 (2017-09-05)
Bug Fixes
- deps: update dependency pretty-format to ^21.0.0 (#88) (3721a48)
- peerDeps: accept jest ^21.0.0 (#89) (fc47496)
22.0.2 (2017-09-04)
Bug Fixes
22.0.1 (2017-09-01)
Bug Fixes
22.0.0 (2017-08-31)
Bug Fixes
- deps: jest peerDeps should allow ^20.0.0 (1a24239)
- report unmatched diagnostic (#52) (4ab0f86)
- deps: update peerDeps typescript to ^2.3.0 (c075dd2)
Features
- add ability to specify which typescript to use (#49) (9213bc1)
- add reporter to show current TS version (#51) (bf4ee48)
- combine type and value tests (#69) (876b37d)
- redefine flags (#54) (dc1883f)
- rewrite remap & remap-cli (#59) (1db5ea0)
- show detailed test title (#74) (2eac61f)
- support
tsconfig.jsonliteral options (#56) (f9dd34a)
BREAKING CHANGES
- deps: drop TS < v2.3
- transform-actual: remove transformer
transform-actualas it currently combined withtransform - remap: [API]
remap(...)- before
snapshot_content- allow
string(raw content from *.snap) - allow
Record<string, string>(unparsed content from *.snap)
- allow
- after
snapshot_content- allow
string(raw content from *.snap) - allow
Record<string, string>(parsed content from *.snap)
- allow
- before
- remap-cli: rename bin from
dts-jest-remap-snapshottodts-jest-remap- input using source file instead of snapshot file, e.g.
- before:
./__snapshots__/example.ts.snap - after:
./example.ts
- before:
- output content does not print to stdout now, use
--outDirand--renameto specify output path instead
- input using source file instead of snapshot file, e.g.
- configs: replace config value with config literal
- Before
{ "target": 5 // ts.ScriptTarget.ESNext } - After
{ "target": "esnext" }
- Before
- flags: redefine flag
- type tests
@dts-jest->@dts-jest:snapshot@dts-jest:snap->@dts-jest:snapshot@dts-jest:pass->@dts-jest:pass:snapshot@dts-jest:fail->@dts-jest:fail:snapshot
- actual tests
@dts-jest+//=> value->//=> :no-error@dts-jest:snap+//=> value->//=> :no-error@dts-jest:show+//=> value->//=> ?@dts-jest:pass+//=> value->//=> value@dts-jest:fail+//=> value->//=> :error
- type tests
21.0.0 (2017-08-18)
Features
BREAKING CHANGES
-
deps: TypeScript now has to be installed manually so that you can choose which version to use
-
version: This project now DOES NOT use the same versioning as Jest
v20.5.1 (2017-06-30)
๐ New Feature
- allow using snapshot-content object for
remap-snapshot - allow specifying snapshot filename for
remap-snapshotso as to handle cache
v20.5.0 (2017-06-30)
๐ New Feature
- Add
remap-snapshotto generate diff-friendly snapshots
v20.4.1 (2017-06-24)
๐ Bug Fix
- Fix transpile error for actual test
v20.4.0 (2017-06-24)
๐ New Feature
- Add actual test transformer (
dts-jest/transform-actual) with//=> valuecomment
v20.3.1 (2017-06-21)
๐ Bug Fix
- Fix indentation for description of grouped test
v20.3.0 (2017-06-21)
๐ New Feature
- Add group flag to categorize test cases
- Add default flags (
:test,:shot) to show its explicit flag - Allow to set flags with any order, e.g.
:show:only,:only:show
๐ Bug Fix
- Remove unnecessary leading spaces in expressions (dedent)
v20.2.0 (2017-06-20)
๐ New Feature
- Add flags (
:pass,:fail,:only:pass,:only:fail) to assert its result
v20.1.0 (2017-06-13)
๐ฅ Breaking Change
- Use same MAJOR version as Jest
- Remove server since tests should be separated
๐ New Feature
- Add config
type_format - Display description in
:show
v20.0.6 (2017-06-10)
๐ Bug Fix
- Fix transforming for template token
v20.0.4 (2017-06-09)
๐ Bug Fix
- Fix unexpected filenames
๐ Internal
- Use POST for modification actions
v20.0.3 (2017-06-03)
๐ฅ Breaking Change
- setup a server for initializing TS source file at once
- remove useless config
type_detail,type_format,snapshot_formatter
๐ New Feature
- allow to use
<rootDir>in configtsconfig
v20.0.2 (2017-05-16)
๐ Bug Fix
- Fix missing config
v20.0.1 (2017-05-16)
๐ New Feature
- detect unattachable triggers
- allow to customize
:showmessage withreporteroption - allow to customize inferred type with
type_detailandtype_formatoption - allow to customize snapshot content with
snapshot_formatteroption
๐ Internal
- rewrite for better user experience about cache
v20.0.0 (2017-05-14)
๐ New Feature
- Use same MAJOR.MINOR version as Jest
๐ Documentation
- Fix image urls in README.md
v1.0.5 (2017-05-13)
๐ Bug Fix
- Fix dependency
v1.0.4 (2017-05-13)
๐ New Feature
- Release first version