Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.9.0 #2694

Merged
merged 1,176 commits into from
Nov 26, 2024
Merged

Release 2.9.0 #2694

merged 1,176 commits into from
Nov 26, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 26, 2024

Checklist

  1. Check if the version, base, and target branches are as you desire.
  2. Make sure you have woorelease installed and set up.
  3. Go to your local repo clone, and check out this PR to be able to commit any potential adjustments.
    git fetch origin release/2.9.0
    git checkout release/2.9.0
  4. Remove older changelog entries from readme.txt (keep the last two versions, since we will be adding a third during the release), commit changes.
  5. If there are new database migration classes (under src/DB/Migration/), modify their applicable version set in the get_applicable_version class of each migration class to be the same value as the version that is to be released.
    ⚠️ Notice that x.x.x is not a valid version and should be set manually with the new version. So, for example, if we are releasing version 1.12.0 and there is a file Migration20211228T1640692399.php inside src/DB/Migration/, you should open that file and in the method get_applicable_version return 1.12.0.
  6. ❗ If this release has updated composer packages, we should test Composer package conflicts with other plugins.
  7. Simulate the release locally
    woorelease simulate --product_version=2.9.0  --generate_changelog https://github.com/woocommerce/google-listings-and-ads/tree/release/2.9.0
    Note: Select y when prompted: "Would you like to add/delete them in the svn working copy?"
  8. The changelog is correct.
    Check if some entries are missing, need rewording, or need to be deleted. You can edit respective PRs by changing their title, ### Changelog entry section, or assigning the changelog: none label.
    You can also edit the changelog manually in the woorelease release step later.
  9. Automated tests are passing.
  10. Test the package
    1. Install the /tmp/google-listings-and-ads.zip file on a test site
    2. Confirm it activates without warnings/errors and is showing the right versions
    3. Run a few basic smoke tests

Next steps

  1. Do the final release
    woorelease release --product_version=2.9.0   --generate_changelog https://github.com/woocommerce/google-listings-and-ads/tree/release/2.9.0
    
    When prompted for changelog entries, double-check and apply any changes if needed.
  2. Confirm the release using the activation link from your email.
    When releasing to WordPress.org, “release notifications” have been enabled, so each committer will be sent an email with an action link to confirm the release. This must be done after committing in SVN before the release becomes available. See the following page for releases pending notifications: https://wordpress.org/plugins/developers/releases/
  3. Go to https://github.com/woocommerce/google-listings-and-ads/releases/2.9.0, generate GitHub release notes, and paste them as a comment here.
  4. Merge this PR after the new release is successfully created and the version tags are updated.
  5. Merge trunk to develop (PR), if applicable for this repo.
  6. Update documentation
    • Publish any new required docs
    • Update triggers/rules/actions listing pages
  7. Mark related ideas complete on the feature requests page.

puntope and others added 18 commits November 22, 2024 19:52
Tweak E2E tests supporting GTIN migration
Consolidate accounts onboarding: Prevent Google Ads account setup from trying to connect to an unclaimed and disconnected account ID
…e/2458-2459-2460-2509` branch."

This reverts commit e80472a.
Streamline onboarding, post-onboarding and campaign setup
Copy link

codecov bot commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 50.68285% with 325 lines in your changes missing coverage. Please review.

Project coverage is 65.1%. Comparing base (16df5ec) to head (727441b).

Files with missing lines Patch % Lines
src/Utility/WPCLIMigrationGTIN.php 0.0% 85 Missing ⚠️
...c/API/Site/Controllers/GTINMigrationController.php 50.9% 26 Missing ⚠️
...nts/gtin-migration-banner/gtin-migration-banner.js 34.3% 23 Missing ⚠️
...c/components/paid-ads/ads-campaign/ads-campaign.js 0.0% 18 Missing and 3 partials ⚠️
js/src/data/resolvers.js 17.4% 17 Missing and 2 partials ⚠️
...src/components/paid-ads/asset-group/asset-group.js 0.0% 13 Missing and 1 partial ⚠️
js/src/hooks/useGoogleMCAccount.js 11.1% 6 Missing and 2 partials ⚠️
js/src/pages/create-paid-ads-campaign/index.js 0.0% 6 Missing and 1 partial ⚠️
js/src/pages/edit-paid-ads-campaign/index.js 0.0% 6 Missing and 1 partial ⚠️
js/src/utils/getHighestBudget.js 0.0% 5 Missing and 2 partials ⚠️
... and 41 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             trunk   #2694     +/-   ##
=========================================
+ Coverage     64.9%   65.1%   +0.2%     
- Complexity    4596    4658     +62     
=========================================
  Files          793     812     +19     
  Lines        24342   24578    +236     
  Branches      1231    1254     +23     
=========================================
+ Hits         15790   15990    +200     
- Misses        8379    8416     +37     
+ Partials       173     172      -1     
Flag Coverage Δ
js-unit-tests 62.3% <52.6%> (-0.4%) ⬇️
php-unit-tests 65.8% <48.3%> (+0.3%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...nts/free-ad-credit/country-modal/country-amount.js 100.0% <ø> (ø)
...c/components/free-ad-credit/country-modal/index.js 16.7% <ø> (ø)
js/src/components/free-ad-credit/index.js 11.1% <ø> (ø)
...choose-audience-section/choose-audience-section.js 33.3% <ø> (+8.3%) ⬆️
...listings/configure-product-listings/checkErrors.js 100.0% <100.0%> (ø)
...gle-ads-account-card/connect-ads/connect-button.js 100.0% <100.0%> (ø)
...nents/google-ads-account-card/connect-ads/index.js 95.8% <100.0%> (-0.2%) ⬇️
...ents/google-ads-account-card/disconnect-account.js 100.0% <100.0%> (ø)
.../components/google-combo-account-card/constants.js 100.0% <100.0%> (ø)
js/src/components/main-tab-nav/main-tab-nav.js 90.0% <100.0%> (ø)
... and 77 more

... and 17 files with indirect coverage changes

@ianlin
Copy link
Member

ianlin commented Nov 26, 2024

What's Changed

[Add] New Features 🎉

[Update] Updated ✨

[Fix] Fixes 🛠

[Tweak] Tweaked 🔧

[Dev] Developer-facing changes 🧑‍💻

New Contributors

Full Changelog: 2.8.7...2.9.0

@ianlin ianlin merged commit 4523126 into trunk Nov 26, 2024
@ianlin ianlin deleted the release/2.9.0 branch November 26, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants