Skip to content

Commit

Permalink
prep build 09/21
Browse files Browse the repository at this point in the history
  • Loading branch information
bph committed Sep 21, 2022
2 parents 4574789 + f07982a commit 4caf38d
Show file tree
Hide file tree
Showing 149 changed files with 1,694 additions and 729 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ phpcs.xml
phpunit.xml
phpunit-watcher.yml
.tool-versions
gutenberg.tmp.php
test/storybook-playwright/test-results
test/storybook-playwright/specs/__snapshots__
9 changes: 2 additions & 7 deletions bin/plugin/commands/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ async function updatePackages( config ) {
}
);

const productionPackageNames = Object.keys(
require( '../../../package.json' ).dependencies
);

const processedPackages = await Promise.all(
changelogFilesPublicPackages.map( async ( changelogPath ) => {
const fileStream = fs.createReadStream( changelogPath );
Expand All @@ -187,13 +183,12 @@ async function updatePackages( config ) {
const packageName = `@wordpress/${
changelogPath.split( '/' ).reverse()[ 1 ]
}`;
// Enforce version bump for production packages when
// Enforce version bump for all packages when
// the stable minor or major version bump requested.
if (
! versionBump &&
releaseType !== 'next' &&
minimumVersionBump !== 'patch' &&
productionPackageNames.includes( packageName )
minimumVersionBump !== 'patch'
) {
versionBump = minimumVersionBump;
}
Expand Down
24 changes: 24 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
== Changelog ==

= 14.1.1 =



## Changelog

### Bug Fixes

- Blocks: Fix searching of blocks when description is non-string. ([44233](https://github.com/WordPress/gutenberg/pull/44233)) Resolves an editor crash which could happen when searching for blocks.


## First time contributors

The following PRs were merged by first time contributors:



## Contributors

The following contributors merged PRs in this release:

@tyxla


= 14.1.0 =

## Changelog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ registerBlockType( 'gutenberg-examples/example-04-controls-esnext', {
category: 'design',
attributes: {
content: {
type: 'array',
source: 'children',
type: 'string',
source: 'html',
selector: 'p',
},
alignment: {
Expand Down Expand Up @@ -109,8 +109,8 @@ registerBlockType( 'gutenberg-examples/example-04-controls-esnext', {

attributes: {
content: {
type: 'array',
source: 'children',
type: 'string',
source: 'html',
selector: 'p',
},
alignment: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ registerBlockType( 'gutenberg-examples/example-03-editable-esnext', {
category: 'design',
attributes: {
content: {
type: 'array',
source: 'children',
type: 'string',
source: 'html',
selector: 'p',
},
},
Expand Down Expand Up @@ -80,8 +80,8 @@ registerBlockType( 'gutenberg-examples/example-03-editable-esnext', {

attributes: {
content: {
type: 'array',
source: 'children',
type: 'string',
source: 'html',
selector: 'p',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ registerBlockType( 'gutenberg-examples/example-03-editable-esnext', {
category: 'design',
attributes: {
content: {
type: 'array',
source: 'children',
type: 'string',
source: 'html',
selector: 'p',
},
},
Expand Down Expand Up @@ -124,8 +124,8 @@ registerBlockType( 'gutenberg-examples/example-03-editable-esnext', {

attributes: {
content: {
type: 'array',
source: 'children',
type: 'string',
source: 'html',
selector: 'p',
},
},
Expand Down
12 changes: 6 additions & 6 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Embed a simple audio player. ([Source](https://github.com/WordPress/gutenberg/tr

## Avatar

Add a user's avatar. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/avatar))
Add a users avatar. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/avatar))

- **Name:** core/avatar
- **Category:** theme
Expand Down Expand Up @@ -68,7 +68,7 @@ A calendar of your site’s posts. ([Source](https://github.com/WordPress/gutenb

- **Name:** core/calendar
- **Category:** widgets
- **Supports:** align, typography (fontSize, lineHeight)
- **Supports:** align, color (background, link, text), typography (fontSize, lineHeight)
- **Attributes:** month, year

## Categories List
Expand Down Expand Up @@ -188,7 +188,7 @@ Displays a paginated navigation to next/previous set of comments, when applicabl
- **Supports:** align, color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:** paginationArrow

## Next Page
## Comments Next Page

Displays the next comment's page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-next))

Expand All @@ -197,7 +197,7 @@ Displays the next comment's page link. ([Source](https://github.com/WordPress/gu
- **Supports:** color (background, gradients, ~~text~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:** label

## Page Numbers
## Comments Page Numbers

Displays a list of page numbers for comments pagination. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-numbers))

Expand All @@ -206,7 +206,7 @@ Displays a list of page numbers for comments pagination. ([Source](https://githu
- **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:**

## Previous Page
## Comments Previous Page

Displays the previous comment's page link. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/comments-pagination-previous))

Expand Down Expand Up @@ -730,7 +730,7 @@ Display a graphic to represent this site. Update the block, and the changes appl

## Site Tagline

Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if it's not displayed in the theme design. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/site-tagline))
Describe in a few words what the site is about. The tagline can be used in search results or when sharing on social networks even if its not displayed in the theme design. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/site-tagline))

- **Name:** core/site-tagline
- **Category:** theme
Expand Down
9 changes: 4 additions & 5 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ function gutenberg_register_packages_styles( $styles ) {

$wp_edit_blocks_dependencies = array(
'wp-components',
'wp-editor',
// This need to be added before the block library styles,
// The block library styles override the "reset" styles.
'wp-reset-editor-styles',
Expand Down Expand Up @@ -387,7 +386,7 @@ function gutenberg_register_packages_styles( $styles ) {
$styles,
'wp-edit-navigation',
gutenberg_url( 'build/edit-navigation/style.css' ),
array( 'wp-components', 'wp-block-editor', 'wp-edit-blocks' ),
array( 'wp-components', 'wp-block-editor', 'wp-editor', 'wp-edit-blocks' ),
$version
);
$styles->add_data( 'wp-edit-navigation', 'rtl', 'replace' );
Expand All @@ -396,7 +395,7 @@ function gutenberg_register_packages_styles( $styles ) {
$styles,
'wp-edit-site',
gutenberg_url( 'build/edit-site/style.css' ),
array( 'wp-components', 'wp-block-editor', 'wp-edit-blocks' ),
array( 'wp-components', 'wp-block-editor', 'wp-editor', 'wp-edit-blocks' ),
$version
);
$styles->add_data( 'wp-edit-site', 'rtl', 'replace' );
Expand All @@ -405,7 +404,7 @@ function gutenberg_register_packages_styles( $styles ) {
$styles,
'wp-edit-widgets',
gutenberg_url( 'build/edit-widgets/style.css' ),
array( 'wp-components', 'wp-block-editor', 'wp-edit-blocks', 'wp-reusable-blocks', 'wp-widgets' ),
array( 'wp-components', 'wp-block-editor', 'wp-editor', 'wp-edit-blocks', 'wp-reusable-blocks', 'wp-widgets' ),
$version
);
$styles->add_data( 'wp-edit-widgets', 'rtl', 'replace' );
Expand All @@ -423,7 +422,7 @@ function gutenberg_register_packages_styles( $styles ) {
$styles,
'wp-customize-widgets',
gutenberg_url( 'build/customize-widgets/style.css' ),
array( 'wp-components', 'wp-block-editor', 'wp-edit-blocks', 'wp-widgets' ),
array( 'wp-components', 'wp-block-editor', 'wp-editor', 'wp-edit-blocks', 'wp-widgets' ),
$version
);
$styles->add_data( 'wp-customize-widgets', 'rtl', 'replace' );
Expand Down
Loading

0 comments on commit 4caf38d

Please sign in to comment.