This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
Releases: Yoast/javascript
Releases · Yoast/javascript
@yoast/[email protected]
Enhancements
- When product data like rating, number of reviews, price or availability is provided, it is now shown in the Google Preview.
@yoast/[email protected]
Enhancements
- Added
Heading
block instruction. - Adds a header to the sidebar with a link to a blog post about Yoast Structured Data blocks.
- Improves the styling of the sidebar by removing the separators.
- Injects the sidebar of the block into core blocks which are part of the block.
- Watches the post title to continuously check whether it is not equal to the Job Posting title.
- Replaces
OK
in the sidebar by green checkmarks. - Changes the color of the analysis messages from grey to black.
- Refactors the
BlockValidation
enum to group valid, okay and invalid results into three categories. - Adds validation logic to the Variation picker instruction, to make it invalid until a variation is picked.
- Simplified schema-blocks validation logic.
- Adds a default tag attribute to the variable rich text instruction, allowing you to set a default tag.
- Shows the variation picker again when a variation is removed.
Bugfixes
- Fixes a bug where a variation picker would show a second, empty schema block analysis sidebar.
- Fixes a bug where the styling of the sidebar of any warning blocks located inside of a schema block did not have appropriate padding.
- Fixes a bug where the block inserter in the left sidebar crashes when hovering the yoast jobs block icon.
- Fixes a bug where the sidebar of the warning block would not show the schema blocks sidebar elements.
- Fixes the
VariationPickerPresenter: 'key' is not a prop
error that was shown in the browser console when a job posting block had been added. - Fixed the analysis conclusion message after recent changes in the block validation.
- Fixes some key prop errors in some React components.
- Fixes a bug where Schema output would still be generated if all the required blocks had been valid before, even if they were no longer valid now.
- Fixes a bug where Schema output would be generated even when no variation had been picked for the Location block.
- Fixes a bug where the schema block sidebar would not be correct after it had been added.
- Fixes a bug where the schema analysis would be green even if some required blocks were not filled in.
- Fixes a bug where a placeholder attribute was output on the frontend for instance of the RichText block instruction.
Other
- Removes a warning block when its removed block is re-added.
- Fixes the styling of the block appender used in the
InnerBlocks
block instruction.
@yoast/[email protected]
@yoast/[email protected]
Enhancements:
- When product data like rating, number of reviews, price or availability is provided, it is now shown in the Google Preview. #1118
@yoast/[email protected]
Enhancements:
- Added typings entry to
package.json
to make sure that other packages can consume the typings even with a linked schema-blocks package. #1141 - Adds a
Title
block instruction. #1129 - Adds an orange bullet to the
Analysis
in the side bar when a recommended block is removed. #1116 - Adds a redux store for schema blocks . #1119
Bugfixes:
- Fixes a bug where a sidebar select would not allow multiple selections. #1110
- Fixes a bug where todays date will be shown always no matter which date is chosen. #1131
- Fixes a bug where the link to additional information in the warning was missing. #1117
Other:
- Moves the
initialize
function to its own file, to clean up theindex.ts
file of the package. #1132 - Fixes two eslint warnings about the conversion of
window
toany
#1125
Non user facing:
- When the icon contains a svg string just convert it to an icon element. #1135
@yoast/[email protected]
Enhancements:
- Adds possibility to pass alternative labels for the SEO title and Meta description fields in the SettingsSnippetEditor. #1114
@yoast/[email protected]
Enhancements
- Removes the keyphrase highlighting in the mobile meta description to reflect new Google behavior.
- Improves the URL in the SnippetEditor.
@yoast/[email protected]
Enhancements
- Adds the option to set
keepPlaceholderOnFocus
for the RichText field.
Other
- Adds Inherit-Sidebar instruction.
@yoast/[email protected]
Enhancements
- Updates the
Checkbox
component to the newer style. Now wrapped in aFieldGroup
. - Adds a maximum width to the
Alert
component. - Exposes the
CheckboxGroup
Component.
@yoast/[email protected]
1.5.0 March 15th, 2021
Bugfixes
- Fixes a bug where the editor would crash when a separator would be generated that clashes with a generated ID in the schema template.