Skip to content

Latest commit

 

History

History
990 lines (755 loc) · 27.7 KB

CHANGELOG.md

File metadata and controls

990 lines (755 loc) · 27.7 KB

Changelog

This is a list detailing changes for the Jetpack RNA Connection Component releases.

0.36.2-alpha - unreleased

This is an alpha version! The changes listed here are not final.

Changed

  • Updated package dependencies.

0.36.1 - 2024-12-09

Changed

  • Internal updates.

0.36.0 - 2024-12-04

Changed

  • Changed text domain from 'jetpack' to 'jetpack-connection-js'. [#40368]
  • Updated package dependencies. [#40363]

0.35.20 - 2024-11-26

Changed

  • Update dependencies.

0.35.19 - 2024-11-25

Changed

  • Updated package dependencies. [#40288]

0.35.18 - 2024-11-18

Changed

  • Update dependencies.

0.35.17 - 2024-11-14

Changed

  • Update dependencies.

0.35.16 - 2024-11-11

Changed

  • Updated package dependencies. [#39999] [#40000] [#40060]

0.35.15 - 2024-11-04

Added

  • Enable test coverage. [#39961]

Changed

  • Skip pricing page when connecting via block editor. [#39865]

0.35.14 - 2024-10-15

Changed

  • Update dependencies.

0.35.13 - 2024-10-14

Changed

  • Internal updates.

0.35.12 - 2024-10-10

Changed

  • Updated package dependencies.

0.35.11 - 2024-10-07

Changed

  • Updated package dependencies. [#39594]

0.35.10 - 2024-09-30

Changed

  • Fetch adminUrl current value on function run [#39578]

0.35.9 - 2024-09-25

Changed

  • Update dependencies.

0.35.8 - 2024-09-16

Changed

  • Updated package dependencies. [#39332]

0.35.7 - 2024-09-10

Changed

  • Updated package dependencies. [#39302]

0.35.6 - 2024-09-09

Changed

  • Updated package dependencies. [#39278]

0.35.5 - 2024-09-05

Changed

  • Internal updates.

0.35.4 - 2024-09-05

Changed

  • Updated package dependencies. [#39176]

0.35.3 - 2024-08-21

Changed

  • Internal updates.

0.35.2 - 2024-08-19

Changed

  • Updated package dependencies. [#38893]

Fixed

  • Lossless image optimization for images (should improve performance with no visible changes). [#38750]

0.35.1 - 2024-08-15

Changed

  • Updated package dependencies. [#38665]

0.35.0 - 2024-08-13

Added

  • Updated the connection initial state to fallback on the new consolidated Jetpack script data [#38825]

0.34.2 - 2024-08-09

Added

  • React 19 compatibility: Making sure useRef includes an argument. [#38765]

Removed

  • Tests: Removed react-test-renderer. [#38755]

0.34.1 - 2024-07-22

Added

  • Display the proper error message for suspended sites on site registration. [#38359]

0.34.0 - 2024-07-18

Changed

  • Connection Screen: remove mention of Stats from the list of available free features. [#38328]

0.33.19 - 2024-07-03

Changed

  • Updated package dependencies. [#38132]

0.33.18 - 2024-06-21

Changed

  • Update dependencies.

0.33.17 - 2024-06-17

Changed

  • Update type to enable JSX use [#37802]

0.33.16 - 2024-06-12

Changed

  • Updated package dependencies. [#37796]

0.33.15 - 2024-06-11

Changed

  • Updated package dependencies. [#37779]

0.33.14 - 2024-06-10

Changed

  • Change codebase to use clsx instead of classnames. [#37708]

0.33.13 - 2024-06-05

Changed

  • Updated package dependencies. [#37669]

0.33.12 - 2024-06-03

Changed

  • Connection: Update connection ToS messaging. [#37536]

0.33.11 - 2024-05-20

Changed

  • Updated package dependencies. [#37379] [#37380] [#37382]

0.33.10 - 2024-05-08

Changed

  • Update dependencies.

0.33.9 - 2024-05-06

Changed

  • Updated package dependencies. [#37147] [#37148] [#37160]

0.33.8 - 2024-04-11

Changed

  • Update dependencies.

0.33.7 - 2024-04-08

Added

  • Add 'from' property to connection call to WP.com. [#36741]

0.33.6 - 2024-04-08

Changed

  • Updated package dependencies. [#36756, #36760, #36761]

0.33.5 - 2024-03-27

Changed

  • Updated package dependencies. [#36539, #36585]

Fixed

  • Fixes some pricing showing twice by connecting sites that select a free option [#36533]

0.33.4 - 2024-03-25

Fixed

  • Fix some redirect after purchase behavior when site is not connected [#36448]

0.33.3 - 2024-03-12

Changed

  • Updated package dependencies. [#36325]

0.33.2 - 2024-03-07

Changed

  • Update dependencies.

0.33.1 - 2024-03-04

Changed

  • Updated package dependencies.

0.33.0 - 2024-03-01

Changed

  • allow post-checkout URL to be updated as run-time [#35908]

0.32.4 - 2024-02-27

Changed

  • Update dependencies.

0.32.3 - 2024-02-22

Changed

  • Updated package dependencies. [#35793]

0.32.2 - 2024-02-19

Added

  • Add connection indicator for screen readers [#35714]

0.32.1 - 2024-02-13

Changed

  • Updated package dependencies. [#35608]

0.32.0 - 2024-02-05

Changed

  • Allow using blog ID instead of site suffix in checkout URL. [#34996]
  • Allow using blog ID instead of site suffix in checkout URL. [#35004]
  • Updated package dependencies.

0.31.2 - 2024-01-29

Changed

  • Update dependencies.

0.31.1 - 2024-01-18

Changed

  • Update dependencies.

0.31.0 - 2024-01-18

Changed

  • Allow using blog ID instead of site suffix in checkout URL. [#34976]

0.30.12 - 2024-01-04

Changed

  • Updated package dependencies. [#34815] [#34816]

0.30.11 - 2023-12-19

Changed

  • Updated package dependencies. [#34694, #34696]

0.30.10 - 2023-12-06

Changed

  • Updated package dependencies. [#34416]

0.30.9 - 2023-12-03

Changed

  • Updated package dependencies. [#34411] [#34427]

0.30.8 - 2023-11-20

Added

  • Add optional quantity to product checkout workflow hook. [#34177]

0.30.7 - 2023-11-14

Changed

  • Updated package dependencies. [#34093]

0.30.6 - 2023-11-13

Changed

  • Updated dependencies.

0.30.5 - 2023-10-23

Added

  • Added getCalypsoOrigin() helper function. [#33257]

0.30.4 - 2023-10-19

Changed

  • Updated package dependencies. [#33687]

0.30.3 - 2023-10-17

Changed

  • Updated package dependencies. [#33646]

0.30.2 - 2023-10-16

Changed

  • Updated package dependencies. [#33429, #33584]

0.30.1 - 2023-10-10

Changed

  • Updated package dependencies. [#33428]

0.30.0 - 2023-09-25

Added

  • Handle connection error codes and display proper error messages. Enabled for the "private network" error only at the moment. [#32898]

0.29.10 - 2023-09-13

Changed

  • Updated package dependencies. [#33001]

0.29.9 - 2023-09-04

Changed

  • Updated package dependencies. [#32803] [#32804]

0.29.8 - 2023-08-21

Added

  • Better way to render initial state. [#32499]
  • Publish package to npmjs.com. [#32515]

0.29.7 - 2023-08-09

Changed

  • Updated package dependencies. [#32166]

0.29.6 - 2023-07-25

Changed

  • Updated package dependencies. [#31999]

0.29.5 - 2023-07-18

Fixed

  • Minor internal updates. [#31684]

0.29.4 - 2023-07-17

Changed

  • Updated package dependencies. [#31872]

Fixed

  • Reset connection errors upon successful Restore request. [#31618]

0.29.3 - 2023-07-11

Changed

  • Updated package dependencies. [#31785]

0.29.2 - 2023-07-05

Changed

  • Updated package dependencies. [#31659]

0.29.1 - 2023-06-21

Changed

  • Updated package dependencies. [#31468]

0.29.0 - 2023-06-15

Changed

  • Connection: always display connection button on connection screen. [#31196]

0.28.0 - 2023-06-06

Changed

  • Update connection module to have an RNA option that updates the design [#31201]
  • Updated package dependencies. [#31129]

0.27.1 - 2023-05-29

Added

  • Add logo prop to ConnectScreen and ConnectScreenVisual so we could use produucts logos similar to ConnectScreenRequiredPlan component. [#30886]

0.27.0 - 2023-05-22

Added

  • Offline Mode handling. [#30570]

0.26.6 - 2023-05-02

Changed

  • Updated package dependencies.

Fixed

  • Bring back accidentally removed auto-trigger for connection screen. [#30373]

0.26.5 - 2023-04-25

Changed

  • Updated package dependencies. [#30015]

0.26.4 - 2023-04-17

Changed

  • Updated package dependencies. [#30019]

0.26.3 - 2023-04-04

Changed

  • Updated package dependencies. [#29854]

0.26.2 - 2023-03-29

Changed

  • Minor internal updates.

0.26.1 - 2023-03-28

Changed

  • Minor internal updates.

0.26.0 - 2023-03-27

Added

  • Clarified when license activation fails that a user connection is required, added a link to complete the connection, and added functionality to redirect back to license activation when the connection is done. [#29443]

0.25.5 - 2023-03-23

Changed

  • Updated package dependencies.

0.25.4 - 2023-03-20

  • Minor internal updates.

0.25.3 - 2023-03-08

Changed

  • Updated package dependencies. [#29216]

0.25.2 - 2023-02-28

Fixed

  • Revise Jetpack connection agreement text to comply with our User Agreement [#28403]
  • Update React peer dependencies to match updated dev dependencies. [#28924]

0.25.1 - 2023-02-20

Fixed

  • Add External link icon to links at the bottom of the disconnect modal. [#28922]

0.25.0 - 2023-02-15

Added

  • Export ConnectScreenLayout component [#28770]

Changed

  • Update to React 18. [#28710]

0.24.9 - 2023-02-08

Changed

  • Updated package dependencies. [#28682, #28700]

0.24.8 - 2023-01-26

Changed

  • Use flex-start instead of start for better browser compatibility. [#28530]

0.24.7 - 2023-01-25

Changed

  • Minor internal updates.

0.24.6 - 2023-01-18

Fixed

  • Clean up JavaScript eslint issues. [#28441]

0.24.5 - 2023-01-11

Changed

  • Updated package dependencies.

Fixed

  • Connection: Metro JS is unable to build the component SCSS files. Adding a native index file to only export the modules required for the mobile editor build. [#28154]

0.24.4 - 2023-01-02

Fixed

  • Connection: Fix box-sizing layout issue on Manage Connection modal [#28101]

0.24.3 - 2022-12-27

Fixed

  • Avoid warnings when disconnecting a site from WordPress.com. [#28003]

0.24.2 - 2022-12-19

Added

  • Allow passing the custom logo and icon to connection screen [#27802]

Changed

  • Updated package dependencies. [#27916]

0.24.1 - 2022-12-12

Changed

  • Updated package dependencies. [#27888]

0.24.0 - 2022-12-05

Changed

  • Improve design of the connection error notice. [#27340]

0.23.0 - 2022-12-02

Added

  • Connection: hide the "Manage Connection" modal on "Escape" press. [#27643]

Changed

  • Updated package dependencies. [#27697]

0.22.11 - 2022-11-28

Changed

  • My Jetpack: move connection status card out of connection package. [#26967]
  • Updated package dependencies. [#27576]

0.22.10 - 2022-11-22

Added

  • Add Manage Connection dialog to My Jetpack [#27476]

Changed

  • Updated package dependencies. [#27043]

0.22.9 - 2022-11-17

Changed

  • Updated package dependencies. [#26736]

0.22.8 - 2022-11-10

Changed

  • Updated package dependencies. [#27319]

0.22.7 - 2022-11-08

Changed

  • Updated package dependencies. [#27289]

0.22.6 - 2022-11-01

Changed

  • Updated package dependencies. [#27196]

0.22.5 - 2022-10-25

Added

  • Connection: add getWpcomUser() and getBlogId() selectors. [#26978]

0.22.4 - 2022-10-19

Changed

  • Updated package dependencies. [#26883]

0.22.3 - 2022-10-17

Changed

  • Updated package dependencies. [#26851]

0.22.2 - 2022-10-13

Changed

  • Updated package dependencies. [#26790]

0.22.1 - 2022-10-11

Changed

  • Updated package dependencies.

0.22.0 - 2022-10-05

Added

  • Trigger restore connection flow. [#26489]

Changed

  • Updated package dependencies. [#26457]

0.21.0 - 2022-09-27

Added

  • Added connection hook useConnectionErrorNotice to more-easily integrate the ConnectionErrorNotice component with minimal processing logic at the point of integration. [#26400]

Changed

  • Updated package dependencies.
  • Updated the ConnectionErrorNotice react component to use a required message property. [#26305]

Removed

  • Removed connection-ui package dependency [#26381]

Fixed

  • Disconnect Dialog: Fixed the prop types to avoid warnings from React [#26340]

0.20.0 - 2022-09-20

Added

  • Added the ConnectionErrorNotice React component. [#26259]
  • Add Restore Connection functionality extracted from Jetpack. [#26034]

Changed

  • Updated package dependencies. [#26081]

0.19.0 - 2022-09-08

Added

  • Add React variables as part of the project to have consistent connection errors across monorepo projects. [#25934]

Changed

  • Updated package dependencies.

0.18.12 - 2022-08-25

Changed

  • Updated package dependencies. [#25814]

0.18.11 - 2022-08-23

Changed

  • Updated package dependencies. [#25338, #25339, #25377, #25762, #25764]

0.18.10 - 2022-07-26

Changed

  • Updated package dependencies. [#25147]

0.18.9 - 2022-07-12

Changed

  • Updated package dependencies. [#25048, #25055]

0.18.8 - 2022-07-06

Changed

  • Updated package dependencies. [#24923]

0.18.7 - 2022-06-28

Fixed

  • Fix include loop between state/store and state/controls + state/resolvers. [#24777]

0.18.6 - 2022-06-21

Added

  • JS Connection: return a Promise when registering site [#24238]

0.18.5 - 2022-06-14

Changed

  • Updated package dependencies. [#24722]

0.18.4 - 2022-06-08

Changed

  • Reorder JS imports for import/order eslint rule. [#24601]
  • Updated package dependencies. [#24510]

0.18.3 - 2022-05-30

Added

  • Add option to use the checkout workflow from the ConnectionScreenRequirePlan component

Changed

  • Updated package dependencies

0.18.2 - 2022-05-24

Changed

  • Updated package dependencies. [#24449]

0.18.1 - 2022-05-18

Changed

  • Updated package dependencies. [#23795]

0.18.0 - 2022-05-10

Changed

  • Do not hard disconnect Jetpack on deactivation [#24272]
  • Updated package dependencies. [#24204]
  • Updated references to old licensing activation UI to licensing activation UI in My Jetpack [#24189]
  • Update tests for updated @testing-library/user-event. [#24276]

0.17.12 - 2022-05-04

Added

  • Add missing JavaScript dependencies. [#24096]
  • JS Connection: introduce useProductCheckoutWorkflow() custom hook [#24122]

Changed

  • JS Connection: use connection global state as a fallback to be used by the useProductCheckoutWorkflow() custom hook [#24137]
  • Remove use of pnpx in preparation for pnpm 7.0. [#24210]
  • Updated package dependencies [#24198]

Fixed

  • JS Connection: fix builinfg the product checkout URL in useProductCheckoutWorkflow() custom hook [#24191]

0.17.11 - 2022-05-03

Removed

  • Connection: Allowing hard disconnection on deactivation.

0.17.10 - 2022-04-26

Changed

  • JS Connection: add default connection arguments for the useConnection() hook
  • Updated package dependencies.

Fixed

  • Disconnect Modal: Fix react warning

0.17.9 - 2022-04-19

Added

  • Add connected plugins list to the initial state and add action to update it when needed
  • Allow secondary users to connect from My Jetpack

Changed

  • Do not hard disconnect Jetpack on deactivation

Fixed

  • Avoid Warning in React PropTypes
  • do not display warning for secondary users if connection has an owner

0.17.8 - 2022-04-12

Changed

  • Updated package dependencies.

0.17.7 - 2022-04-05

Added

  • Add skipUserConnection option to connectScreen component

Changed

  • Updated package dependencies.

0.17.6 - 2022-03-31

Changed

  • My Jetpack: tweak connection card styles and wording

0.17.5 - 2022-03-29

Added

  • Connection: Use heading components to render status card cmp

Changed

  • Updated package dependencies.

Fixed

  • Fixed minor react warnings

0.17.4 - 2022-03-23

Changed

  • Updated package dependencies

0.17.3 - 2022-03-15

0.17.2 - 2022-03-09

Changed

  • Updated package dependencies.

0.17.1 - 2022-03-08

Added

  • Connection: Add footer prop for ConnectScreen

Changed

  • Components: update attributes used within the Button component to match recent deprecations and changes.

Fixed

  • Updated link-button label from "Log In" to "Log In to get started"

0.17.0 - 2022-03-02

Added

  • Connection: Adds requiresUserConnection prop and makes error message show only when hasConnectedOwner and requiresUserConnection are both true.

Changed

  • Moved site benefits request out of PHP to React, and guard against no connected plugins.
  • Updated package dependencies.

0.16.1 - 2022-02-25

Fixed

  • Fix broken Jetpack Partner Coupon redeem flow for sites without a user connection

0.16.0 - 2022-02-22

Changed

  • Bump package version.
  • Connection: Update ConnectionStatusCard to match figma
  • Disconnect dialog changes to cope with asynchronous data loading
  • Updated package dependencies.

Fixed

  • Connection: Fix ConnectionStatusCard prop

0.15.1 - 2022-02-09

Added

  • Connection: Expose hasConnectedOwner in useConnection hook
  • Re organize components stories by project/name

Changed

  • Updated package dependencies

0.15.0 - 2022-02-02

Added

  • Added user click tracking to disconnect dialog modal.

Changed

  • Updated package dependencies.

Fixed

  • Fix access to display_name property in connection status card.

0.14.0 - 2022-01-25

Changed

  • Enforces the usage of initial state
  • Update h3 style for connection status card

Fixed

  • Fix Wrong spelling of propTypes in ConnectedPlugins
  • Make redirectUri property not be required in ConnectionStatusCard

0.13.2 - 2022-01-18

Changed

  • General: update required node version to v16.13.2

Fixed

  • fixed babel/preset-react dependency

0.13.1 - 2022-01-17

Changed

  • Updated package dependencies.

Fixed

  • Fixed styling on Required Plan button and Login link.

0.13.0 - 2022-01-13

Changed

  • Added user data to initial state

0.12.1 - 2022-01-11

Removed

  • Remove use of deprecated ~ in sass-loader imports.

0.12.0 - 2022-01-04

Changed

  • Changed min-width of log in link
  • Connection: Extract connection logic for custom hook
  • Drop isRegistered and isUserConnected params from ConnectionStatusCard component
  • Updated package dependencies.

0.11.3 - 2021-12-14

Fixed

  • Fix JavaScript i18n strings.

0.11.2 - 2021-12-07

Changed

  • Updated package dependencies.

0.11.1 - 2021-12-06

Fixed

  • Style updates to improve disconnect flow appearance when Gutenberg plugin is active

0.11.0 - 2021-11-30

Added

  • Added a ContextualizedConnection component to display a connection screen that can be used to give context to the user why Jetpack would benefit them.
  • Fetches the initial state from the global variable provided by the connection package

Changed

  • Extend functionality of the disconnect modal to allow it to be used in more contexts
  • moved the registerSite logic into the store
  • Updated package dependencies.

Fixed

  • ConnectScreen: Fix custom grid and background color.
  • ConnectScreen: make button full width on small viewports

0.10.2 - 2021-11-23

Changed

  • Import RNA styles from base styles package.
  • Updated package dependencies

Fixed

  • revert button width change in favor of the fix in the visual element

0.10.1 - 2021-11-17

Changed

  • Updated package dependencies.

0.10.0 - 2021-11-16

Added

  • Remove the withConnectionStatus HOC, export the store.

Changed

  • Updated package dependencies

Fixed

  • Button styles: ensure the button can accomodate longer text.

0.9.1 - 2021-11-09

Changed

  • Updated package dependencies.

0.9.0 - 2021-11-02

Added

  • Add ConnectScreenRequiredPlan component.

Changed

  • Updated package dependencies.

0.8.0 - 2021-10-26

Changed

  • ConnectButton now uses ActionButton component
  • Package version bump.
  • Updated package dependencies

0.7.2 - 2021-10-19

Changed

  • Bump the RNA API version.

0.7.1 - 2021-10-13

Changed

  • Updated package dependencies.

0.7.0 - 2021-10-12

Changed

  • Bump the RNA API version.

Removed

  • Connection Screen component no longer pulls conneciton status from the API, it only relies on the properties. Use WithConnectionStatus HOC instead.

0.6.1 - 2021-09-28

Added

  • Set 'exports' in package.json.

Changed

  • Allow Node ^14.17.6 to be used in this project. This shouldn't change the behavior of the code itself.
  • Updated package dependencies.

Fixed

  • Display an error message on site registration failure.

0.6.0 - 2021-08-31

Added

  • Add the spinner to the connection button.

Changed

  • Bump version number
  • Extract connection status fetching into a higher order component.
  • Make redirect URI optional for connection screen and button components.
  • Updated package dependencies.
  • Use Node 16.7.0 in tooling.

0.5.1 - 2021-08-12

Changed

  • Move API calls to jetpack-api package
  • Updated package dependencies

Fixed

  • Fix minor styling issues on the connection screen.

0.5.0 - 2021-07-27

Added

  • Add Connection Status Card component.
  • Add DisconnectDialog RNA component.
  • Added the connection screen components, moved connection status callback to properties.

Changed

  • Mark assetBaseUrl as optional for ImageSlider.

0.4.0 - 2021-06-29

Changed

  • Remove In-Place Connection flow from the package.
  • Rename 'Main' component into 'ConnectButton'
  • Update node version requirement to 14.16.1

0.3.0 - 2021-06-15

Added

  • Added dev dependency on react (in addition to existing peer dep) for tests to run.
  • Added missing dependencies.

Changed

  • Getting rid of the 'authorizeUrl' parameter, retrieving the value via REST API, and extrating the user connection functionality into a separate 'ConnectUser' component.

0.2.0 - 2021-05-25

Added

  • Add connection components.

Changed

  • Updated package dependencies.

0.1.0 - 2021-04-27

Added

  • InPlaceConnection component added.

0.2.0 - 2021-05-18

  • Main and ConnectUser components added.
  • JetpackRestApiClient API client added.