Skip to content

Releases: typesafegithub/github-workflows-kt

0.16.0

13 May 07:25
Compare
Choose a tag to compare

Full Changelog: v0.15.0...v0.16.0

0.15.0

29 Apr 09:39
Compare
Choose a tag to compare

Full Changelog: v0.14.0...v0.15.0

0.14.0

24 Apr 06:51
Compare
Choose a tag to compare

Thanks @jmfayard and @aSemy for your contributions!

Full Changelog: v0.13.0...v0.14.0

0.13.0

14 Apr 20:57
Compare
Choose a tag to compare

⭐ Features

Wrappers

  • add ad-m/[email protected]
  • add anmol098/waka-readme-stats@v4
  • add anothrNick/[email protected]
  • add appleboy/[email protected]
  • add appleboy/[email protected]
  • add appleboy/[email protected]
  • add aws-actions/amazon-ecr-login@v1
  • add aws-actions/amazon-ecs-deploy-task-definition@v1
  • add aws-actions/amazon-ecs-render-task-definition@v1
  • add aws-actions/configure-aws-credentials@v1
  • add bahmutov/[email protected]
  • add cachix/install-nix-action@v17
  • add calibreapp/[email protected]
  • add codecov/codecov-action@v3
  • add actions/cache@v3, deprecate v2
  • add actions/download-artifact@v3, deprecate v2
  • add actions/setup-java@v3, deprecate v2
  • add actions/setup-node@v3, deprecate v2
  • add actions/setup-python@v3, deprecate v2
  • add actions/upload-artifact@v3, deprecate v2
  • add EndBug/add-and-commit@v9, deprecate v8
  • add 'force' input for JamesIves/github-pages-deploy-action@v4 (195cfbb)
  • add 'export_environment_variables' input for google-github-actions/auth@v0 (33a5085)

Docs

Wrapper generator

🛠️ Fixes

Wrapper generator

  • rename obsolete ListOfStringsTyping to ListOfTypings (01c6c31) (thanks @jmfayard!)

💣 Breaking changes


Full Changelog: v0.12.0...v0.13.0

0.12.0

30 Mar 08:21
Compare
Choose a tag to compare

⭐ Features

🛠️ Fixes

  • [#153] docs: fix formatting of 'Getting started' (thanks @polarene!)
  • [#152] use Job.name as ID and add Job.name (thanks @NikkyAI!)

💣 Breaking changes

  • [#152] use Job.name as ID and add Job.name (1fbf7fb) - your scripts will stop compiling. All you need to do is rename name to id for jobs

Full Changelog: v0.11.0...v0.12.0

0.11.0

22 Mar 19:34
Compare
Choose a tag to compare

⭐ Features

New/changed wrappers:

  • add google-github-actions/auth@v0 (thanks @NikkyAI!)
  • add google-github-actions/setup-gcloud@v0 (thanks @NikkyAI!)
  • update docker/build-push-action@v2

Wrapper generator:

🛠️ Fixes

  • validate job name when creating Job (ef5022e)

💣 Breaking changes

None.


Full Changelog: v0.10.0...v0.11.0

0.10.0

09 Mar 07:17
Compare
Choose a tag to compare

⭐ Features

  • Add git-based consistency check for writeToFile() (59c92a5) (thanks @NikkyAI!)
  • Use actions/checkout@v3 in consistency check (8c98710)

New wrappers:

Wrapper generator:

  • Make list typing work with more than strings + allow customizing enum names (ffd8e30) (thanks @jmfayard!)

🛠️ Fixes

None.

💣 Breaking changes

  • regarding "Add git-based consistency check for writeToFile() (59c92a5)", it will now produce the consistency check for writeToFile(). Depending on your file layout, you may need to adjust your workflows, either by making use of the new git-based consistency check, or opting out of the consistency check by passing addConsistencyCheck = false

Full Changelog: v0.9.0...v0.10.0

0.9.0

26 Feb 19:31
Compare
Choose a tag to compare

⭐ Features

  • [#56] Add unique step ID
  • [#56] Add API to use step outputs (see usage in 0009280)
  • [#56] Add a helper for defining GitHub expressions (4648000)
  • Add @Deprecated annotations for deprecated action inputs (f9c43c1) (thanks @jmfayard!)
  • Add PullRequest.types (0908f39) (thanks @jmfayard!)
  • [#1] Fail if no jobs, triggers or steps are defined
  • [#1] Fail if duplicate job names are used
  • [#1] Fail if mutually exclusive properties are defined in Push, PullRequest, PullRequestTarget
  • Add wrappers for actions:
    • actions/cache@v2
    • docker/login-action@v1
    • docker/setup-buildx-action@v1
    • docker/build-push-action@v2
    • nobrayner/discord-webhook@v1

🛠️ Fixes

  • Unify order of arguments in Push trigger (2cb4318)

💣 Breaking changes

  • Unify order of arguments in Push trigger (2cb4318) - it's a breaking change only if you use positional arguments, not named arguments. It's generally recommended to use named arguments for the sake of better readability

0.8.0

16 Feb 11:06
Compare
Choose a tag to compare

⭐ Features

🛠️ Fixes

  • Allow specifying any string for "push" input in EndBug/add-and-commit@v2 (6e6f9a1) (thanks @jmfayard!)

💣 Breaking changes

  • the bugfix for "Allow specifying any string for "push" input in EndBug/add-and-commit@v2", the type of push field is now String

0.7.0

14 Feb 08:00
Compare
Choose a tag to compare

⭐ Features

  • #71: Generate action wrappers code
    From now on, you won't find hand-crafted action wrappers in the library - they are now generated based on action metadata file (action.yml). It makes adding new wrappers much simpler and boilerplate-free. From users' perspective, it provides KDoc documentation for all inputs, as provided by actions' authors. It also unlocks great possibilities, as e.g. changes to actions API will be easy to apply in batch to all wrappers (e. g. action outputs handling). Kudos to @jmfayard for supporting this effort, especially for preparing a PoC and showing me how to use kotlinpoet (Kotlin generation library) :)
  • Add wrapper for actions/setup-node@v2

🛠️ Fixes

  • #70: Incorrect YAML when value starts with *, [ or !

💣 Breaking changes

  • #71: Because the code is now generated, several breaking changes occurred. From what I remember when working on code generation:
    • CreateBranchV2 is now ActionCreateBranchV2 - the name is inferred straight from the action name (4a2f2ea)
    • in CheckoutV2, FetchDepth's concrete value is now passed with Value class instead of Quantity (a8bcdf1)
    • minor inconvenience: the order of arguments rendered to YAML for various actions may be different (e.g. for actions/setup-java@v2: 9e4b554)