@automattic/jetpack-connection 1.4.47 → 1.4.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Connection Component releases.
4
4
 
5
+ ## [1.4.48] - 2026-05-04
6
+ ### Changed
7
+ - ConnectScreen: Rewrite the private-network error message to reference WordPress.com (the connection target) instead of Jetpack, so the copy reads consistently for any plugin that uses the connection package. [#48263]
8
+ - Internal: No longer require automattic/jetpack-changelogger as a per-project dev dependency. [#48225]
9
+ - Replace deprecated jetpack-components Spinner with WordPress Core Spinner. [#47451]
10
+
5
11
  ## [1.4.47] - 2026-04-27
6
12
  ### Changed
7
13
  - Update dependencies.
@@ -1324,6 +1330,7 @@
1324
1330
  - `Main` and `ConnectUser` components added.
1325
1331
  - `JetpackRestApiClient` API client added.
1326
1332
 
1333
+ [1.4.48]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.47...v1.4.48
1327
1334
  [1.4.47]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.46...v1.4.47
1328
1335
  [1.4.46]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.45...v1.4.46
1329
1336
  [1.4.45]: https://github.com/Automattic/jetpack-connection-js/compare/v1.4.44...v1.4.45
@@ -44,7 +44,7 @@ const getErrorMessage = ( errorCode, isOfflineMode ) => {
44
44
  case 'fail_subdomain_wpcom':
45
45
  case 'siteurl_private_ip':
46
46
  return __(
47
- 'Your site host is on a private network. Jetpack can only connect to public sites.',
47
+ 'Your site host is on a private network. Sites can connect to WordPress.com only on public sites.',
48
48
  'jetpack-connection-js'
49
49
  );
50
50
  case 'connection_disabled':
@@ -1,5 +1,4 @@
1
- import { Spinner } from '@automattic/jetpack-components';
2
- import { Icon, Notice, Path, SVG } from '@wordpress/components';
1
+ import { Icon, Notice, Path, SVG, Spinner } from '@wordpress/components';
3
2
  import { __, sprintf } from '@wordpress/i18n';
4
3
  import PropTypes from 'prop-types';
5
4
  import styles from './styles.module.scss';
@@ -44,7 +43,7 @@ const ConnectionErrorNotice = ( {
44
43
  return (
45
44
  <Notice status={ 'error' } isDismissible={ false } className={ wrapperClassName }>
46
45
  <div className={ styles.message }>
47
- <Spinner color="#B32D2E" size={ 24 } />
46
+ <Spinner />
48
47
  { __( 'Reconnecting Jetpack', 'jetpack-connection-js' ) }
49
48
  </div>
50
49
  </Notice>
@@ -149,7 +149,8 @@
149
149
  margin-right: calc(var(--spacing-base) * 2); // 16px
150
150
  }
151
151
 
152
- :global(.jp-components-spinner) {
152
+ :global(.jp-components-spinner),
153
+ :global(.components-spinner) {
153
154
  margin-right: calc(var(--spacing-base) * 2); // 16px
154
155
  }
155
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-connection",
3
- "version": "1.4.47",
3
+ "version": "1.4.48",
4
4
  "description": "Jetpack Connection Component",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme",
6
6
  "bugs": {
@@ -28,11 +28,11 @@
28
28
  "typecheck": "tsgo --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@automattic/jetpack-analytics": "^1.0.10",
32
- "@automattic/jetpack-api": "^1.0.23",
33
- "@automattic/jetpack-components": "^1.9.0",
34
- "@automattic/jetpack-config": "^1.0.8",
35
- "@automattic/jetpack-script-data": "^0.6.2",
31
+ "@automattic/jetpack-analytics": "^1.0.11",
32
+ "@automattic/jetpack-api": "^1.0.24",
33
+ "@automattic/jetpack-components": "^1.10.0",
34
+ "@automattic/jetpack-config": "^1.0.9",
35
+ "@automattic/jetpack-script-data": "^0.6.3",
36
36
  "@wordpress/base-styles": "6.20.0",
37
37
  "@wordpress/browserslist-config": "6.44.0",
38
38
  "@wordpress/components": "32.6.0",
@@ -46,7 +46,7 @@
46
46
  "prop-types": "^15.7.2"
47
47
  },
48
48
  "devDependencies": {
49
- "@automattic/jetpack-base-styles": "^1.1.0",
49
+ "@automattic/jetpack-base-styles": "^1.2.0",
50
50
  "@babel/core": "7.29.0",
51
51
  "@babel/preset-react": "7.28.5",
52
52
  "@testing-library/dom": "10.4.1",