All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Handle publishing of packages not on Yarn Berry with NPM (#87)
- Only show packages in the dry run that need publishing (#90)
- Fix report script when publishing package with dash in organisation name (#85)
- Add missing configuration for non-default Slack channel messages (#81)
- Improve Dry Run Output (#64)
- The dry run step now includes a detailed report about the changes in each published package. It is stored as an artifact, and a link is shared in the logs of the "Dry Run Publish" step.
- Fix Slack announcement for public default channel (#73, #77)
- We have found that the Slack announcement does not work correctly for public channels when the
channel
parameter is given. The action has been updated to omit the default if no channel is specified, so that announcements to the default channel work correctly even if it is public. - This was originally published in v4.0.4, but this is the first v5.x release that includes this change.
- We have found that the Slack announcement does not work correctly for public channels when the
- Prevent workflow from failing if Slack announcement step fails (#69)
- Within the context of a project, the Slack announcement message that is posted after running this workflow in dry-run mode is not crucial, and thus this change ensures that the package will still be published for real if this step fails.
- BREAKING: Disallow publishing packages with version 0.0.0 (#63)
- Fix Yarn 4 compatibility (#65)
- Add missing configuration for non-default Slack channel messages (#81)
- Fix action validation error (#77)
- Fix Slack announcement for public default channel (#73)
- We have found that the Slack announcement does not work correctly for public channels when the
channel
parameter is given. The action has been updated to omit the default if no channel is specified, so that announcements to the default channel work correctly even if it is public.
- We have found that the Slack announcement does not work correctly for public channels when the
- Prevent workflow from failing if Slack announcement step fails (#69)
- Within the context of a project, the Slack announcement message that is posted after running this workflow in dry-run mode is not crucial, and thus this change ensures that the package will still be published for real if this step fails.
- Use tag to check latest package version (#51)
- Add new input to support customising the Slack channel (#40)
- BREAKING: Remove
target-name
option (#44)target-name
used to support tagging individuals in Slack announcements. This option has been replaced by asubteam
option just for teams; tagging individuals is no longer supported
- Fix functionality for subteams (#44)
- The
target-name
option was supposed to work for teams and individuals, but it didn't work for teams. It has been replaced by asubteam
option which only works for teams.
- The
- Only run final-text if slack-webhook-url is defined (#41)
- Add options for customising Slack announce message (#37)
- Use MetaMaskBot avatar for
icon_url
in Slack message (#36)
- Use Yarn rather than npm for package version comparison (#34)
- This improves compatibility for projects using custom registries
- Rename
YARN_NPM_TAG
toPUBLISH_NPM_TAG
(#32)- This fixes a bug in the previous release, due to environment variables starting with
YARN_
being reserved for Yarn settings.
- This fixes a bug in the previous release, due to environment variables starting with
- Add optional npm-tag parameter to action (#30)
- BREAKING: Restore Slack notification feature (#9, #22, #23, #24)
- The action depends upon
slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
. You may need to update repository or organization settings to allow this action to run.
- The action depends upon
- Revert Slack announce feature (#22)
- The Slack announce feature used the action
slackapi/slack-github-action
. This caused failures in repositories/organizations that use an Action allowlist, unless that action was explicitly allowed. This has been temporarily reverted so that we can properly document this requirement, and make it a breaking change.
- The Slack announce feature used the action
- Add support for Slack notification when release is pending approval (#9)
- BREAKING: Require Yarn v3 (#10)
- If your project is using NPM or Yarn v1, you will need to upgrade it to Yarn v3.
- If your package has a
prepack
script and is using thenode-modules
linker, you will need to ensure that the filenode_modules/.yarn-state.yml
is present before this action is invoked.
- Use Yarn for publishing rather than npm (#10)
- Add support for monorepos (#5)
- Add ability to execute in dry-run mode by omitting
npm-token
(#4)
- Initial release (#1)