Skip to content

Commit

Permalink
Update Jetpack plugin from 12.5 to 12.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpoke-bot committed Sep 21, 2023
1 parent 7032c74 commit 1126a46
Show file tree
Hide file tree
Showing 752 changed files with 10,527 additions and 6,393 deletions.
2 changes: 1 addition & 1 deletion wp-content/plugins/jetpack/3rd-party/vaultpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function jetpack_vaultpress_rewind_enabled_notice() {
<p>
<?php esc_html_e( 'VaultPress is no longer needed and has been deactivated.', 'jetpack' ); ?>
<?php
echo sprintf(
printf(
wp_kses(
/* Translators: first variable is the full URL to the new dashboard */
__( 'You can access your backups at <a href="%s" target="_blank" rel="noopener noreferrer">this dashboard</a>.', 'jetpack' ),
Expand Down
179 changes: 174 additions & 5 deletions wp-content/plugins/jetpack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,184 @@

### This is a list detailing changes for all Jetpack releases.

## 12.6-a.0 - unreleased
## 12.6 - 2023-09-19
### Enhancements
- AI Assistant: add prompts for correct feature configuration. [#33064]
- AI Assistant: proof-of-concept for expandable messages on the backend using form generation prompt. [#32679]
- AI Assistant: proof-of-concept for server-side prompts, starting with form generation prompts. [#32495]
- AI Excerpt: add the Accept button. [#32889]
- AI Excerpt: add the Discard button to the panel. [#32890]
- AI Excerpt: ensure to save the post before asking a suggestion. [#32891]
- AI Excerpt: show upgrade banner when site achieves requests limit. [#32895]
- AI Extension: add create-with-voice beta extension. [#32742]
- AI Extension: enhance blocks parsing flickering with child blocks. [#32635]
- AI Extension: introduce Create with voice jetpack block - initial implementation. [#32750]
- AI Extension: use new AIControl component from AI package and remove local implementation. [#32682]
- AI-chat Block: add ability to chat with the site. [#32741]
- Business Hours Block: refactor block registration to avoid duplication. [#32698]
- Classic Editor Markdown: add support for double-tilde strikethrough, e.g. `~~strikethrough~~`. [#33057]
- Connection UI: use Redux state to pass the "from" property. [#32600]
- Content Lens: connect excerpt panel with AI Assistant. [#32846]
- Create with voice: connect block with useMediaRecording() hook. [#32769]
- Create with voice: introduce Done button. [#32792]
- Create with voice: set block properties by using useBlockProps() custom hook. [#32782]
- Create with voice: show audio duration when recording audio. [#32827]
- Featured Blogs: add item block. [#32746]
- Gravatar profile widget: add srcset. [#32662]
- Jetpack Assistant: add placeholder UX for the prompt input. [#33080]
- Jetpack Social: display the Social editor panel with an invitation to activate the feature when it is disabled. [#33149]
- Launchpad save modal: persist the user option when they opt to hide the modal. [#32567]
- Newsletters: add support for newsletter categories. [#32666]
- Newsletters: improve flows around access and paywall. [#32615]
- Paywall Block: add toolbar options. [#32659]
- Paywall Block: disable Paid subscribers button if plans are not set up. [#32663]
- Paywall Block: improve excerpts handling. [#32809]
- Paywall Block: improved settings panel. [#32801]
- Paywall Block: improved toolbar. [#32765]
- Paywall Block: redesign visuals for the mobile editor. [#32672]
- Paywall Block: release to WP.com and Jetpack. [#32625]
- Paywall: better content for when waiting for email validation. [#32800]
- Related Posts: make the block available even when the feature has not been activated yet. [#32930]
- Security: Blocks: avoid saving invalid block attributes that may appear to other editors on the site. [#33184]
- Sidebar: rename the "Inbox" menu to "My Mailboxes". [#32992]
- Site Editor: point the Site Editor's `<` link to the theme showcase when previewing a theme. [#32913]
- Social: add the change setting for the auto conversion feature. [#32712]
- Social: add the new auto-conversion toggle. [#32597]
- Subscribe modal: bump modal Z-index up. [#32621]
- Subscription Block: add newsletter categories to the content view. [#32756]
- Subscriptions Block: render in emails. [#32409]
- Subscriptions: add edit link for subscribe modal. [#32722]
- Subscriptions: add number formatting for subscriber count in newsletter module. [#32646]
- Subscriptions: remove newsletter flow+theme and FSE theme check for the subscribe modal. Leave WP.com check. [#32607]
- Tiled gallery module: add srcset to images. [#32598]
- WordPress.com Toolbar: add site monitoring menu and remove site logs. [#32458]

This is an alpha version! The changes listed here are not final.
### Improved compatibility
- Carousel: add new hook allowing third-parties to customize the metadata displayed within the Carousel modal. [#32749]
- General: Jetpack now requires WordPress version 6.2. [#32762]
- General: remove WP 6.1 backwards compatibility checks. [#32772]
- Lazy Images: discourage enabling of Lazy loading images as now 90% of browser support the feature natively and this version in Jetpack can conflict with the upcoming WordPress interactivity API. [#33030]
- Shortcodes: exclude images with broken URL from galleries. [#32556]
- Subscriptions: change the text color of selected newsletter categories to be more easily readable. [#33104]
- Theme fields: only add is_block_theme to theme response when WordPress version is < 6.3 [#31660]
- WC Analytics: ensure correct values are tracked for cart/checkout block/template tracking when using WC Blocks cart and checkout templates. [#32715]

### Bug fixes
- AI Chat: fix block styles not loading. [#33090]
- AI Chat: fix styles not loading in the editor. [#33120]
- AI Extension: remove HTML fragments from AI-generated forms on site editor. [#32798]
- Admin Menu: display Newsletter settings submenu item for Jetpack connected sites. [#33065]
- Blocks: fix block icons for display on wp.org. [#32754]
- Blocks: use custom Facebook and Instagram icons in Jetpack's Facebook and Instagram blocks to avoid issues in accessibility inspector. [#32705]
- Comments: remove mention of Twitter as a log in option since it is no longer available. [#32717]
- Comments: remove the Twitter service as a login provider. [#30273]
- Cookie Consent Block: fix block positioning in the editor. [#32622]
- Donation Block: fix issue with Danish Krone. [#33072]
- Featured images fallback: fix undefined variable warnings. [#33179]
- Fixed a Global Styles UI performance issue in the Site Editor. [#32641]
- Launchpad modal: reduce API calls for modal dismiss flag. [#32751]
- Load the Jetpack block assets in the iframe directly in WP-Admin and keep the existing behavior on the front-end, for compatibility reasons. [#32706]
- My Plans: allow two year plans to show on the page. [#32904]
- Nav Unification: flips order of tags and categories submenu of posts. [#32619]
- Newsletters: allow Newsletter plans in the Premium Content and Recurring Payment blocks again. [#32850]
- Paywall block: avoid undefined variable warning. [#32578]
- Paywall block: fix autosave before redirecting the user. [#33033]
- Paywall block: fix default plan being selected in payment block. [#32640]
- Remove use of `Jetpack_Membership::get_connected_account_id()`. [#32620]
- Subscription Block: fix blog appearance. [#33144]
- Subscriptions: add subscribe modal mobile padding. [#32725]
- Subscriptions: email subscribers now receive full posts. [#32647]
- Subscriptions: hide modal if paywall block exists. [#32757]
- Subscriptions: hide modal if post is subscribers-only. [#32867]
- Subscriptions: tweak subscribe modal text/spacing. [#32724]
- VideoPress Block: Check if VideoPress module is active in order to register the VideoPress video block. [#32680]
- Widgets: fix an issue that caused the notice displayed when updating widgets to overlap the admin menu. [#32921]

### Other changes <!-- Non-user-facing changes go here. This section will not be copied to readme.txt. -->
- Admin: load the Jetpack block assets in the iframe directly to the WordPress.com reader instead of opening a popout menu. [#32763]
- AI Assistant: add error handling when request is too long. [#33157]
- AI Assistant: add language reminder to action prompts. [#32814]
- AI Assistant: change conditions to show AI guidelines on input. [#33084]
- AI Assistant: register ai-assistant-backend-prompts beta extension. [#33017]
- AI Assistant: remove upgrade button when user is not administrator. [#33015]
- AI Assistant: use backend prompts for the "Generate feedback" feature. [#33052]
- AI Chat: Basic error handling and minor refactor into components. [#32989]
- AI Chat: add customizable placeholder text. [#33087]
- AI Chat: add prompt override for the chat-with-a-blog feature. [#32994]
- AI Chat: introduce WPCOM compatibility for AI-Chat. [#32972]
- AI Excerpt: add AI Settings toggle button to control. [#32970]
- AI Excerpt: add a fallback for ToggleGroupControl components. [#33115]
- AI Excerpt: add language and tone to AI setting toggle control. [#33111]
- AI Excerpt: connect UI with data layer. [#32875]
- AI Excerpt: disable Generate button on completed requests. [#32924]
- AI Excerpt: do not disable Generate button when there is a request error. [#32927]
- AI Excerpt: pick and pass raw post content to the server side. [#32939]
- AI Excerpt: re-enable AI Excerpt panel. [#32993]
- AI Excerpt: re-enable generate button when options change. [#32943]
- AI Excerpt: remove core Excerpt panel when registering the AI Excerpt one. [#32997]
- AI Excerpt: show a notice when request fails. [#32917]
- AI Excerpt: show the number of words in an excerpt. [#32881]
- AI Excerpt: stop and reset suggestions request once the panel gets hidden. [#33008]
- AI Excerpt: the extension isn't properly supported by P2 sites. Disable for now. [#32977]
- AI Extension: avoid empty form state after AI request. [#33183]
- AI Extension: extend only Jetpack Form blocks with AI Data. [#33026]
- AI Extension: import libraries from @wordpress/element package. [#33005]
- AI Extension: only show input automatically for empty forms. [#32986]
- Add META_NAME_FOR_POST_TIER_ID_SETTINGS const for later developments. [#32677]
- Add tracking to my account page in WooCommerce [#33145]
- Add wpcom_newsletter_categories_enabled site option. [#32569]
- Added a test for the WooCommerce HPOS option that is now synced. [#32530]
- Added to-test.md entries for 12.6. [#32987]
- Adding test for default whitelist option. [#32632]
- Adjust styling and UX of changing the block label. Stop triggering the search from Gutenberg. [#33178]
- Akismet: updated spelling of the Akismet product. [#32908]
- Akismet: utilize the Jetpack Admin UI package for handling the Akismet menu. [#32911]
- Blogroll: WIP block. [#32967]
- Blogroll: added a beta block under construction. [#32848]
- Blogroll: fix block icon. [#33076]
- Blogroll: rename Author Recommendations to Blogroll. [#32624]
- Calypsoify module: remove styles that conflict with WordPress.com. [#32919]
- Connected Account: update membership product type comment. [#32678]
- Content Lens: add the "ai-content-lens" beta extension. [#32847]
- Content Lens: pass post content when requesting post excerpt. [#32920]
- Content Lens: replace core post excerpt with AI Post Excerpt. [#32845]
- Dashboard: update the way we fetch the current theme's stylesheet to build site editor link. [#32744]
- Enable block registration by specifying block.json path. [#32697]
- Featured images fallback: add srcset. [#32824]
- Masterbar: removes submenu items of Reader link in the masterbar. This makes the Reader link
- Other: fix a potential bug. [#32768]
- Other: fix copy. [#32813]
- Other: fix link. [#32887]
- Other: link styles and scripts to block.json automatically. [#32720]
- Other: minor copy change. [#32797]
- Other: move block registration when plugin activated. [#33050]
- Other: move the feature of changing backlink into mu-wpcom. [#33024]
- Other: refactor experimental blocks registration. [#33073]
- Other: register beta blocks by specifying path to block.json. [#32815]
- Other: resolves an undefined key error on sites with uploaded media without file extensions. [#32961]
- Other: restore some Requests library v1 back-compat code, apparently WordPress.com Simple skipped that part of their update to WP 6.2. [#32894]
- Other: updated package dependencies. [#32605], [#32803], [#32804], [#32966], [#33001], [#33043]
- Payment Button Block: remove "Mark this payment plan as a donation" toggle. [#32529]
- Paywall: add login link. [#32849]
- Paywall: add tracks to emails. [#32713]
- Paywall: magic link to all users. [#32941]
- Paywall: register block for native mobile editor behind the dev flag. [#32553]
- Paywall: remove fill properties from block SVG icon. [#32638]
- SAL: prevent a potential undefined function error. [#32962]
- Site endpoint: added is_commercial to site options. [#32595]
- Social: fix video previews for Social Previews. [#33132]
- Stats: add sticker tests to override `is_commercial`. [#32758]
- Stats: utilize the modern Admin_UI package so the Jetpack submenu can be alpha-sorted. [#32958]
- Subscriptions: cleans up the memberships class to make it more DRY. [#32571]
- Subscriptions: nicer subscribers number. [#32651]
- Track store admin actions in WooCommerce analytics. Add a store_admin property to all WooCommerce analytics events. [#32692]
- WooCommerce: only allow administrators the ability to modify products. [#32699]

## 12.5 - 2023-08-23
### Enhancements
- AI Assistant: various backend improvements.
- AI Extension: launch Jetpack AI support for Form blocks.
- AI Extension: various improvements AI Assistant, update styles, and bug fixes.
- AI Extension: launch Jetpack AI support for Form blocks.
- Dashboard: add Social Image Generator options to Jetpack Social settings. [#32475]
- Mailchimp block: allow transforming to subscribe block. [#32482]
- Paywall Block: add a notice explaining what the Paywall block does in relationship to newsletters. [#32320]
Expand All @@ -21,7 +190,6 @@ This is an alpha version! The changes listed here are not final.

### Improved compatibility
- Blocks: add block.json metadata.
- Theme fields: only add is_block_theme to theme response when WordPress version is < 6.3 [#31660]

### Bug fixes
- Blocks: ensure the Markdown and Repeat Visitor blocks use clear contrasting colors when using a dark theme. [#32464]
Expand All @@ -48,8 +216,8 @@ This is an alpha version! The changes listed here are not final.
- Cookie Consent Block: avoid PHP notice [#32488]
- Created V2 edit and delete endpoints for memberships products. [#32412]
- Remove jetpack option jetpack-memberships-connected-account-id. [#32125]
- Settings menu in WP.com: add newsletter and podcasting sections. [#32146]
- Subscribe modal: don't use template parts [#32480]
- Settings menu in WP.com: add newsletter and podcasting sections. [#32146]
- Subscribe modal: update toggle copy. [#32512]
- Supports Jetpack AI Yearly offering. [#32130]
- Update icons of Jetpack blocks. [#32568]
Expand Down Expand Up @@ -8659,6 +8827,7 @@ Other bugfixes and enhancements at https://github.com/Automattic/jetpack/commits

- Initial release

[12.5]: https://wp.me/p1moTy-Vab
[11.6]: https://wp.me/p1moTy-PLI
[12.4]: https://wp.me/p1moTy-UQY
[12.3]: https://wp.me/p1moTy-Uk3
Expand Down
2 changes: 1 addition & 1 deletion wp-content/plugins/jetpack/_inc/blocks/147.js

Large diffs are not rendered by default.

111 changes: 56 additions & 55 deletions wp-content/plugins/jetpack/_inc/blocks/ai-assistant/block.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,57 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "jetpack/ai-assistant",
"title": "AI Assistant (Experimental)",
"description": "Automatically generate and modify content, powered by AI magic. The AI Assistant can be imprecise with information about people, places, or facts. We are experimenting with this feature and can tweak or remove it at any point.",
"keywords": [ "AI", "GPT", "AL", "Magic", "help", "assistant" ],
"version": "12.5.0",
"textdomain": "jetpack",
"category": "text",
"icon": "<svg viewBox='0 0 32 32' width='32' height='32' xmlns='http://www.w3.org/2000/svg'><path d='M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z'/><path d='M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z'/><path d='M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z'/></svg>",
"supports": {
"html": false,
"multiple": true,
"reusable": false
},
"attributes": {
"content": {
"type": "string"
},

"originalContent": {
"type": "string"
},

"promptType": {
"type": "string"
},

"originalMessages": {
"type": "array",
"default": []
},

"messages": {
"type": "array",
"default": []
},

"useGutenbergSyntax": {
"type": "boolean",
"default": false
},

"useGpt4": {
"type": "boolean",
"default": false
},

"customSystemPrompt": {
"type": "string",
"default": ""
}
},
"editorScript": "file:../editor.js"
}
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "jetpack/ai-assistant",
"title": "AI Assistant (Experimental)",
"description": "Automatically generate and modify content, powered by AI magic. The AI Assistant can be imprecise with information about people, places, or facts. We are experimenting with this feature and can tweak or remove it at any point.",
"keywords": [
"AI",
"GPT",
"AL",
"Magic",
"help",
"assistant"
],
"version": "12.5.0",
"textdomain": "jetpack",
"category": "text",
"icon": "<svg viewBox='0 0 32 32' width='32' height='32' xmlns='http://www.w3.org/2000/svg'><path d='M9.33301 5.33325L10.4644 8.20188L13.333 9.33325L10.4644 10.4646L9.33301 13.3333L8.20164 10.4646L5.33301 9.33325L8.20164 8.20188L9.33301 5.33325Z'/><path d='M21.3333 5.33333L22.8418 9.15817L26.6667 10.6667L22.8418 12.1752L21.3333 16L19.8248 12.1752L16 10.6667L19.8248 9.15817L21.3333 5.33333Z'/><path d='M14.6667 13.3333L16.5523 18.1144L21.3333 20L16.5523 21.8856L14.6667 26.6667L12.781 21.8856L8 20L12.781 18.1144L14.6667 13.3333Z'/></svg>",
"supports": {
"html": false,
"multiple": true,
"reusable": false
},
"attributes": {
"content": {
"type": "string"
},
"originalContent": {
"type": "string"
},
"promptType": {
"type": "string"
},
"originalMessages": {
"type": "array",
"default": []
},
"messages": {
"type": "array",
"default": []
},
"useGutenbergSyntax": {
"type": "boolean",
"default": false
},
"useGpt4": {
"type": "boolean",
"default": false
},
"customSystemPrompt": {
"type": "string",
"default": ""
}
},
"editorScript": "file:../editor.js",
"editorStyle": "file:../editor.css"
}
Loading

0 comments on commit 1126a46

Please sign in to comment.