Skip to content

Latest commit

 

History

History
450 lines (282 loc) · 22.1 KB

CHANGELOG.md

File metadata and controls

450 lines (282 loc) · 22.1 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.

Changed

  • Support multiple comma- or newline-separated repositories in the get-token action's target-repository input (#354)

Added

  • Add a skip-if-tag-exists input to the update-release-changelog action, defaulting to true (#351)
    • When the release tag (v<version>, derived from a release/X.Y.Z or release/X.Y.Z-ota branch name) already exists, the action skips the update and finishes successfully, instead of failing in auto-changelog with "Current version already has a tag". Pushes that land after tagging, such as the merge of the changelog PR or a merge of stable, no longer cause failed runs.
    • The skip is reported in the job summary, with the number of commits on the branch after the tag.
    • The skip applies whenever the tag exists, including a release that is not the most recent one. auto-changelog only rejected the most recent tag, so pushes to an older tagged release branch are now skipped too.
    • The check runs before the repository checkout, uses one GitHub API call, and falls back to running the update if the tag cannot be checked.
    • Set skip-if-tag-exists: 'false' to keep the previous behaviour.

Added

  • Comment on the pull request when the publish-preview-oidc workflow fails (#349)

Changed

  • Publish tarballs packed in the build job in the publish-preview-oidc workflow, instead of the workspace (#348)
    • The publish job no longer checks out the repository or runs Yarn. It publishes the tarballs with npm publish, after checking that each package is in the preview scope and has a preview version.
    • Add a pack input to the prepare-preview workflow, to upload the tarballs instead of the workspace.

Added

  • Add packages and only-changed-packages inputs to the publish-preview-oidc workflow, to publish a subset of the packages in a monorepo (#346)
    • packages takes a comma-separated list of package names. Names without a scope get the source scope, e.g., foo becomes @metamask/foo.
    • only-changed-packages publishes only the packages changed compared to the base branch of the pull request, or the default branch.
    • All packages are still built.

Fixed

  • Enable Corepack before the Yarn cache setup in the flaky-test-report, post-merge-validation, playwright-test-health-report and publish-slack-release-testing-status actions (#342, #343)
    • The cache setup ran with Yarn 1, which refuses a package.json that declares yarn@4.18.1.
  • Continue publishing the remaining packages in the publish-preview-oidc workflow when one package fails, and list the failed packages in the preview build message (#344)

Changed

  • merge-approved-pr only merges when a release-team member approved the current head commit, and the head branch is in the same repository (#324)
    • An approval of an earlier commit no longer counts after new commits are pushed, and heads from forks are refused.
    • The merge is pinned to the verified head commit, so GitHub refuses it if the branch moves during the run.
  • merge-approved-pr with verify-version-bump: true accepts the Mobile native version fields (#324)
    • versionName in android/app/build.gradle and MARKETING_VERSION in ios/MetaMask.xcodeproj/project.pbxproj may change alongside package.json, to the same version. Nothing else may change.

Fixed

  • Fall back to the team-bots label in add-team-label for bot authors missing from topology.json (#327)
  • Point the [Unreleased] changelog link at a restored release in merge-previous-releases (#326)
    • When the merge restores a release newer than the one the [Unreleased] compare link starts from, the link now starts from the restored release.

Changed

  • Support dispatching previews by pull request or branch in publish-preview-oidc workflow (#323)

Added

  • Add create-signed-commit composite action (#320)
  • Add publish-preview-oidc, an OIDC variant of the publish-preview workflow (#311)

Changed

  • Count the earlier release's open changelog PR before update-release-changelog warns about left-out PRs (#309)
    • A PR that the earlier release branch cherry-picked is no longer reported as missing when the earlier release's open changelog PR already lists it.
  • Warn in the changelog PR when restoring from the baseline drops entries that the release branch lists under earlier releases (#309)
    • An entry counts as kept when the restored version lists any of its PRs, so rewording is not reported.
  • Remove generated "left out" and "dropped entries" warnings from an open changelog PR body once they no longer hold (#309)
    • Only whole lines that match a generated warning are removed; text a reviewer added stays.
  • Stop update-release-changelog quietly, instead of failing, when the release branch moved during generation and the push that moved it started its own run (#309)
    • That run publishes the changelog for the new tip. If no such run is found, the run still fails as before.
  • Update the changelog proofreader model from gpt-5.6-terra to gpt-6.1-terra (#309)

Fixed

  • Leave PRs already cherry-picked onto the baseline release out of the generated section in update-release-changelog (#307)
    • While the new release has no section of its own on the release branch, a PR whose cherry-pick is already on the older release's branch is not listed again, even if the older changelog is stale.
    • Entries a reviewer already approved in the open changelog PR are kept, and an entry that also lists another PR is kept.
    • The log and the changelog PR body warn about any left-out PR that the older release's changelog does not list.
  • Restore the executable bit on .github/scripts/update-release-changelog.sh, which #303 dropped (#307)

Added

  • Add an AI changelog proofreader to update-release-changelog (#301)
    • It runs when AI_ANALYZER_LITELLM_KEY is set in the calling workflow's environment.
    • If it fails or no key is set, the changelog PR is still opened, with the title suffix "AI automation failed, not proofread".

Changed

  • Rebuild release changelogs deterministically from a predecessor release baseline in update-release-changelog (#303)
    • Updater commits record the release commit they cover in a Changelog-Generated-Through trailer.
    • .github/scripts/update-release-changelog.sh now forwards to the new updater, so existing callers keep working.
    • The previous-version-ref input is no longer used and can be removed from callers.
  • Preserve finalized changelog history when merge-previous-releases merges older release branches (#300)

Added

  • feat: add draft-segment-schema-pr action (#294)

Added

  • feat(MMQA-1951): add new action to download segment analytics contracts (#296)

Changed

  • Tag QA team in feature flag drift Slack notification (#289)

Fixed

  • Fix publish-preview workflow to target only workspaces when adding resolutions (#290)
  • Include src in preview build artifacts in publish-preview workflow (#291)

Fixed

  • Count changed lines in pr-line-check from the pull request files API, so the count always reflects the pull request's current base branch (#273)
  • Fix merge-previous-releases creating duplicate content when git auto-merges identical changes from both branches (#283)

Fixed

  • Include .yarn/patches in publish-preview build artifacts (#284)
  • Restrict merge-previous-releases to older branches that still have an open/draft release PR targeting stable, instead of every older release/* branch (#282)

Changed

  • Bump @metamask/auto-changelog to ^6.2.0 (#279, #281)

Fixed

  • Prefer manually added team labels (or external-contributor) over topology lookup in add-team-label (#272)
  • pass github-token to primary checkout in stable-sync action (#276)
  • normalize Slack blob links in Playwright test health report (#274)
  • removed schedule trigger from post-relay-subsidy-balance (#271)

Changed

  • chore: Remove bitrise.yml dependency and source mobile version from build.gradle/pbxproj instead (#269)

Added

  • Add update-major-version-tag reusable composite action (#267)
    • This action can be used to update the major version tag (e.g., v1) for repositories containing GitHub Actions.

Added

  • Support OTA branches in release-branch-sync action (#263)
  • Add playwright-test-health-report action for creating reports for Playwright tests, and posting to Slack (#262)

Fixed

  • Allow release-branch-sync action to reuse branch (#264)

Added

  • Add rename-after-install-and-build input to the publish-preview reusable workflow (#254)
    • When set to true, the workflow installs dependencies and runs the build before renaming workspace manifests to the preview NPM scope. This ensures snap artifacts (e.g. dist/bundle.js, snap.manifest.json and its source.shasum) are produced with the original @metamask/... package name.
    • Defaults to false to preserve existing behavior for non-snap consumers.
  • Add BUILD_ENV secret input to the publish-preview reusable workflow
    • Accepts a JSON object of environment variables that will be passed to the build step (e.g. '{"API_URL":"https://...","LOG_LEVEL":"all"}'). Useful when the build command needs additional configuration or secret values to produce a valid preview build.

Changed

  • Bump actionlint from 1.7.7 to 1.7.12 in the lint-workflows workflow (#259)

Added

  • Add optional planning-token to add-team-label action (#257)

Added

  • Add get-token action to get short-lived access token using OIDC (#255)

Fixed

  • fix: drop deleted bitrise.yml from stable-sync preserve list (#251)
  • ci: fix the announce-release Slack post (#250)

Fixed

  • fix: fix release-branch-sync failure when there are too many open PRs more recent than the release PR (#247)

Changed

  • chore: bump Yarn to 4.14.1 (#244)

Changed

  • chore: use single header row for post merge spreadsheet (#242)

Changed

  • ci: update all actions to their newest versions to solve "Node.js 20 actions are deprecated" (#234)
  • test: multi label + update title (#233)
  • test: MMQA-1609 - feature flag registry slack notification and create PR (#229)
  • Auto-skip release validation columns from PR labels on main release tabs (#231)

Added

  • Add reusable publish-preview workflow for publishing preview builds (#223, #227)

Fixed

  • fix: resolve merge-approved-pr action path for cross-repo workflow calls (#224)

Changed

  • chore: get latest ruby versions and sets the default ruby version to 3.2.9 (#220)
  • Improve merge-approved-pr action with merge-method and verify-version-bump inputs, and harden bash inputs as env vars (#201)

Changed

  • Rename changelog branches to release-changelog/${version} (#217)

Added

  • Add workflow post-relay-subsidy-balance to post Relay subsidy balance reports to Slack (#211)

Changed

  • chore: removes restore-keys from yarn install to prevent cache pollution (#213)
  • feat: updated replay balance tracker workflow to run at 11:53 and 23:53 (#212)

Fixed

  • fix: create_pr_if_not_exists check for closed/merged branches too (#208)

Changed

  • add refactor items to release tracker (#209)

Changed

  • add chore items to release tracker (#206)

Fixed

  • fix: consolidate release scripts and shared git utilities (#195)

Fixed

  • Remove need for fetching repository by using GitHub API in skip merge queue check (#204)

Fixed

  • Replace CocoaPods specs cache with Pods cache to prevent stale trunk errors in setup-e2e-env action (#202)

Changed

  • Updated setup-e2e-env action for iOS builds by adding CocoaPods specs caching and enabling Yarn global cache (#197)

Added

  • Add action which determines if the merge queue can be safely skipped (#191)

Added

  • Created workflow release-branch-sync to sync release, stable branches in (#189)
  • Create workflow merge-previous-releases to automate Merging old release branches into new release branches workflow in (#186)

Fixed

  • Checkout GitHub tools using ref instead of main branch in flaky-test-report and update-release-changelog actions (#184)

Fixed

  • Prevent changelog PR creation when branches are in sync (#177)

Added

  • Adds ability to merge Version Bump PRs with PR comment (#179)

Changed

  • Update to use topology.json instead of old teams.json for commits.csv during create release pr (#180)

Added

  • Add merging GitHub action (#172)

Changed

  • Bump @metamask/auto-changelog from ^5.1.0 to ^5.2.0 (#175)
    • Adds deduplication for commits with no PR number in subject (non-"Squash & Merge" commits)
    • Merge commits are now deduplicated using commit body instead of the generic merge subject

Added

  • Initial release of github-tools (#174)
    • github-tools was previously used by referencing commit hashes, but this is no longer recommended.

Changed

  • BREAKING: Migrate all reusable workflows to composite actions (#164, #166, #167, #168, #169)
    • All actions are now in the .github/actions folder.
    • Instead of passing secrets, actions now use inputs for things like tokens.
    • The github-tools-version input of some workflows was removed, since the actions can now determine which version to use automatically.
    • Some inputs were renamed for consistency across actions.
  • Bump actions/checkout and actions/setup-node to v6 (#173)