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 3.0.32 #2617

Closed
wants to merge 20 commits into from
Closed

Release 3.0.32 #2617

wants to merge 20 commits into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 15, 2023

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/3.0.32
    git checkout release/3.0.32
  4. Simulate the release locally
    ./bin/wr simulate --product_version=3.0.32 --generate_changelog https://github.com/woocommerce/facebook-for-woocommerce/tree/release/3.0.32
    Note: Select y when prompted: "Would you like to add/delete them in the svn working copy?"
  5. 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.
  6. Automated tests are passing.
  7. Test the package
    1. Install the /tmp/facebook-for-woocommerce.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
    php ./bin/wr release --product_version=3.0.32 --generate_changelog https://github.com/woocommerce/facebook-for-woocommerce/tree/release/3.0.32
    
    When prompted for changelog entries, double-check and apply any changes if needed.
  2. Go to https://github.com/woocommerce/facebook-for-woocommerce/releases/3.0.32, generate GitHub release notes, and paste them as a comment here.
  3. Merge this PR after the new release is successfully created and the version tags are updated.
  4. Merge trunk to develop (PR), if applicable for this repo.

After deploy

  1. Update documentation
    • Publish any new required docs
    • Update triggers/rules/actions listing pages
  2. Mark related ideas complete on ideas board
  3. Confirm the release deployed correctly to WPORG.
    • Ensure you can download and install the latest release from WPORG and WCCOM.
    • We've had an issue where the release tag (e.g. 2.6.1) wasn't present in the svn tags/ folder.
    • Troubleshooting processes when the release version doesn't exist in the svn tags/ folder:
      1. Check the version by Stable tag in https://plugins.svn.wordpress.org/facebook-for-woocommerce/trunk/readme.txt to see if the new release is committed to trunk
      2. If the above version is the same as the one just released, then you can make up the missed version tag by svn cp https://plugins.svn.wordpress.org/facebook-for-woocommerce/trunk https://plugins.svn.wordpress.org/facebook-for-woocommerce/tags/X.X.X -m "Tagging version X.X.X". Please note that the X.X.X is used as a placeholder but should be replaced with the actual release version (e.g., 1.5.0).
      3. Wait for a while, and the zip file should be able to download from: https://downloads.wordpress.org/plugin/facebook-for-woocommerce.x.x.x.zip
  4. Close the release milestone.
  5. Publish any documentation updates relating to the release:

@krutidugade
Copy link
Contributor

krutidugade commented Aug 15, 2023

Tests

  • Install and activate the plugin with WooCommerce de-activated.
  • Install and activate the plugin with WooCommerce activated.

Connect to Facebook Business Account

Prerequisites

  • Facebook is not connected.

Tests

  • Business account details are shown after connecting to Facebook and aren't empty.
  • Catalog Name link is present and links to Facebook Catalog.

Product sync

Tests

  • Clicking "Sync products" syncs products to Facebook Catalog.
  • Excluding a Category will exclude products from the category being synced to Facebook Catalog and show the popup.
  • New products added to the excluded Category aren't synced to Facebook Catalog and the message is shown.

New Simple Product

Tests

  • Adding new Simple Product should sync the product to Facebook.
  • Adding new Simple Product to Facebook Product sync excluded Category should show a message.

New Variable Product

Tests

  • Adding new Variable Product with attributes should sync to Facebook.

Simple Product

Prerequisites

  • A Simple Product synced to Facebook Catalog.
  • Go to WooCommerce > Settings > Products > Inventory, enable "Hide out of stock items from the catalog" and Save changes.

Tests

  • Edited the product name and description will sync to Facebook Catalog.
  • Edited product price will sync to Facebook Catalog.
  • Facebook price will sync to Facebook Catalog and overwrite the regular price.
  • Zero stock quantity should remove a product from Facebook Catalog.
  • Positive stock quantity should put the product back to Facebook Catalog.
  • 'Do not sync' a product and confirm it is removed from Facebook Catalog (after clicking the correct option on the popup).

Simple Virtual Product

Tests

  • Sync virtual product will sync and hide the product on Facebook.

Variable Product

Prerequisites

  • Facebook synced Variable Product.

Tests

  • Adding product variations from multiple product attributes should sync to Facebook.
  • Managing stock for a variation and setting stock quantity to zero should remove the product from Facebook.
  • [FAILING] Managing stock for a variation and setting stock quantity to a positive non-zero value should add the product variation to Facebook Catalog Items.
  • Managing stock for variable product at product level should remove the product and all its variations from Facebook.
  • [FAILING] Managing stock for variable product at product level with a positive Stock quantity should add an out of stock product back into Facebook Catalog.

Product Set

Prerequisites

  • A Category with products synced to Facebook.
  • A Category with products not synced to Facebook.
  • A Category with products either synced, partially synced or not synced to Facebook.

Tests

  • Facebook Set from a Category syncs to Facebook.
  • Facebook Set from excluded Category does not sync to Facebook.
  • [FAILING] Facebook Set from a Category with no products synced to Facebook. (Known issue that no longer seems to appear)

Messenger

Tests

  • Enable Messenger and confirm the chat widget loads.
  • Disable Messenger and confirm no chat widget present.

Product Feed

Prerequisites

  • At least one product synced to Facebook with a status of Sync and show or Sync and hide.

Tests

  • Check Product feed file exists.
  • Check Product Feed has all the products synced to Facebook.
  • Update one of the products and check the changes populated to the feed file.

@ibndawood
Copy link
Contributor

Closing this PR because of #2618. We'll create another release.

@ibndawood ibndawood closed this Aug 16, 2023
@ibndawood ibndawood deleted the release/3.0.32 branch August 16, 2023 12:45
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.

4 participants