Skip to content

Commit 02e3f6e

Browse files
tbradshamatticbot
authored andcommitted
Backport jetpack 14.7-a.1 Changes (#43438)
* Changelog and readme.txt edits. * Version bumps * Fix changelog link * Oops Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14981257606 Upstream-Ref: Automattic/jetpack@c0f3920
1 parent 75fb4b7 commit 02e3f6e

File tree

5 files changed

+19
-23
lines changed

5 files changed

+19
-23
lines changed

CHANGELOG.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.48.0-alpha] - unreleased
9-
10-
This is an alpha version! The changes listed here are not final.
11-
8+
## [0.48.0] - 2025-05-12
129
### Added
13-
- Surface search corrections when correcting search terms
10+
- Surface search corrections when correcting search terms. [#42473]
1411

1512
### Changed
16-
- Migrate numberFormat to number-formatters package
17-
- Number-formatters: update formatCurrency() and getCurrencyObejct() calls to go through number-formatters package
18-
- Update package dependencies.
13+
- Update package dependencies. [#43400]
14+
- Use functions from the `@automattic/number-formatters` package. [#42796]
1915

2016
## [0.47.24] - 2025-05-05
2117
### Changed
@@ -1218,7 +1214,7 @@ This is an alpha version! The changes listed here are not final.
12181214
- Updated package dependencies.
12191215
- Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't.
12201216

1221-
[0.48.0-alpha]: https://github.com/Automattic/jetpack-search/compare/v0.47.24...v0.48.0-alpha
1217+
[0.48.0]: https://github.com/Automattic/jetpack-search/compare/v0.47.24...v0.48.0
12221218
[0.47.24]: https://github.com/Automattic/jetpack-search/compare/v0.47.23...v0.47.24
12231219
[0.47.23]: https://github.com/Automattic/jetpack-search/compare/v0.47.22...v0.47.23
12241220
[0.47.22]: https://github.com/Automattic/jetpack-search/compare/v0.47.21...v0.47.22

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"license": "GPL-2.0-or-later",
66
"require": {
77
"php": ">=7.2",
8-
"automattic/jetpack-connection": "^6.11.3-alpha",
8+
"automattic/jetpack-connection": "^6.11.3",
99
"automattic/jetpack-assets": "^4.0.20",
1010
"automattic/jetpack-constants": "^3.0.8",
1111
"automattic/jetpack-status": "^5.1.4",
1212
"automattic/jetpack-config": "^3.1.0",
13-
"automattic/jetpack-my-jetpack": "^5.14.0-alpha",
13+
"automattic/jetpack-my-jetpack": "^5.14.0",
1414
"automattic/jetpack-sync": "^4.12.0"
1515
},
1616
"require-dev": {

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
"@automattic/color-studio": "4.1.0",
3838
"@automattic/jetpack-analytics": "^0.1.36",
3939
"@automattic/jetpack-api": "^0.20.2",
40-
"@automattic/jetpack-base-styles": "^0.7.4-alpha",
41-
"@automattic/jetpack-components": "^0.73.0-alpha",
42-
"@automattic/jetpack-connection": "^0.39.13",
43-
"@automattic/jetpack-shared-extension-utils": "^0.19.2",
44-
"@automattic/number-formatters": "^1.1.0-alpha",
40+
"@automattic/jetpack-base-styles": "^0.7.4",
41+
"@automattic/jetpack-components": "^0.73.0",
42+
"@automattic/jetpack-connection": "^0.39.14",
43+
"@automattic/jetpack-shared-extension-utils": "^0.19.3",
44+
"@automattic/number-formatters": "^1.0.1",
4545
"@wordpress/base-styles": "5.22.0",
4646
"@wordpress/block-editor": "14.17.0",
4747
"@wordpress/data": "10.22.0",

src/class-package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Search package general information
1212
*/
1313
class Package {
14-
const VERSION = '0.48.0-alpha';
14+
const VERSION = '0.48.0';
1515
const SLUG = 'search';
1616

1717
/**

src/inline-search/class-inline-search-correction.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Class for handling search correction display
1414
*
15-
* @since 0.48.0-alpha
15+
* @since 0.48.0
1616
*/
1717
class Inline_Search_Correction {
1818
/**
@@ -34,7 +34,7 @@ public function setup_corrected_query_hooks( $query ) {
3434
* Enqueue theme-specific styles for the search correction.
3535
* This is hooked to wp_enqueue_scripts to ensure styles load properly in the head.
3636
*
37-
* @since 0.48.0-alpha
37+
* @since 0.48.0
3838
*/
3939
public function enqueue_styles() {
4040
$corrected_query_html = $this->get_corrected_query_html();
@@ -49,7 +49,7 @@ public function enqueue_styles() {
4949
/**
5050
* Register and configure the JavaScript for displaying the corrected query notice.
5151
*
52-
* @since 0.48.0-alpha
52+
* @since 0.48.0
5353
*/
5454
public function register_corrected_query_script() {
5555
$corrected_query_html = $this->get_corrected_query_html();
@@ -86,7 +86,7 @@ public function register_corrected_query_script() {
8686
/**
8787
* Register and enqueue theme-specific styles for corrected query.
8888
*
89-
* @since 0.48.0-alpha
89+
* @since 0.48.0
9090
* @param string $handle The script handle to use for the stylesheet.
9191
*/
9292
private function register_corrected_query_style( $handle ) {
@@ -136,7 +136,7 @@ public function maybe_use_corrected_query( $query ) {
136136
/**
137137
* Get selectors where corrected query notice will be displayed.
138138
*
139-
* @since 0.48.0-alpha
139+
* @since 0.48.0
140140
* @return array CSS selectors for search title elements.
141141
*/
142142
private function get_title_selectors() {
@@ -152,7 +152,7 @@ private function get_title_selectors() {
152152
/**
153153
* Filter the selectors where corrected query notice appears.
154154
*
155-
* @since 0.48.0-alpha
155+
* @since 0.48.0
156156
* @param array $default_selectors CSS selectors for search title elements.
157157
*/
158158
return apply_filters( 'jetpack_search_title_selectors', $default_selectors );

0 commit comments

Comments
 (0)