Skip to content

Commit 12e5412

Browse files
Publish <version> (#647)
* Version Packages * Remove extra text from changelog --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Lo Nigro <[email protected]>
1 parent 8f60fbf commit 12e5412

File tree

3 files changed

+64
-35
lines changed

3 files changed

+64
-35
lines changed

.changeset/polite-lizards-know.md

-5
This file was deleted.

CHANGELOG.md

+63-29
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,113 @@
11
# Changelog
2-
All notable changes to this project will be documented in this file.
32

4-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
3+
## 17.1.2
64

7-
## [Unreleased]
8-
<!-- Add new changes here -->
5+
### Patch Changes
6+
7+
- 8f60fbf: Enable async tranformers in test utils.
8+
All notable changes to this project will be documented in this file.
99

1010
## [17.1.1] 2024-10-31
1111

1212
### Fixed
13+
1314
- Republished with `temp` dependency properly removed (#638, thanks @trivikr for reporting)
1415

1516
## [17.1.0] 2024-10-30
1617

1718
### Added
19+
1820
- `pkg.pr.new` will now be used to build an npm pakage for each commit to the repo, allowing you to more easily test changes or use new features before an official release is cut. (#622, @Aslemammad)
1921

2022
### Changed
23+
2124
- Replaced `temp` library with `tmp` (#633, @r4zendev)
2225

2326
### Fixed
27+
2428
- Removed old `docs` command from `package.json` since the new docs are in the `website` folder, which has instructions in its README.
2529

2630
## [17.0.0] 2024-08-06
2731

2832
We needed to go [from v0.x to a major release](https://github.com/facebook/jscodeshift/issues/593), and it may as well happen now. jscodeshift has been around for nine years though, so going to v1.0.0 didn't feel quite right. I've instead promoted the minor version number to a major version number, similar to what React did when it went from 0.14 to 15.0.
2933

3034
### Fixed
31-
- Node.js 16 is now explicitly specified as the minimum required version. It was *already* implicitly required due to some dependencies requiring it, but this wasn't explicitly specified until now. (#607, @trivikr)
35+
36+
- Node.js 16 is now explicitly specified as the minimum required version. It was _already_ implicitly required due to some dependencies requiring it, but this wasn't explicitly specified until now. (#607, @trivikr)
3237

3338
### Added
39+
3440
- A new [jscodeshift website](https://jscodeshift.com/) has launched, thanks to the team at [Codemod](https://codemod.com/). (#592, @mohab-sameh with some tweaks by @morinokami)
3541
- Added collection functions for import declarations, including finding imports and inserting new imports (#617, @danieldelcore)
3642

3743
### Changed
44+
3845
- Enabled TypeScript `importAttributes` (#585, @benasher44) and `decoratorAutoAccessors` (#594, @syi0808) plugins
3946
- Removed or replaced various outdated and unused dependencies (#601, #605, #609, #613, @trivikr)
4047
- Started using Corepack to manage Yarn version (#599, @trivikr)
4148

42-
4349
## [0.16.1] 2024-06-25
4450

4551
### Fixed
52+
4653
- Removed old `babel-core` dependency that was unused but caused security scanners to flag vulnerabilities.
4754

4855
## [0.16.0] 2024-06-18
4956

5057
### Added
51-
- Added a `--gitignore` flag to avoid transforming any files listed in `.gitignore` (#508, @ElonVolo)
58+
59+
- Added a `--gitignore` flag to avoid transforming any files listed in `.gitignore` (#508, @ElonVolo)
5260

5361
### Changed
62+
5463
- Updated various dependencies to latest version (#588, @ElonVolo)
5564

5665
## [0.15.2] 2024-02-21
5766

5867
### Fixed
68+
5969
- Process all supported extensions by default (#584, @trivikr)
6070

6171
## [0.15.1] 2023-10-28
6272

6373
### Changed
74+
6475
- Upgraded to recast 0.23.3 (#564, @ashsearle)
6576
- Enable `@babel/plugin-proposal-private-methods` in worker (#568, @sibelius)
6677
- Upgraded Babel packages (#570, @dartess)
6778

6879
### Fixed
80+
6981
- Respect extensions cli option when filtering individual files (#562, @robcmills)
7082
- Fixed unit test after #562 broke them (#575, @ElonVolo)
7183

7284
## [0.15.0] 2023-05-07
7385

7486
### Changed
87+
7588
- Upgraded to recast 0.23.1 (#544, @ryanrhee)
7689
- Make @babel/preset-env optional (#480, @SimenB)
7790

7891
### Fixed
92+
7993
- Force LF line ending in bin/jscodeshift.sh (#555, @jakeboone02)
8094
- Use transform's exported parser in testUitls (#528, @CrispyBacon12)
8195
- Ensure jscodeshift doesn't load Babel config file (#460, @raon0211)
8296

8397
## [0.14.0] 2022-10-04
8498

8599
### Added
100+
86101
- Added a `defineSnapshotTestFromFixture` test util (#471, @shriuken)
87102
- Added `renameTo` filters for Babel 6+ node types (#412 and #504, @elonvolo and @henryqdineen)
88103
- Added `childNodesOfType` to JSX traversal methods (#415, @j13huang)
89104

90-
91105
### Changed
106+
92107
- Bumped dependency versions
93108
- Allow arguments in `--help` to be listed in an order other than alphabetically, so they can instead be grouped thematically (#507, @elonvolo)
94109
- Allow the `j` shortcut in test utils (#515, @no23reason)
95110

96-
97-
98111
## [0.13.1] 2022-01-10
99112

100113
### Changed
@@ -113,80 +126,101 @@ We needed to go [from v0.x to a major release](https://github.com/facebook/jscod
113126
- Removed lodash dependency from tsx parser (#432, @JHilker and @robyoder)
114127

115128
## [0.12.0] 2021-04-21
129+
116130
### Changed
131+
117132
- Allow transform to be a Promise (#237, @rektide)
118133
- Support newer TypeScript syntax by upgrading to newer Babel parser (#410, @wdoug and @mfeckie)
119134

120135
## [0.11.0] 2020-09-01
136+
121137
### Changed
138+
122139
- Updated `recast` to latest
123140

124141
## [0.10.0] 2020-06-01
142+
125143
### Changed
144+
126145
- Updated `flow-parser` to latest, and enabled Flow Enums parsing by default when using Flow parser
127146

128147
## [0.8.0] 2020-05-03
148+
129149
### Changed
150+
130151
- Dropped support for Node versions 6 and 8
131152

132153
## [0.7.0] 2019-12-11
154+
133155
## Added
156+
134157
- Added jest snapshot utils (#297, @dogoku)
135158

136159
### Changed
160+
137161
- Moved from BSD to MIT license
138162

139163
### Fixed
164+
140165
- No longer throw an error when calling jscodeshift on a non-existent path (#334, @threepointone)
141166
- Preserve the original file extension in remote files (#317, @samselikoff)
142167

143168
## [0.6.4] 2019-04-30
169+
144170
### Changed
171+
145172
- Allow writing tests in TypeScript ([PR #308](https://github.com/facebook/jscodeshift/pull/308))
146173
- Better handling of `.gitingore` files: Ignore comments and support `\r\n` line breaks ([PR #306](https://github.com/facebook/jscodeshift/pull/306))
147174

148-
149175
## [0.6.3] 2019-01-18
176+
150177
### Fixed
178+
151179
- Don't throw an error when jscodeshift processes an empty set of files (#295,
152-
@skovhus).
180+
@skovhus).
153181
- `renameTo` should not rename class properties (#296, @henryqdineen).
154182
- Custom/unknown CLI parameters are parsed as JSON, just like nomnom used to
155-
do.
156-
183+
do.
157184

158185
## [0.6.2] 2018-12-05
186+
159187
### Changed
188+
160189
- `@babel/register`/`@babel/preset-env` is configured to not transpile any
161-
language features that the running Node process supports. That means if you use
162-
features in your transform code supported by the Node version you are running,
163-
they will be left as is. Most of ES2015 is actually supported since Node v6.
190+
language features that the running Node process supports. That means if you use
191+
features in your transform code supported by the Node version you are running,
192+
they will be left as is. Most of ES2015 is actually supported since Node v6.
164193
- Do not transpile object rest/spread in transform code if supported by running
165-
Node version.
194+
Node version.
166195

167196
### Fixed
197+
168198
- Presets and plugins passed to `@babel/register` are now properly named and
169199
loaded.
170200

171-
172201
## [0.6.1] 2018-12-04
202+
173203
### Added
204+
174205
- Tranform files can be written in Typescript. If the file extension of the
175-
transform file is `.ts` or `.tsx`, `@babel/preset-typescript` is used to
176-
convert them. This requires the `--babel` option to be set (which it is by
177-
default). ( #287 , @brieb )
206+
transform file is `.ts` or `.tsx`, `@babel/preset-typescript` is used to
207+
convert them. This requires the `--babel` option to be set (which it is by
208+
default). ( #287 , @brieb )
178209

179210
### Changed
211+
180212
- The preset and plugins for converting the transform file itself via babeljs
181-
have been updated to work with babel v7. This included removing
182-
`babel-preset-es2015` and `babel-preset-stage-1` in favor of
183-
`@babel/preset-env`. Only `@babel/proposal-class-properties` and
184-
`@babel/proposal-object-rest-spread` are enabled as experimental features. If
185-
you want to use other's in your transform file, please create a PR.
213+
have been updated to work with babel v7. This included removing
214+
`babel-preset-es2015` and `babel-preset-stage-1` in favor of
215+
`@babel/preset-env`. Only `@babel/proposal-class-properties` and
216+
`@babel/proposal-object-rest-spread` are enabled as experimental features. If
217+
you want to use other's in your transform file, please create a PR.
186218

187219
### Fixed
220+
188221
- Typescript parses use `@babel/parser` instead of Babylon ( #291, @elliottsj )
189222

190223
### Bumped
224+
191225
- `micromatch` => v3.1.10, which doesn't (indirectly) depend on `randomatic` <
192-
v3 anymore (see #292).
226+
v3 anymore (see #292).

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jscodeshift",
3-
"version": "17.1.1",
3+
"version": "17.1.2",
44
"description": "A toolkit for JavaScript codemods",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)