Skip to content

Releases: AceFire6/file_changes

v1.2.0 - Bump nodejs to node24

Choose a tag to compare

@AceFire6 AceFire6 released this 27 Mar 09:21
513f100

Full Changelog: v1.1.0...v1.2.0

v1.1.0 - Add JSON outputs

Choose a tag to compare

@AceFire6 AceFire6 released this 26 Mar 11:01
eefc0a2

v1.0.0

Choose a tag to compare

@AceFire6 AceFire6 released this 02 Sep 20:00
dfe0280

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

Choose a tag to compare

@AceFire6 AceFire6 released this 12 Feb 15:49

What's Changed

  • Update Github workflows
  • Bump node version to Node 20
  • Update all dependencies

Dependency Change PRs

Full Changelog: v0.3.0...v0.4.0

File Changes - Fix tests

Choose a tag to compare

@AceFire6 AceFire6 released this 10 Dec 21:23
  • Make tests work with new set output system
  • Change prettier & eslint config to require semi-colons and brace spacing

File Changes - Upgrade to Node16

Choose a tag to compare

@AceFire6 AceFire6 released this 10 Dec 14:05

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

Choose a tag to compare

@AceFire6 AceFire6 released this 21 Jun 12:33

Added

  • Inputs: glob-template - Set the way to format globs - default is '{glob}'

Changed

  • Inputs: change-map - Rename glob -> globs & support JSON arrays

File Changes - First Release

Choose a tag to compare

@AceFire6 AceFire6 released this 20 Jun 19:52

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 to git 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 are ADDED: {"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. If separateDeletedisfalse` 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 if separateDeleted is 'true' for the key. Will contain a list of deleted files