@najemi-software/vitest-dom 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +207 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,217 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
##
|
|
8
|
+
## [0.17.0] - 2026-09-26
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Reformat CHANGELOG.md and add missing upstream versions
|
|
13
|
+
- Add validation of CHANGELOG.md to GH WF and improve other WFs
|
|
14
|
+
|
|
15
|
+
## [0.16.0] - 2026-09-26
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- add type-checking to build and fix all type errors
|
|
20
|
+
|
|
21
|
+
### Breaking Changes
|
|
22
|
+
|
|
23
|
+
- Exported matcher functions now declare `this: MatcherState`, so calling them directly (outside of `expect`) requires a vitest matcher context
|
|
24
|
+
|
|
25
|
+
## [0.15.0] - 2026-09-26
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Rename dist/ to esm
|
|
30
|
+
- Add husky pre-commit hook and add lint-staged
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- Un-deprecate toHaveAccessibleDescription matcher
|
|
35
|
+
|
|
36
|
+
## [0.14.0] - 2026-09-25
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- Migrate from tsup to tsc and matchers from JS to TS
|
|
41
|
+
|
|
42
|
+
## [0.13.0] - 2026-09-25
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Refactor usages of and remove now-unused dep css.escape
|
|
47
|
+
|
|
48
|
+
## [0.12.0] - 2026-09-25
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- Refactor usages of and remove now-unused dep aria-query
|
|
53
|
+
|
|
54
|
+
## [0.11.0] - 2026-09-25
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- Migrate unit-tests from JSDom to happy-dom
|
|
59
|
+
|
|
60
|
+
## [0.10.0] - 2026-09-25
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
|
|
64
|
+
- Cleanup usages of JSDom and make standard
|
|
65
|
+
|
|
66
|
+
## [0.9.0] - 2026-09-25
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
- Unify vitest configuration files
|
|
71
|
+
|
|
72
|
+
## [0.8.0] - 2026-09-25
|
|
73
|
+
|
|
74
|
+
### Changed
|
|
75
|
+
|
|
76
|
+
- Migrate from prettier to oxfmt
|
|
77
|
+
|
|
78
|
+
## [0.7.0] - 2026-09-25
|
|
79
|
+
|
|
80
|
+
### Changed
|
|
81
|
+
|
|
82
|
+
- Move entrypoint shims into src/ and build them to dist/
|
|
83
|
+
|
|
84
|
+
## [0.6.0] - 2026-09-24
|
|
85
|
+
|
|
86
|
+
### Changed
|
|
87
|
+
|
|
88
|
+
- Rename vitest setup file
|
|
89
|
+
|
|
90
|
+
## [0.5.0] - 2026-09-24
|
|
91
|
+
|
|
92
|
+
### Changed
|
|
93
|
+
|
|
94
|
+
- Add proper exports field to package.json
|
|
95
|
+
|
|
96
|
+
## [0.4.0] - 2026-09-24
|
|
11
97
|
|
|
12
|
-
|
|
98
|
+
### Changed
|
|
13
99
|
|
|
14
|
-
-
|
|
15
|
-
breaking changes to its TypeScript API. We have updated our types to consume
|
|
16
|
-
and extend the new types.
|
|
17
|
-
- We no longer augment the global `expect` type, as this is only desired when
|
|
18
|
-
the user opts in to importing globals from `vitest`. Users will need to
|
|
19
|
-
explicitly follow the Vitest's guidance to get global types.
|
|
20
|
-
- We now use the `css.escape` package to polyfill `CSS.escape` in
|
|
21
|
-
`toHaveFormValues` matcher. This will use the built-in `CSS.escape` if it is
|
|
22
|
-
detected in your runtime.
|
|
100
|
+
- migrate unit-tests from JS to TS
|
|
23
101
|
|
|
24
|
-
##
|
|
102
|
+
## [0.3.0] - 2026-09-24
|
|
103
|
+
|
|
104
|
+
### Changed
|
|
105
|
+
|
|
106
|
+
- Bump node to 22 everywhere
|
|
107
|
+
|
|
108
|
+
## [0.2.0] - 2026-09-24
|
|
109
|
+
|
|
110
|
+
### Changed
|
|
111
|
+
|
|
112
|
+
- dummy PR to unblock next PR's merge
|
|
113
|
+
- Improve releasing and perform light cleanup
|
|
114
|
+
|
|
115
|
+
## [0.1.1] - 2023-09-16
|
|
116
|
+
|
|
117
|
+
> **Note:** development continued in the [Najemi-Software/vitest-dom](https://github.com/Najemi-Software/vitest-dom) fork from this version onward. The fork first published this same version as `@najemi-software/vitest-dom@0.1.1` on 2026-09-24.
|
|
118
|
+
|
|
119
|
+
### Added
|
|
120
|
+
|
|
121
|
+
- fork as @najemi-software/vitest-dom ([36c7916](https://github.com/Najemi-Software/vitest-dom/commit/36c7916bd9b7a59e90e5ceed427ff443f96b5933))
|
|
122
|
+
|
|
123
|
+
### Changed
|
|
25
124
|
|
|
26
125
|
- Relaxed `peerDependency` on Vitest (#7)
|
|
27
126
|
- Updated internal dependencies
|
|
127
|
+
|
|
128
|
+
## [0.1.0] - 2023-05-15
|
|
129
|
+
|
|
130
|
+
### Changed
|
|
131
|
+
|
|
132
|
+
- We now use the `css.escape` package to polyfill `CSS.escape` in `toHaveFormValues` matcher. This will use the built-in `CSS.escape` if it is detected in your runtime.
|
|
133
|
+
|
|
134
|
+
### Breaking Changes
|
|
135
|
+
|
|
136
|
+
- Bumped peer dependency on `vitest` to `^0.31.0`, as Vitest has made some breaking changes to its TypeScript API. We have updated our types to consume and extend the new types.
|
|
137
|
+
- We no longer augment the global `expect` type, as this is only desired when the user opts in to importing globals from `vitest`. Users will need to explicitly follow the Vitest's guidance to get global types.
|
|
138
|
+
|
|
139
|
+
## [0.0.6] - 2023-05-15
|
|
140
|
+
|
|
141
|
+
### Fixed
|
|
142
|
+
|
|
143
|
+
- Actually call `extend.expect` in `extend-expect` module (whoops!)
|
|
144
|
+
|
|
145
|
+
## [0.0.5] - 2023-05-15
|
|
146
|
+
|
|
147
|
+
### Changed
|
|
148
|
+
|
|
149
|
+
- Loosened the dependency on `vitest` to allow for versions between 0.16 and 0.30
|
|
150
|
+
|
|
151
|
+
### Fixed
|
|
152
|
+
|
|
153
|
+
- Added missing type export for `toBeDisabled`
|
|
154
|
+
|
|
155
|
+
## [0.0.4] - 2022-07-05
|
|
156
|
+
|
|
157
|
+
### Added
|
|
158
|
+
|
|
159
|
+
- Add types
|
|
160
|
+
|
|
161
|
+
### Changed
|
|
162
|
+
|
|
163
|
+
- Restructure exports
|
|
164
|
+
- Replace `lodash` with `lodash-es`
|
|
165
|
+
- Tweak dependencies and ESLint config
|
|
166
|
+
|
|
167
|
+
## [0.0.3] - 2022-07-04
|
|
168
|
+
|
|
169
|
+
### Changed
|
|
170
|
+
|
|
171
|
+
- Move global type updates to `extend-expect`
|
|
172
|
+
|
|
173
|
+
### Fixed
|
|
174
|
+
|
|
175
|
+
- Move tests out of published directory
|
|
176
|
+
- Fix npm `files` array
|
|
177
|
+
|
|
178
|
+
## [0.0.1] - 2022-07-04
|
|
179
|
+
|
|
180
|
+
### Changed
|
|
181
|
+
|
|
182
|
+
- Format README
|
|
183
|
+
|
|
184
|
+
### Fixed
|
|
185
|
+
|
|
186
|
+
- Publish missing types file
|
|
187
|
+
|
|
188
|
+
## [0.0.0] - 2022-07-04
|
|
189
|
+
|
|
190
|
+
### Added
|
|
191
|
+
|
|
192
|
+
- Initial release
|
|
193
|
+
|
|
194
|
+
[0.17.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.16.0...v0.17.0
|
|
195
|
+
[0.16.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.15.0...v0.16.0
|
|
196
|
+
[0.15.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.14.0...v0.15.0
|
|
197
|
+
[0.14.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.13.0...v0.14.0
|
|
198
|
+
[0.13.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.12.0...v0.13.0
|
|
199
|
+
[0.12.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.11.0...v0.12.0
|
|
200
|
+
[0.11.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.10.0...v0.11.0
|
|
201
|
+
[0.10.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.9.0...v0.10.0
|
|
202
|
+
[0.9.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.8.0...v0.9.0
|
|
203
|
+
[0.8.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.7.0...v0.8.0
|
|
204
|
+
[0.7.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.6.0...v0.7.0
|
|
205
|
+
[0.6.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.5.0...v0.6.0
|
|
206
|
+
[0.5.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.4.0...v0.5.0
|
|
207
|
+
[0.4.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.3.0...v0.4.0
|
|
208
|
+
[0.3.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.2.0...v0.3.0
|
|
209
|
+
[0.2.0]: https://github.com/Najemi-Software/vitest-dom/compare/v0.1.1...v0.2.0
|
|
210
|
+
[0.1.1]: https://github.com/chaance/vitest-dom/compare/v0.1.0...v0.1.1
|
|
211
|
+
[0.1.0]: https://github.com/chaance/vitest-dom/compare/v0.0.6...v0.1.0
|
|
212
|
+
[0.0.6]: https://github.com/chaance/vitest-dom/compare/v0.0.5...v0.0.6
|
|
213
|
+
[0.0.5]: https://github.com/chaance/vitest-dom/compare/v0.0.4...v0.0.5
|
|
214
|
+
[0.0.4]: https://github.com/chaance/vitest-dom/compare/v0.0.3...v0.0.4
|
|
215
|
+
[0.0.3]: https://github.com/chaance/vitest-dom/compare/v0.0.1...v0.0.3
|
|
216
|
+
[0.0.1]: https://github.com/chaance/vitest-dom/compare/c55ed6adc9e6868f796ff0daeeab330d970d261b...v0.0.1
|
|
217
|
+
[0.0.0]: https://github.com/chaance/vitest-dom/commits/c55ed6adc9e6868f796ff0daeeab330d970d261b
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@najemi-software/vitest-dom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Custom Vitest matchers to test the state of the DOM, forked from jest-dom.",
|
|
6
6
|
"homepage": "https://github.com/Najemi-Software/vitest-dom#readme",
|