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.
Unreleased - TBD
2.2.1 - 2024-07-08
- Bump WordPress "tested up to" version 6.5 (props @iamdharmesh, @dkotter, @sudip-md, @jeffpaul via #319).
- 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, @iamdharmesh via #324).
- Bump
express
from 4.18.2 to 4.19.2 (props @dependabot, @iamdharmesh via #321). - Bump
follow-redirects
from 1.15.5 to 1.15.6 (props @dependabot, @iamdharmesh via #321). - Bump
ip
from 1.1.8 to 1.1.9 (props @dependabot, @iamdharmesh via #321). - Bump
webpack-dev-middleware
from 5.3.3 to 5.3.4 (props @dependabot, @iamdharmesh via #321).
- Cleaned up NPM dependencies and update Node to v20 (props @Sidsector9, @dkotter via #310).
- Upgrade
download-artifact
from v3 to v4 (props @iamdharmesh via #316). - Replaced lee-dohm/no-response with actions/stale to help with closing no-response/stale issues (props @jeffpaul, @dkotter via #318).
- Added a "Testing" section in the
CONTRIBUTING.md
file (props @kmgalanakis, @jeffpaul via #322). - Changed from
actions/upload-release-asset
tosoftprops/action-gh-release
GitHub Action (props @Sidsector9, @jeffpaul via #325).
2.2.0 - 2024-01-04
Autoshare for Twitter rebranded / renamed to Autopost for X.
- Updated repo automator workflow (props @iamdharmesh, @peterwilsoncc via #273).
- Bump
Cypress
version from 11.2.0 to 13.0.0 (props @iamdharmesh, @Sidsector9 via #281). - Bump
@10up/cypress-wp-utils
version from 0.1.0 to 0.2.0 (props @iamdharmesh, @Sidsector9 via #281). - Bump
@wordpress/env
version from 5.7.0 to 8.6.0 (props @iamdharmesh, @Sidsector9 via #281). - Replaced the custom build process with WP-Scripts (props @iamdharmesh, @peterwilsoncc, @ravinderk via #282).
- Disabled auto-sync for pull requests with the target branch (props @iamdharmesh, @jeffpaul via #291).
- Bump WordPress "tested up to" version 6.4 (props @qasumitbagthariya, @jeffpaul via #292).
- Renamed plugin from "Autoshare for Twitter" to "Autopost for X (formerly Autoshare for Twitter)" (props @jeffpaul, @iamdharmesh, Morgan Hartnett via #293).
- Resolved the issue with Twitter accounts' visibility in the classic editor (props @iamdharmesh, @ravinderk via #277).
- Fixed bugs related to calculating tweet length (props @justinmaurerdotdev, @iamdharmesh via #288).
- Addressed auto-posting tweets for automatically published posts (props @iamdharmesh, @sunnmagic, @peterwilsoncc, @jeffpaul via #294).
- Fixed deprecation warning regarding implicit float-to-int conversion in PHP 8.2 (props @justinmaurerdotdev, @iamdharmesh via #301).
- Bump
@babel/traverse
from 7.22.17 to 7.23.2 (props @dependabot[bot], @iamdharmesh via #289). - Bump
@wordpress/scripts
from 26.12.0 to 26.19.0 (props @dependabot[bot], @iamdharmesh via #298).
2.1.1 - 2023-08-22
- Improved setup instructions and error handing (props @johnwatkins0, @iamdharmesh, @jeffpaul via #255).
- Bump WordPress "tested up to" version 6.3 (props @iamdharmesh, @jeffpaul via #265).
- The custom tweet message does not work with scheduled posts (props @GeoffLambert77, @iamdharmesh, @Sidsector9 via #267).
- Connected Twitter accounts visibility in the classic editor (props @iamdharmesh, @Sidsector9 via #269).
- Better error handling for environments that don't match our minimum PHP version (props @dkotter, @rahulsprajapati, @iamdharmesh via #258).
- Ensure our E2E tests work properly on WordPress 6.3 (props @iamdharmesh, @dkotter via #264).
- 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], @iamdharmesh via #266). - Bump
word-wrap
from 1.2.3 to 1.2.4 (props @dependabot[bot], @iamdharmesh via #257).
2.1.0 - 2023-07-06
- Support for tweeting via multiple Twitter accounts (props @iamdharmesh, @jeffpaul, @Sidsector9 via #238).
- Obfuscation of saved Twitter keys in the UI (props @lgrzegorski, @bmarshall511, @iamdharmesh via #245).
- GitHub Action summary for end-to-end tests (props @iamdharmesh, @ravinderk via #247).
- Readme updates for FAQs and formatting (props @iamdharmesh, @jeffpaul via #235, #241, #242).
- Enhanced end-to-end tests by implementing mocking of Twitter API and bypassing actual Twitter API calls (props @iamdharmesh, @jeffpaul, @Sidsector9 via #238).
- Updated the Dependency Review GitHub Action (props @jeffpaul, @iamdharmesh via #239).
- Fixed inconsistent tweet status for scheduled posts (props @mae829, @iamdharmesh, @ravinderk via #246).
- Improved error handing (props @iamdharmesh, @Sidsector9 via #249).
2.0.0 - 2023-05-16
Autoshare for Twitter 2.0.0 utilizes Twitter's v2 API. If you have not already done so, please migrate your app to Twitter's v2 API to continue using Autoshare for Twitter. Learn more about migrating here.
- Migrated to Twitter API v2 (props @iamdharmesh, @jeffpaul, @ravinderk, @Sidsector9 via #229).
- Bump WordPress "tested up to" version 6.2 (props @Sidsector9, @iamdharmesh via #228).
- Update plugin settings and guidelines to set up a Twitter app (props @iamdharmesh, @jeffpaul, @ravinderk @Sidsector9 via #229).
- Updated documentation (props @jeffpaul, @iamdharmesh via #231).
- Bump
simple-git
from 3.15.1 to 3.16.0 (props @dependabot, @iamdharmesh via #221). - Bump
http-cache-semantics
from 4.1.0 to 4.1.1 (props @dependabot, @iamdharmesh via #222). - Bump
@sideway/formula
from 3.0.0 to 3.0.1 (props @dependabot, @iamdharmesh via #223). - Bump
webpack
from 5.74.0 to 5.76.0 (props @dependabot, @iamdharmesh via #224).
1.3.0 - 2023-01-20
- "Tweet now" functionality (props @Sidsector9, @iamdharmesh, @cadic, @jeffpaul, @linawiezkowiak, @oszkarnagy via #188).
- Toggle for adding/removing featured image from the tweet (props @Sidsector9, @iamdharmesh, @cadic, @jeffpaul, @linawiezkowiak, @oszkarnagy via #188).
- Show Twitter status logs for the draft post if the post has been switched back to Draft from Published, and has already been Tweeted (props @iamdharmesh, @faisal-alvi, @jeffpaul, @linawiezkowiak, @oszkarnagy via #215).
- Plugin screenshots to readme files (props @iamdharmesh via #218).
- UI Improvements in Tweet status (props @Sidsector9, @iamdharmesh, @cadic, @jeffpaul, @linawiezkowiak, @oszkarnagy via #188).
- UI Improvements in tweet message character count (props @iamdharmesh, @Sidsector9, @ravinderk, @jeffpaul, @linawiezkowiak, @oszkarnagy via #214).
- Run GitHub Action workflows only when it required (props @iamdharmesh, @peterwilsoncc via #204).
- Migrated Cypress from 9.0.0 to 11.2.0 (props @iamdharmesh, @Sidsector9 via #205).
- Run E2E tests on the zip generated by "Build release zip" action (props @iamdharmesh, @dkotter, @Sidsector9 via #206).
- E2E tests fail in the CI with warm cache (props @cadic, @iamdharmesh via #212).
- Bump
decode-uri-component
from 0.2.0 to 0.2.2 (props @dependabot, @iamdharmesh via #208). - Bump
simple-git
from 3.14.1 to 3.15.1 (props @dependabot, @iamdharmesh via #210).
1.2.1 - 2022-12-07
Note that this release bumps the WordPress minimum from 5.3 to 5.7 and PHP minimum from 7.2 to 7.4.
- "PR Automator" GitHub Action (props @iamdharmesh, @Sidsector9, @jeffpaul via #194, #196).
- "Build release zip" GitHub Action (props @iamdharmesh, @dkotter via #201).
- Bump minimum
PHP
version from 7.2 to 7.4 (props @Sidsector9, @iamdharmesh, @vikrampm1 via #197). - Bump minimum
WordPress
version from 5.3 to 5.7 (props @Sidsector9, @iamdharmesh, @vikrampm1 via #197). - Bump WordPress "tested up to" version 6.1 (props @iamdharmesh, @peterwilsoncc via #200).
- Support Level from
Active
toStable
(props @jeffpaul, @dkotter via #195).
- Bump
json-schema
from 0.2.3 to 0.4.0 (props @dependabot, @peterwilsoncc via #189). - Bump
jsprim
from 1.4.1 to 1.4.2 (props @dependabot, @peterwilsoncc via #189). - Bump
simple-git
from 2.47.0 to 3.14.1 (props @dependabot, @iamdharmesh via #192). - Bump
@wordpress/env
from 4.1.3 to 5.3.0 (props @dependabot, @iamdharmesh, @faisal-alvi via #191, #192). - Bump
got
from 10.7.0 to 11.8.5 (props @dependabot, @faisal-alvi via #191).
1.2.0 - 2022-09-28
Note that this release bumps the WordPress minimum from 4.9 to 5.3.
- AutoTweet panel in editor sidebar and pre-publish panel to manage enabling/disabling tweet on publish (props @iamdharmesh, @jeffpaul, @linawiezkowiak, @oszkarnagy, @cadic via #177).
- Bump minimum required WordPress version to 5.3 (props @iamdharmesh via #177).
- Updates in
CONTRIBUTING.md
file (props @iamdharmesh, @jeffpaul via #172). - Update plugin icons (props @iamdharmesh, @jeffpaul via #174).
- Bump
terser
from 4.3.1 to 4.8.1 (props @dependabot via #184).
1.1.2 - 2022-06-24
- Cypress E2E tests (props @iamdharmesh, @jeffpaul, @Sidsector9 via #167).
- Handle tweeting from staging/testing/local environments to prevent accidental tweets (props @dinhtungdu, @iamdharmesh, @peterwilsoncc, @jeffpaul via #161).
- Dependency security scanning (props @jeffpaul, @iamdharmesh via #160).
- Bump WordPress "tested up to" version 6.0 (props @iamdharmesh, @vikrampm1, @jeffpaul, @Sidsector9 via #162).
- Incorrect
Tweet this post
checkbox behavior in the Classic Editor (props @iamdharmesh, @cadic via #169). - "Plugin asset/readme update" GitHub Action failure (props @iamdharmesh, @dkotter, @jeffpaul via #166 and #165).
1.1.1 - 2022-04-13
- If Autoshare is enabled by default, it does not consider the post-level "Tweet this post" checkbox and always tweets (props @iamdharmesh, @Sidsector9 via #155).
1.1.0 - 2022-04-13
- Colored icons to represent autoshare status (props @linawiezkowiak, @oszkarnagy, @Sidsector9, @dinhtungdu via #142).
- Sample copy for example responses (props @iamdharmesh, @Sidsector9, @jeffpaul via #149).
- PHP 8 compatibility (props @Sidsector9, @faisal-alvi via #144).
- E2E Tests with Cypress (props @thrijith, @iamdharmesh, @dinhtungdu, @jeffpaul via #145).
- Update dependency
abraham/twitteroauth
from 1.2.0 to 2.0.0 to ensure PHP 8.0 support (props @Sidsector9, @faisal-alvi via #144). - App setup instructions for getting API keys and tokens (props @iamdharmesh, @Sidsector9, @jeffpaul via #149).
- Bump WordPress version "tested up to" 5.9 (props @iamdharmesh, @Sidsector9, @sudip-10up via #151).
- Warning thrown on activating plugin for the first time (props @Sidsector9, @dinhtungdu via #138).
- CI pipeline failures (props @dkotter, @iamdharmesh, @Sidsector9 via #147).
- Bump ajv from 6.10.2 to 6.12.6 (props @dependabot via #141).
- Bump tar from 4.4.8 to 4.4.19 (props @dependabot via #143).
- Bump ini from 1.3.5 to 1.3.8 (props @dependabot via #152).
1.0.6 - 2020-09-19
- Note: this was a hotfix release to fix an issue with deploys to WordPress.org.
1.0.5 - 2021-09-15
- Tweeted status column to All Posts table list view (props @thrijith, @dinhtungdu, @linawiezkowiak, @oszkarnagy, @jeffpaul via #121).
- Bump WordPress version "tested up to" 5.8 (props @thrijith, @barneyjeffries, @jeffpaul via #126).
- WP Snapshot for auotmated testing to WP 5.6 (props @dinhtungdu, @jeffpaul via #107).
- Update dependency
abraham/twitteroauth
from ^0.7.4 to 1.2.0 to ensure PHP 7.4 support and WordPress VIP Go compatability (props @thrijith, @dinhtungdu, @rickalee via #122). - Update PHPUnit test cases to include new functions (props @thrijith via #124).
- Ensure that special characters are properly encoded (props @dinhtungdu, @rickalee via #116).
- Bump
lodash
from 4.17.15 to 4.17.21 (props @dependabot via #108, #130). - Bump
elliptic
from 6.5.1 to 6.5.4 (props @dependabot via #109, #123). - Bump
yargs-parser
from 13.1.1 to 13.1.2 (props @dependabot via #111). - Bump
ini
from 1.3.5 to 1.3.7 (props @dependabot via #115). - Bump
y18n
from 4.0.0 to 4.0.1 (props @dependabot via #125). - Bump
ssri
from 6.0.1 to 6.0.2 (props @dependabot via #127). - Bump
rmccue/requests
from 1.7.0 to 1.8.0 (props @dependabot via #129). - Bump
hosted-git-info
from 2.8.4 to 2.8.9 (props @dependabot via #131). - Bump
browserslist
from 4.7.0 to 4.16.6 (props @dependabot via #132). - Bump
path-parse
from 1.0.6 to 1.0.7 (props @dependabot via #134).
1.0.4 - 2020-07-02
- Note: this was a hotfix release to fix an issue with included libraries.
1.0.3 - 2020-07-01
autoshare_for_twitter_disable_on_transition_post_status
filter to disable tweeting based on post status change (props @rickalee via #99).
- Bumped WordPress version support to 5.4.2 (props @dinhtungdu, @jeffpaul via #106).
- Build, test, and release processes (props @johnwatkins0, @dinhtungdu via #96, #97, #98, #101).
- Enable autoshare meta always set to 0 when saving draft (props @dinhtungdu, @rickalee via #103).
1.0.2 - 2020-03-12
- WP Acceptance tests (props @johnwatkins0 via #84).
- New and improved settings page UX (props @dinhtungdu, @jeffpaul, @johnwatkins0, @linawiezkowiak, @oszkarnagy via #78).
- Bug that caused posts to be inadvertently tweeted when switching from draft to publish (props @johnwatkins0, @rickalee via #82).
- Build script in release process (props @johnwatkins0 via #77).
1.0.1 - 2020-02-03
autoshare_for_twitter_enabled_default
filter to allow autoshare to be enabled by default for a post type (props @johnwatkins0, @rickalee, @dinhtungdu via #71).
- Bypass character texturization when the post title is tweeted (props @johnwatkins0, @rickalee via #73).
- Second instance of the
autoshare_for_twitter_tweet
filter (props @johnwatkins0 via #70).
1.0.0 - 2019-12-17
- Initial public release! 🎉
- Support Post and Page post types by default, provide Custom Post Type (props @johnwatkins0 via #25).
- REST API endpoint to replace AJAX callback (props @johnwatkins0 via #33).
- Build process, PHPCS linting, unit tests, and Travis CI (props @johnwatkins0, @adamsilverstein via #23, #24, #28, #29).
- Plugin banner and icon images (props @sncampbell via #31).
- Twitter disclaimer per their trademark guidelines as part of their brand guidelines (props @jeffpaul via #50).
- Refactor v0.1.0 significantly (props @adamsilverstein, @johnwatkins0, @jeffpaul via #1, #49).
- XSS prevention - switch from .innerHTML to text (props @adamsilverstein via #1).
0.1.0 - 2018-05-11
- Initial closed source release (props @scottlee).