Releases: AceFire6/file_changes
Releases · AceFire6/file_changes
v1.0.0
A full upgrade to support the latest versions of all the packages involved. I've also updated the processes according to the original template.
The new version should behave the same but with slightly cleaner code and the latest of every dependency.
Breaking Change
The only breaking change in this update is to the filter-patterns input. The patterns are now just text entries instead of JSON objects.
Before
file-patterns: |
ADDED: {"pattern": "A\t"}
CHANGED: {"pattern": "M\t"}
DELETED: {"pattern": "D\t"}After
file-patterns: |
ADDED: "A\t"
CHANGED: "M\t"
DELETED: "D\t"Full Changelog: v0.4.0...v1.0.0
Upgrade to Node 20
What's Changed
- Update Github workflows
- Bump node version to Node 20
- Update all dependencies
Dependency Change PRs
- Bump eslint from 8.29.0 to 8.35.0 by @dependabot in #220
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #224
- Bump eslint-plugin-jest from 27.1.6 to 27.2.1 by @dependabot in #209
- Bump @babel/traverse from 7.20.5 to 7.23.9 by @dependabot in #225
- Bump @typescript-eslint/parser from 5.46.0 to 5.54.1 by @dependabot in #222
- Bump @types/tmp from 0.2.3 to 0.2.6 by @dependabot in #226
- Bump @types/node from 16.18.7 to 20.11.17 by @dependabot in #231
Full Changelog: v0.3.0...v0.4.0
File Changes - Fix tests
- Make tests work with new set output system
- Change prettier & eslint config to require semi-colons and brace spacing
File Changes - Upgrade to Node16
NOTE: Don't use this - probably broken - fix inbound
- Upgrade all dependencies
- Use Node 16
- Format all the code with prettier
- Update configs
File Changes - Add Multiple Glob Support& Glob Template
Added
- Inputs:
glob-template- Set the way to format globs - default is'{glob}'
Changed
- Inputs:
change-map- Renameglob->globs& support JSON arrays
File Changes - First Release
Added
- Input:
base_branch- set the branch to compare to, defaults to${{ github.base_ref }} - Input:
command- the command to run to get the file changes - optional{branchName}&{glob}replacements, defaults togit diff --name-status --no-renames {branchName} {glob} - Input:
file-patterns- key-map of ADDED,CHANGED,DELETED to their respective patterns. Checks the start of the string for matches. Defaults areADDED: {"pattern": "A\t"},CHANGED: {"pattern": "M\t"},DELETED: {"pattern": "D\t"} - Input:
change-map- key-map of the changes you want to be checked for. The keys are used to name the outputs. The map part is a JSON object with a string glob and boolean separateDeleted. - Output:
any-matches- is'true'if there are any matches for any of the globs, otherwise,'false' - Output:
{change-map[n]-key} which holds all the found changed files. IfseparateDeletedisfalse` this includes deleted files. - Output:
any-{change-map[n]-key}which is'true'if any changes were found for the glob associated to the key, otherwise,'false' - Output:
deleted-{change-map[n]-key}which will only exist ifseparateDeletedis'true'for the key. Will contain a list of deleted files