Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 10up/autoshare-for-twitter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.0
Choose a base ref
...
head repository: 10up/autoshare-for-twitter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: trunk
Choose a head ref

Commits on May 16, 2023

  1. Copy the full SHA
    bde3369 View commit details

Commits on May 30, 2023

  1. Copy the full SHA
    479f505 View commit details

Commits on Jul 6, 2023

  1. Copy the full SHA
    bbd7bd7 View commit details

Commits on Jul 10, 2023

  1. Merge pull request #252 from 10up/tweak/release-date

    Update release date of 2.1.0
    jeffpaul authored Jul 10, 2023
    Copy the full SHA
    2c6b5be View commit details

Commits on Jul 14, 2023

  1. Fix setup instructions.

    iamdharmesh committed Jul 14, 2023
    Copy the full SHA
    867a243 View commit details
  2. Copy the full SHA
    c68f98b View commit details
  3. Merge pull request #255 from 10up/enhancement/253

    Improved setup Instructions and error handing
    jeffpaul authored Jul 14, 2023
    Copy the full SHA
    c8223a1 View commit details

Commits on Jul 20, 2023

  1. Bump word-wrap from 1.2.3 to 1.2.4

    Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
    - [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
    - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)
    
    ---
    updated-dependencies:
    - dependency-name: word-wrap
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jul 20, 2023
    Copy the full SHA
    6fb5255 View commit details
  2. Copy the full SHA
    5fd1494 View commit details
  3. Copy the full SHA
    81f3aea View commit details

Commits on Jul 28, 2023

  1. Copy the full SHA
    e30968c View commit details
  2. Merge pull request #258 from 10up/fix/256-php-ver-check

    Add PHP version check for plugin.
    iamdharmesh authored Jul 28, 2023
    Copy the full SHA
    b6ce9d8 View commit details

Commits on Aug 4, 2023

  1. Update and rename .github/workflows/wordpress-latest.yml to .github/w…

    …orkflows/.github/workflows/wordpress-version-checker.yml
    jeffpaul authored Aug 4, 2023
    Copy the full SHA
    aaad2d3 View commit details
  2. Copy the full SHA
    1e933a6 View commit details
  3. Update .distignore

    jeffpaul authored Aug 4, 2023
    Copy the full SHA
    5e266c2 View commit details
  4. Rename .github/workflows/.github/workflows/wordpress-version-checker.…

    …yml to .github/workflows/wordpress-version-checker.yml
    jeffpaul authored Aug 4, 2023
    Copy the full SHA
    c8c5f51 View commit details

