Skip to content

Latest commit

 

History

History
158 lines (126 loc) · 9.15 KB

CHANGELOG.md

File metadata and controls

158 lines (126 loc) · 9.15 KB

Changelog

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.

Added

  • Handle publishing of packages not on Yarn Berry with NPM (#87)

Changed

  • Only show packages in the dry run that need publishing (#90)

Fixed

  • Fix report script for unpublished packages (#93)
  • Recognize NPM_TOKEN environment variable (#87)

Fixed

  • Fix report script when publishing package with dash in organisation name (#85)

Fixed

  • Add missing configuration for non-default Slack channel messages (#81)

Added

  • 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.

Fixed

  • 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.

Fixed

  • 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.

Changed

  • BREAKING: Disallow publishing packages with version 0.0.0 (#63)

Fixed

  • Fix Yarn 4 compatibility (#65)

Fixed

  • Add missing configuration for non-default Slack channel messages (#81)

Fixed

  • Fix action validation error (#77)

Fixed

  • 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.

Fixed

  • 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.

Changed

  • Use tag to check latest package version (#51)

Added

  • Add new input to support customising the Slack channel (#40)

Removed

  • BREAKING: Remove target-name option (#44)
    • target-name used to support tagging individuals in Slack announcements. This option has been replaced by a subteam option just for teams; tagging individuals is no longer supported

Fixed

  • 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 a subteam option which only works for teams.
  • Only run final-text if slack-webhook-url is defined (#41)

Added

  • Add options for customising Slack announce message (#37)
  • Use MetaMaskBot avatar for icon_url in Slack message (#36)

Changed

  • Use Yarn rather than npm for package version comparison (#34)
    • This improves compatibility for projects using custom registries

Fixed

  • Rename YARN_NPM_TAG to PUBLISH_NPM_TAG (#32)
    • This fixes a bug in the previous release, due to environment variables starting with YARN_ being reserved for Yarn settings.

Added

  • Add optional npm-tag parameter to action (#30)

Changed

  • 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.

Fixed

  • 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.

Added

  • Add support for Slack notification when release is pending approval (#9)

Changed

  • 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 the node-modules linker, you will need to ensure that the file node_modules/.yarn-state.yml is present before this action is invoked.
  • Use Yarn for publishing rather than npm (#10)

Added

  • Add support for monorepos (#5)

Added

  • Add ability to execute in dry-run mode by omitting npm-token (#4)

Changed

  • Initial release (#1)