Releases: typesafegithub/github-workflows-kt
0.45.0
⭐ Features
🛠️ Fixes
None.
💣 Breaking changes
- #807 enforce named arguments in main DSL functions - it will require you to add named arguments to several function calls, and won't result in changing the YAMLs
▶️ Actions
- update actions/labeler@v4
- update actions/setup-dotnet@v3
- update aws-actions/configure-aws-credentials@v2
Full Changelog: v0.44.0...v0.45.0
0.44.0
⭐ Features
None.
🛠️ Fixes
None.
💣 Breaking changes
- remove script-generator - it's likely going to come back in a separate repository under the same organization
▶️ Actions
- add entrostat/git-secret-action@v4
- add cachix/install-nix-action@v21
- update codecov/codecov-action@v3
- update actions/setup-dotnet@v3
Full Changelog: v0.43.0...v0.44.0
0.43.0
⭐ Features
- add merge_group trigger - thanks @Jan-Ove!
- allow specifying permissions for workflows and jobs - thanks @benkeil!
🛠️ Fixes
None.
💣 Breaking changes
- remove surplus overloads of 'uses' and 'run' - it simplifies the API and maintenance of the library. If you use named arguments, you don't need to adjust anything
▶️ Actions
- add ericcornelissen/svgo-action@v3
- add cycjimmy/semantic-release-action@v3 - thanks @benkeil!
- add superfly/flyctl-actions@v1 - thanks @madhead!
- update gradle-update/update-gradle-wrapper-action@v1
Docs
- docs: add feature coverage - available at https://typesafegithub.github.io/github-workflows-kt/feature-coverage/
Full Changelog: v0.42.0...v0.43.0
0.42.0
⭐ Features
None.
🛠️ Fixes
💣 Breaking changes
- single-quote all single-line strings - it will likely force you to regenerate your YAMLs
▶️ Actions
- add peter-evans/create-pull-request@v5
- update actions/github-script@v6
- update actions/setup-python@v4
- update codecov/codecov-action@v3
- update docker/metadata-action@v4
- update google-github-actions/auth@v1
Other
- the project got a logo!
- the YAML-to-Kotlin converter (aka. script-generator) is now hosted under https://github-workflows-kt.colman.com.br/ (thanks @LeoColman!) but in practice it's not yet usable. It's, however, an important step forward towards having this app online
Full Changelog: v0.41.0...v0.42.0
0.41.0
⭐ Features
- add possibility to use local actions conveniently (thanks @Vampire!)
- add possibility to use published Docker actions conveniently (thanks @Vampire!)
🛠️ Fixes
None.
💣 Breaking changes
- change Maven coordinates to io.github.typesafegithub:github-workflows-kt
- rename root Kotin package to io.github.typesafegithub.workflows
- move project to typesafegithub org - changes in the YAML preamble
- refactor usage of repository based actions to own Action subclass
▶️ Actions
Full Changelog: v0.40.0...v0.41.0
0.40.0
⭐ Features
None.
🛠️ Fixes
💣 Breaking changes
None.
▶️ Actions
- add actions/stale@v8
- update actions/cache@v3
- update actions/labeler@v4
- update aws-actions/amazon-ecr-login@v1
- update docker/setup-buildx-action@v2
- update ReactiveCircus/android-emulator-runner@v2
- update ruby/setup-ruby@v1
Full Changelog: v0.39.0...v0.40.0
0.39.0
⭐ Features
- [#693] enforce named arguments for actions - this is to forbid using positional arguments which can cause issues when an action gets an input in the middle of the class signature. Thanks to this change, action's usage is explicit with regards to the inputs, like in GitHub Actions workflow YAML
- add link to API docs - the API docs aren't yet great, especially because of their coverage, but the docs are now built and hosted so that they can be used and further improved
🛠️ Fixes
None.
💣 Breaking changes
- [#693] enforce named arguments for actions - you may need to adjust how you use the actions, otherwise a compilation error will occur
▶️ Actions
- docker/metadata-action@v4 (thanks @NikkyAI!)
- add actions/setup-go@v4
- aws-actions/configure-aws-credentials@v2
Other
Thanks @Vampire for various contributions around docs, especially enable automatic unindenting of snippets!
Full Changelog: v0.38.0...v0.39.0
0.38.0
⭐ Features
None.
🛠️ Fixes
None.
💣 Breaking changes
None.
▶️ Actions
Warning: the below changes may break your workflow code. Even though an action didn't get a new major version, using actions from Kotlin differs from how actions are used from YAML. If you don't use named arguments when passing inputs to actions, pay attention especially to the order of arguments. If you do use named arguments, you should be fine.
Full Changelog: v0.37.0...v0.38.0
0.37.0
⭐ Features
🛠️ Fixes
None.
💣 Breaking changes
- move base classes for actions to 'domain' + add custom outputs for all actions (thanks @Vampire!) - if you define your custom actions, you'll need to adjust their code a bit. See the updated docs
- allow inserting original preamble and trim whitespaces - breaking API adjustment for this pretty new feature
▶️ Actions
- add cachix/install-nix-action@v19
- add madhead/intellij-http-client-action@v231
- use typings provided by setup-msbuild@v1
- use typings provided by supercharge/mongodb-github-action@v1
Warning: the below changes may break your workflow code. Even though an action didn't get a new major version, using actions from Kotlin differs from how actions are used from YAML. If you don't use named arguments when passing inputs to actions, pay attention especially to the order of arguments. If you do use named arguments, you should be fine.
Full Changelog: v0.36.0...v0.37.0
0.36.0
⭐ Features
- support defining workflows not in Kotlin scripts (thanks @mfwgenerics!)
- allow setting custom YAML preamble (thanks @mfwgenerics!)
- make actions wrappers data classes
🛠️ Fixes
None.
💣 Breaking changes
- go back to using JRE 11 + set name for the YAML consistency check job - it will require you to regenerate your YAMLs because the consistency job check changes again. Sorry for the back-and-forth!
▶️ Actions
- add burrunan/gradle-cache-action@v1 (thanks @Vampire!)
- add actions/cache/restore@v3
- add actions/cache/save@v3
- add Vampire/setup-wsl@v2 (thanks @Vampire!)
- add docker/build-push-action@v4
- add krzema12/github-actions-typing@v1
Warning: the below changes may break your workflow code. Even though an action didn't get a new major version, using actions from Kotlin differs from how actions are used from YAML. If you don't use named arguments when passing inputs to actions, pay attention especially to the order of arguments. If you do use named arguments, you should be fine.
- update actions/cache@v3
- update GoogleCloudPlatform/github-actions@v1
- update google-github-actions/setup-gcloud@v1
Full Changelog: v0.35.0...v0.36.0