Skip to content

Commit

Permalink
Connection: store persistent blog ID for multi-URL purposes (#34262)
Browse files Browse the repository at this point in the history
* Store persistent blog ID in the options.
* If the current hostname is an IP address, we generate a URL secret and pass it along with other registration data.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/7038990403
  • Loading branch information
sergeymitr authored and matticbot committed Nov 29, 2023
1 parent f31fed1 commit 45e133f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.4-alpha] - unreleased
## [2.1.0-alpha] - unreleased

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

### Added
- XMLRPC endpoint 'jetpack.idcUrlValidation' now accepts an argument to specify whether we should try to reuse existing URL secret.

## [2.0.3] - 2023-11-24

## [2.0.2] - 2023-11-21
Expand Down Expand Up @@ -935,7 +938,7 @@ This is an alpha version! The changes listed here are not final.

- Separate the connection library into its own package.

[2.0.4-alpha]: https://github.com/Automattic/jetpack-connection/compare/v2.0.3...v2.0.4-alpha
[2.1.0-alpha]: https://github.com/Automattic/jetpack-connection/compare/v2.0.3...v2.1.0-alpha
[2.0.3]: https://github.com/Automattic/jetpack-connection/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/Automattic/jetpack-connection/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/Automattic/jetpack-connection/compare/v2.0.0...v2.0.1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "2.0.x-dev"
"dev-trunk": "2.1.x-dev"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/class-package-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '2.0.4-alpha';
const PACKAGE_VERSION = '2.1.0-alpha';

const PACKAGE_SLUG = 'connection';

Expand Down

0 comments on commit 45e133f

Please sign in to comment.