Commits on Aug 11, 2023

  1. Copy the full SHA
    643a747 View commit details
  2. Run E2E on every PR.

    iamdharmesh committed Aug 11, 2023
    Copy the full SHA
    e500730 View commit details
  3. Fix WP 6.3 issue.

    iamdharmesh committed Aug 11, 2023
    Copy the full SHA
    6754b54 View commit details
  4. Copy the full SHA
    45ff706 View commit details
  5. Copy the full SHA
    5d8fb1e View commit details
  6. Merge pull request #264 from 10up/fix/260

    Fix failing E2E tests on `trunk`
    iamdharmesh authored Aug 11, 2023
    Copy the full SHA
    08d3424 View commit details
  7. Bump tough-cookie and @cypress/request

    Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) and [@cypress/request](https://github.com/cypress-io/request). These dependencies needed to be updated together.
    
    Updates `tough-cookie` from 2.5.0 to 4.1.3
    - [Release notes](https://github.com/salesforce/tough-cookie/releases)
    - [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
    - [Commits](salesforce/tough-cookie@v2.5.0...v4.1.3)
    
    Updates `@cypress/request` from 2.88.10 to 2.88.12
    - [Release notes](https://github.com/cypress-io/request/releases)
    - [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md)
    - [Commits](cypress-io/request@v2.88.10...v2.88.12)
    
    ---
    updated-dependencies:
    - dependency-name: tough-cookie
      dependency-type: indirect
    - dependency-name: "@cypress/request"
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 11, 2023
    Copy the full SHA
    5314eba View commit details
  8. Copy the full SHA
    9ebc3c4 View commit details
  9. Copy the full SHA
    6472e21 View commit details
  10. Copy the full SHA
    f39ab6c View commit details
  11. Merge pull request #266 from 10up/dependabot/npm_and_yarn/tough-cooki…

    …e-and-cypress/request-4.1.3
    
    Bump tough-cookie and @cypress/request
    iamdharmesh authored Aug 11, 2023
    Copy the full SHA
    e9b11a7 View commit details
  12. Copy the full SHA
    f353b2b View commit details
  13. Merge pull request #265 from 10up/upkeep/261

    Bump WordPress "tested up to" version 6.3
    jeffpaul authored Aug 11, 2023
    Copy the full SHA
    b4f6949 View commit details

Commits on Aug 15, 2023

  1. Copy the full SHA
    a06c49b View commit details
  2. Add e2e tests.

    iamdharmesh committed Aug 15, 2023
    Copy the full SHA
    fe15e5c View commit details
  3. Copy the full SHA
    ea4d5b9 View commit details

Commits on Aug 17, 2023

  1. Merge pull request #267 from 10up/fix/263

    Fixed custom tweet message to make it work with scheduled posts.
    iamdharmesh authored Aug 17, 2023
    Copy the full SHA
    4413830 View commit details

Commits on Aug 18, 2023

  1. Copy the full SHA
    67cb822 View commit details
  2. Copy the full SHA
    de4509a View commit details
  3. Merge pull request #269 from 10up/fix/classic-editor

    Fixed connected Twitter accounts visibility in the classic editor.
    iamdharmesh authored Aug 18, 2023
    Copy the full SHA
    f8e6380 View commit details
  4. Bump version to 2.1.1

    iamdharmesh committed Aug 18, 2023
    Copy the full SHA
    fa22c11 View commit details
  5. Added changelog.

    iamdharmesh committed Aug 18, 2023
    Copy the full SHA
    3ab4d39 View commit details
  6. Updated credits.md

    iamdharmesh committed Aug 18, 2023
    Copy the full SHA
    2796945 View commit details
  7. Fixed typos.

    iamdharmesh committed Aug 18, 2023
    Copy the full SHA
    05a9d8f View commit details
  8. Update CHANGELOG.md

    jeffpaul authored Aug 18, 2023
    Copy the full SHA
    796408a View commit details
  9. Update readme.txt

    jeffpaul authored Aug 18, 2023
    Copy the full SHA
    7adae67 View commit details

Commits on Aug 22, 2023

  1. Merge pull request #270 from 10up/release/2.1.1

    Release/2.1.1
    iamdharmesh authored Aug 22, 2023
    Copy the full SHA
    818c8cb View commit details
  2. Copy the full SHA
    8ff263b View commit details
  3. Update release date.

    iamdharmesh committed Aug 22, 2023
    Copy the full SHA
    b0c047f View commit details
  4. Merge pull request #272 from 10up/release-date

    Update release date of 2.1.1
    iamdharmesh authored Aug 22, 2023
    Copy the full SHA
    003c164 View commit details

Commits on Aug 23, 2023

  1. Copy the full SHA
    bad951a View commit details

Commits on Aug 25, 2023

  1. Copy the full SHA
    1c10981 View commit details

Commits on Aug 28, 2023

  1. Merge pull request #277 from 10up/fix/276

    Fixed Twitter accounts visibility in the classic editor.
    iamdharmesh authored Aug 28, 2023
    Copy the full SHA
    c2a20e6 View commit details
  2. Copy the full SHA
    beb6c37 View commit details
Showing with 17,149 additions and 23,802 deletions.
  1. +0 −3 .babelrc
  2. +1 −8 .distignore
  3. +2 −2 .github/CODEOWNERS
  4. +2 −4 .github/workflows/build-release-zip.yml
  5. +18 −12 .github/workflows/{no-response.yml → close-stale-issues.yml}
  6. +2 −6 .github/workflows/cypress.yml
  7. +2 −6 .github/workflows/deploy-to-wpdotorg.yml
  8. +1 −1 .github/workflows/eslint.yml
  9. +13 −3 .github/workflows/{pr-automator.yml → repo-automator.yml}
  10. +0 −1 .github/workflows/update-wpdororg-assets.yml
  11. +4 −1 .github/workflows/{wordpress-latest.yml → wordpress-version-checker.yml}
  12. +1 −1 .nvmrc
  13. BIN .wordpress-org/banner-1544x500.png
  14. BIN .wordpress-org/banner-772x250.png
  15. BIN .wordpress-org/icon-128x128.png
  16. BIN .wordpress-org/icon-256x256.png
  17. +26 −21 .wordpress-org/icon.svg
  18. BIN .wordpress-org/screenshot-1.png
  19. BIN .wordpress-org/screenshot-2.png
  20. BIN .wordpress-org/screenshot-3.gif
  21. BIN .wordpress-org/screenshot-4.png
  22. +3 −0 .wordpress-version-checker.json
  23. +63 −1 CHANGELOG.md
  24. +5 −1 CONTRIBUTING.md
  25. +7 −1 CREDITS.md
  26. +25 −25 README.md
  27. +13 −0 assets/css/admin-autoshare-for-twitter-settings.css
  28. +15 −14 assets/css/admin-autoshare-for-twitter.css
  29. +0 −5 assets/images/twitter_blue.svg
  30. +0 −5 assets/images/twitter_default.svg
  31. +0 −5 assets/images/twitter_disabled.svg
  32. +0 −5 assets/images/twitter_enabled.svg
  33. +0 −5 assets/images/twitter_failed.svg
  34. +0 −5 assets/images/twitter_tweeted.svg
  35. +9 −0 assets/images/x_blue.svg
  36. +9 −0 assets/images/x_default.svg
  37. +9 −0 assets/images/x_disabled.svg
  38. +9 −0 assets/images/x_enabled.svg
  39. +6 −0 assets/images/x_failed.svg
  40. +9 −0 assets/images/x_tweeted.svg
  41. +144 −94 assets/js/admin-autoshare-for-twitter-classic-editor.js
  42. +51 −4 autoshare-for-twitter.php
  43. +3 −3 composer.json
  44. +9 −10 composer.lock
  45. +22 −39 includes/admin/assets.php
  46. +33 −29 includes/admin/post-meta.php
  47. +8 −0 includes/admin/post-transition.php
  48. +22 −24 includes/admin/settings.php
  49. +3 −3 includes/class-ast-staging.php
  50. +4 −4 includes/class-twitter-accounts-list-table.php
  51. +3 −3 includes/class-twitter-accounts.php
  52. +4 −8 includes/class-twitter-api.php
  53. +6 −6 includes/core.php
  54. +3 −3 includes/rest.php
  55. +63 −22 includes/utils.php
  56. +15,766 −22,922 package-lock.json
  57. +16 −29 package.json
  58. +57 −167 readme.txt
  59. +70 −13 src/js/AutoshareForTwitterPostStatusInfo.js
  60. +23 −8 src/js/AutoshareForTwitterPrePublishPanel.js
  61. +64 −0 src/js/components/PluginIcon.js
  62. +45 −22 src/js/components/StatusLogs.js
  63. +60 −13 src/js/components/TweetTextField.js
  64. +16 −15 src/js/components/TwitterAccounts.js
  65. +0 −3 src/js/externals/api-fetch.js
  66. +40 −8 src/js/hooks/index.js
  67. +45 −15 src/js/index.js
  68. +2 −1 src/js/store/constants.js
  69. +6 −5 src/js/store/reducer.js
  70. +3 −7 src/js/utils.js
  71. +2 −2 tests/bin/initialize.sh
  72. +1 −1 tests/bin/set-wp-config.js
  73. +5 −2 tests/cypress/cypress.config.js
  74. +10 −2 tests/cypress/e2e/admin.test.js
  75. +46 −11 tests/cypress/e2e/block-editor.test.js
  76. +55 −18 tests/cypress/e2e/classic-editor.test.js
  77. +6 −2 tests/cypress/e2e/disconnect.test.js
  78. +6 −2 tests/cypress/e2e/mutli-accounts.test.js
  79. +114 −71 tests/cypress/support/commands.js
  80. +0 −6 tests/cypress/support/e2e.js
  81. +5 −5 tests/phpunit/integration/TestPostMeta.php
  82. +46 −0 tests/phpunit/integration/TestPublish_Tweet.php
  83. +1 −1 tests/phpunit/integration/TestRest.php
  84. +1 −1 tests/test-plugin/e2e-test-plugin.php
  85. +6 −16 webpack.config.js
  86. +0 −41 webpack.gutenberg.config.js
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

9 changes: 1 addition & 8 deletions .distignore
Original file line number Diff line number Diff line change
@@ -9,11 +9,7 @@
# DO NOT EXCLUDE /vendor

# Files
.babelrc
.distignore
.eslintignore
.eslintrc.json
.gitignore
.*
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json
@@ -27,6 +23,3 @@ phpcs.xml
phpunit.xml
README.md
webpack.config.js
webpack.gutenberg.config.js
.wp-env.json
.nvmrc
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# These owners will be the default owners for everything in the repo. Unless a later match takes precedence, @iamdharmesh, as primary maintainer will be requested for review when someone opens a Pull Request.
* @iamdharmesh
# These owners will be the default owners for everything in the repo. Unless a later match takes precedence, @jeffpaul and @dkotter, as primary maintainers will be requested for review when someone opens a Pull Request.
* @jeffpaul @dkotter

# GitHub and WordPress.org specifics
/.github/ @jeffpaul
6 changes: 2 additions & 4 deletions .github/workflows/build-release-zip.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ jobs:
- name: Setup node version and npm cache
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Node dependencies
@@ -53,9 +53,7 @@ jobs:
run: composer install --no-dev

- name: Build plugin
run: |
npm run build
npm run build:externals
run: npm run build

- name: Generate ZIP file
uses: 10up/action-wordpress-plugin-build-zip@stable
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
name: No Response
name: 'Close stale issues'

# **What it does**: Closes issues where the original author doesn't respond to a request for information.
# **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded.
# **Who does it impact**: Everyone that works on docs or docs-internal.

on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'
# Schedule for every day at 1:30am UTC
- cron: '30 1 * * *'

permissions:
issues: write

jobs:
noResponse:
stale:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
- uses: actions/stale@v9
with:
token: ${{ github.token }}
daysUntilClose: 14 # Number of days of inactivity before an Issue is closed for lack of response
responseRequiredLabel: "needs:feedback" # Label indicating that a response from the original author is required
closeComment: >
days-before-stale: 7
days-before-close: 7
stale-issue-message: >
It has been 7 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 7 days, but if you have more information to add then please comment and the issue will stay open.
close-issue-message: >
This issue has been automatically closed because there has been no response
to our request for more information. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further. See [this blog post on bug reports and the
importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/)
for more information about the kind of information that may be helpful.
stale-issue-label: 'stale'
close-issue-reason: 'not_planned'
any-of-labels: 'needs:feedback'
remove-stale-when-updated: true

8 changes: 2 additions & 6 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -8,10 +8,6 @@ on:
pull_request:
branches:
- develop
paths:
- '**.js'
- '**.php'
- '**.css'

jobs:
build:
@@ -33,7 +29,7 @@ jobs:
uses: actions/checkout@v3

- name: Download build zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}
path: ${{ github.event.repository.name }}
@@ -76,7 +72,7 @@ jobs:
cat ./tests/cypress/reports/mochawesome.md >> $GITHUB_STEP_SUMMARY
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-artifact-autoshare-for-twitter
8 changes: 2 additions & 6 deletions .github/workflows/deploy-to-wpdotorg.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ jobs:
run: |
npm install
npm run build
npm run build:externals
composer install -o --no-dev --ignore-platform-reqs
- name: WordPress Plugin Deploy
id: deploy
@@ -24,11 +23,8 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
- name: Upload release asset
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
files: ${{github.workspace}}/${{ github.event.repository.name }}.zip
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -23,4 +23,4 @@ jobs:
- name: npm install
run: npm install
- name: Run eslint
run: npm run lint
run: npm run lint:js
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: 'PR Automator'
name: 'Repo Automator'
on:
issues:
types:
- opened
push:
branches:
- develop
pull_request:
types:
- opened
- edited
- synchronize
- converted_to_draft
- ready_for_review
branches:
@@ -13,10 +20,13 @@ jobs:
Validate:
runs-on: ubuntu-latest
steps:
- uses: 10up/action-pr-automator@trunk
- uses: 10up/action-repo-automator@trunk
with:
fail-label: needs:feedback
pass-label: needs:code-review
reviewer: iamdharmesh
conflict-label: needs:refresh
reviewers: |
iamdharmesh
team:open-source-practice
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .github/workflows/update-wpdororg-assets.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ jobs:
run: |
npm install
npm run build
npm run build:externals
composer install -o --no-dev --ignore-platform-reqs
- name: WordPress.org plugin asset/readme update
uses: 10up/action-wordpress-plugin-asset-update@stable
Original file line number Diff line number Diff line change
@@ -10,11 +10,14 @@ on:
schedule:
- cron: '0 0 * * 1'

permissions:
issues: write

jobs:
wordpress-version-checker:
runs-on: ubuntu-latest
steps:
- name: WordPress version checker
uses: skaut/wordpress-version-checker@v1.2.0
uses: skaut/wordpress-version-checker@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v20.11.0
Binary file modified .wordpress-org/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/banner-772x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 26 additions & 21 deletions .wordpress-org/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions .wordpress-version-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"channel": "rc"
}
64 changes: 63 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,66 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased] - TBD

## [2.1.0] - 2023-07-05
## [2.2.1] - 2024-07-08
### Changed
- Bump WordPress "tested up to" version 6.5 (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@sudip-md](https://github.com/sudip-md), [@jeffpaul](https://github.com/jeffpaul) via [#319](https://github.com/10up/autoshare-for-twitter/pull/319)).

### Fixed
- Ampersands no longer converted to HTML entities when adding query parameters to the post URL with the `autoshare_for_twitter_post_url` filter (props [@justinmaurerdotdev](https://github.com/justinmaurerdotdev), [@iamdharmesh](https://github.com/iamdharmesh) via [#324](https://github.com/10up/autoshare-for-twitter/pull/324)).

### Security
- Bump `express` from 4.18.2 to 4.19.2 (props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#321](https://github.com/10up/autoshare-for-twitter/pull/321)).
- Bump `follow-redirects` from 1.15.5 to 1.15.6 (props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#321](https://github.com/10up/autoshare-for-twitter/pull/321)).
- Bump `ip` from 1.1.8 to 1.1.9 (props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#321](https://github.com/10up/autoshare-for-twitter/pull/321)).
- Bump `webpack-dev-middleware` from 5.3.3 to 5.3.4 (props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#321](https://github.com/10up/autoshare-for-twitter/pull/321)).

### Developer
- Cleaned up NPM dependencies and update Node to v20 (props [@Sidsector9](https://github.com/Sidsector9), [@dkotter](https://github.com/dkotter) via [#310](https://github.com/10up/autoshare-for-twitter/pull/310)).
- Upgrade `download-artifact` from v3 to v4 (props [@iamdharmesh](https://github.com/iamdharmesh) via [#316](https://github.com/10up/autoshare-for-twitter/pull/316)).
- Replaced [lee-dohm/no-response](https://github.com/lee-dohm/no-response) with [actions/stale](https://github.com/actions/stale) to help with closing no-response/stale issues (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#318](https://github.com/10up/autoshare-for-twitter/pull/318)).
- Added a "Testing" section in the `CONTRIBUTING.md` file (props [@kmgalanakis](https://github.com/kmgalanakis), [@jeffpaul](https://github.com/jeffpaul) via [#322](https://github.com/10up/autoshare-for-twitter/pull/322)).
- Changed from `actions/upload-release-asset` to `softprops/action-gh-release` GitHub Action (props [@Sidsector9](https://github.com/Sidsector9), [@jeffpaul](https://github.com/jeffpaul) via [#325](https://github.com/10up/autoshare-for-twitter/pull/325)).

## [2.2.0] - 2024-01-04
**Autoshare for Twitter rebranded / renamed to Autopost for X.**

### Changed
- Updated repo automator workflow (props [@iamdharmesh](https://github.com/iamdharmesh), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#273](https://github.com/10up/autoshare-for-twitter/pull/273)).
- Bump `Cypress` version from 11.2.0 to 13.0.0 (props [@iamdharmesh](https://github.com/iamdharmesh), [@Sidsector9](https://github.com/Sidsector9) via [#281](https://github.com/10up/autoshare-for-twitter/pull/281)).
- Bump `@10up/cypress-wp-utils` version from 0.1.0 to 0.2.0 (props [@iamdharmesh](https://github.com/iamdharmesh), [@Sidsector9](https://github.com/Sidsector9) via [#281](https://github.com/10up/autoshare-for-twitter/pull/281)).
- Bump `@wordpress/env` version from 5.7.0 to 8.6.0 (props [@iamdharmesh](https://github.com/iamdharmesh), [@Sidsector9](https://github.com/Sidsector9) via [#281](https://github.com/10up/autoshare-for-twitter/pull/281)).
- Replaced the custom build process with WP-Scripts (props [@iamdharmesh](https://github.com/iamdharmesh), [@peterwilsoncc](https://github.com/peterwilsoncc), [@ravinderk](https://github.com/ravinderk) via [#282](https://github.com/10up/autoshare-for-twitter/pull/282)).
- Disabled auto-sync for pull requests with the target branch (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#291](https://github.com/10up/autoshare-for-twitter/pull/291)).
- Bump WordPress "tested up to" version 6.4 (props [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@jeffpaul](https://github.com/jeffpaul) via [#292](https://github.com/10up/autoshare-for-twitter/pull/292)).
- Renamed plugin from "Autoshare for Twitter" to "Autopost for X (formerly Autoshare for Twitter)" (props [@jeffpaul](https://github.com/jeffpaul), [@iamdharmesh](https://github.com/iamdharmesh), [Morgan Hartnett](https://www.morganhartnett.com/) via [#293](https://github.com/10up/autoshare-for-twitter/pull/293)).

### Fixed
- Resolved the issue with Twitter accounts' visibility in the classic editor (props [@iamdharmesh](https://github.com/iamdharmesh), [@ravinderk](https://github.com/ravinderk) via [#277](https://github.com/10up/autoshare-for-twitter/pull/277)).
- Fixed bugs related to calculating tweet length (props [@justinmaurerdotdev](https://github.com/justinmaurerdotdev), [@iamdharmesh](https://github.com/iamdharmesh) via [#288](https://github.com/10up/autoshare-for-twitter/pull/288)).
- Addressed auto-posting tweets for automatically published posts (props [@iamdharmesh](https://github.com/iamdharmesh), [@sunnmagic](https://github.com/sunnmagic), [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul) via [#294](https://github.com/10up/autoshare-for-twitter/pull/294)).
- Fixed deprecation warning regarding implicit float-to-int conversion in PHP 8.2 (props [@justinmaurerdotdev](https://github.com/justinmaurerdotdev), [@iamdharmesh](https://github.com/iamdharmesh) via [#301](https://github.com/10up/autoshare-for-twitter/pull/301)).

### Security
- Bump `@babel/traverse` from 7.22.17 to 7.23.2 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#289](https://github.com/10up/autoshare-for-twitter/pull/289)).
- Bump `@wordpress/scripts` from 26.12.0 to 26.19.0 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#298](https://github.com/10up/autoshare-for-twitter/pull/298)).

## [2.1.1] - 2023-08-22

### Changed
- Improved setup instructions and error handing (props [@johnwatkins0](https://github.com/johnwatkins0), [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#255](https://github.com/10up/autoshare-for-twitter/pull/255)).
- Bump WordPress "tested up to" version 6.3 (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#265](https://github.com/10up/autoshare-for-twitter/pull/265)).

### Fixed
- The custom tweet message does not work with scheduled posts (props [@GeoffLambert77](https://github.com/GeoffLambert77), [@iamdharmesh](https://github.com/iamdharmesh), [@Sidsector9](https://github.com/Sidsector9) via [#267](https://github.com/10up/autoshare-for-twitter/pull/267)).
- Connected Twitter accounts visibility in the classic editor (props [@iamdharmesh](https://github.com/iamdharmesh), [@Sidsector9](https://github.com/Sidsector9) via [#269](https://github.com/10up/autoshare-for-twitter/pull/269)).
- Better error handling for environments that don't match our minimum PHP version (props [@dkotter](https://github.com/dkotter), [@rahulsprajapati](https://github.com/rahulsprajapati), [@iamdharmesh](https://github.com/iamdharmesh) via [#258](https://github.com/10up/autoshare-for-twitter/pull/258)).
- Ensure our E2E tests work properly on WordPress 6.3 (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter) via [#264](https://github.com/10up/autoshare-for-twitter/pull/264)).

### Security
- Bump `tough-cookie` from 2.5.0 to 4.1.3 and `@cypress/request` from 2.88.10 to 2.88.12 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#266](https://github.com/10up/autoshare-for-twitter/pull/266)).
- Bump `word-wrap` from 1.2.3 to 1.2.4 (props [@dependabot[bot]](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#257](https://github.com/10up/autoshare-for-twitter/pull/257)).

## [2.1.0] - 2023-07-06
### Added
- Support for tweeting via multiple Twitter accounts (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul), [@Sidsector9](https://github.com/Sidsector9) via [#238](https://github.com/10up/autoshare-for-twitter/pull/238)).
- Obfuscation of saved Twitter keys in the UI (props [@lgrzegorski](https://github.com/lgrzegorski), [@bmarshall511](https://github.com/bmarshall511), [@iamdharmesh](https://github.com/iamdharmesh) via [#245](https://github.com/10up/autoshare-for-twitter/pull/245)).
@@ -210,6 +269,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Initial closed source release (props [@scottlee](https://github.com/scottlee/)).

[Unreleased]: https://github.com/10up/autoshare-for-twitter/compare/trunk...develop
[2.2.1]: https://github.com/10up/autoshare-for-twitter/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/10up/autoshare-for-twitter/compare/2.1.1...2.2.0
[2.1.1]: https://github.com/10up/autoshare-for-twitter/compare/2.1.0...2.1.1
[2.1.0]: https://github.com/10up/autoshare-for-twitter/compare/2.0.0...2.1.0
[2.0.0]: https://github.com/10up/autoshare-for-twitter/compare/1.3.0...2.0.0
[1.3.0]: https://github.com/10up/autoshare-for-twitter/compare/1.2.1...1.3.0
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ The following is a set of guidelines for contributors as well as information and

## Ways to contribute

Contributing isn't just writing code - it's anything that improves the project. All contributions for AutoShare for Twitter are managed right here on GitHub. Here are some ways you can help:
Contributing isn't just writing code - it's anything that improves the project. All contributions for Autopost for X are managed right here on GitHub. Here are some ways you can help:

### Reporting bugs

@@ -22,6 +22,10 @@ Pull requests represent a proposed solution to a specified problem. They should

For more on how 10up writes and manages code, check out our [10up Engineering Best Practices](https://10up.github.io/Engineering-Best-Practices/).

### Testing

Helping to test an open source project and provide feedback on success or failure of those tests is also a helpful contribution. You can find details on the Critical Flows and Test Cases in [this project's GitHub Wiki](https://github.com/10up/autoshare-for-twitter/wiki) as well as details on our overall approach to [Critical Flows and Test Cases in our Open Source Best Practices](https://10up.github.io/Open-Source-Best-Practices/testing/#critial-flows). Submitting the results of testing via our Critical Flows as a comment on a Pull Request of a specific feature or as an Issue when testing the entire project is the best approach for providing testing results.

## Workflow

The develop branch is the development branch which means it contains the next version to be released. `trunk` contains the latest released version as reflected in the WordPress.org plugin repository. Always work on the `develop` branch and open up PRs against `develop`.
Loading