New features
-
Release the first beta version of the default WordPress Comments package, which allows you to fetch the comments of a post, and submit new ones, in a really easy way.
Here we have a demo (10mins) of how it works and its functionalities:
And a Codesandbox where you can find an example about how to implement them. We recommend you to point it to your own WordPress site, so you can test the different settings and submit new comments (it isn’t currently allowed in test.frontity.org).
-
Support for Yoast plugin REST API fields. The Yoast team added support for the REST API in the 14.0 version of their plugin, and we’ve created a package,
@frontity/yoast, that fetches and populates your Frontity app with these fields.This means that if you are using Yoast ^14.0, you should use this new package. And, if you’re using a previous version where the REST API is not supported by the Yoast plugin, or you use other SEO plugin, you can use the
@frontity/head-tagspackage.Here we have a quick demo:
Enhancements
- Implement the e2e testing system when WordPress instances are required, which will help us to go faster and make the framework more reliable.
- You can use now the default Google Tag Manager events like clicks, that weren’t working properly in
@frontity/google-tag-manager-analytics. #551 - Add a
processorsprop to theHtml2Reactcomponent which overrides the processors defined inlibraries.html2react.processorsfor that specific element. #548 - Add the new types required for wp-comments. #542
- Remove all the short flags from the CLI commands. #540
Bug fixes
- Fix a bug rendering head tags for links that were not ready the first time they were visited.Also, some TypeScript refactor was done along with TSDocs. #548
- Revert a change introduced in #542. Keep setting
query,linkandrouteon all entities (including non-URL entities) in source.data. #571 - Add a derived prop in
state.sourcecalledentitythat returns the entity pointed by a given link. #548 - Add support for non-URL resources e.g. WordPress comments. #542
- Do not import
URLfromfrontityanymore. #566 - Deprecate the
--publicPathCLI arg of thenpx frontity devandnpx frontity buildcommands in favor of--public-pathto be consistent with the rest of the arguments.It also adds a log to those commands, along with the already existingmodeandtargetlogs. #541 - Fix environment variable names that were missing the middle command name in the
createandcreate-packagecommands: fromFRONTITY_NAME(wrong) toFRONTITY_CREATE_NAME(right). #545 - Deprecate the
URLimport from"frontity"in favor of thenew URLglobal that is now present in both the browser and Node 10+. #543 - Fix two bugs with
--no-promptactually prompting in thecreateandcreate-packagecommands. #545 - Update chalk version. #550
- Fix URL class wrapper in Safari. #566
- Remove the unused
minimistdependency and its types. #450 - Relax
maxEntrypointSizeoption of Webpack’s performance (#547) to:- 5Mbs for the server bundle.
- 500Kbs for the client bundles.
To keep Frontity and its packages updated, you can follow this guide of our documentation.
Packages Changelog
@frontity/wp-source@1.8.4
Patch Changes
-
b8d187b3#571 Thanks @michalczaplinski! - Revert a change introduced in #542. Keep settingquery,linkandrouteon all entities (including non-URL entities) in source.data. -
5eaf92cc#548 Thanks @DAreRodz! - Add a derived prop instate.sourcecalledentitythat returns the entity pointed by a given link. -
958fe49f#542 Thanks @michalczaplinski! - Add support for non-URL resources e.g. WordPress comments. -
10a3a977#566 Thanks @luisherranz! - Do not importURLfromfrontityanymore. -
Updated dependencies [
870e4ba5,5eaf92cc]:- @frontity/source@1.3.0
@frontity/yoast@2.0.0
Major Changes
-
b12a1006#548 Thanks @DAreRodz! - Republish the@frontity/yoastpackage
(feature discussion).This new version is compatible with WordPress sites using the
Yoast SEO plugin since its
version 14.0.The old
@frontity/yoast
package was deprecated in favor of the
@frontity/head-tags
package for WordPress sites using also the
REST API - Head Tags
plugin, but that plugin is not compatible with recent versions of Yoast SEO.
Patch Changes
@frontity/html2react@1.4.0
Minor Changes
-
b12a1006#548 Thanks @DAreRodz! - Add aprocessorsprop to theHtml2Reactcomponent which overrides the processors defined inlibraries.html2react.processorsfor that specific element.
@frontity/source@1.3.0
Minor Changes
-
870e4ba5#542 Thanks @michalczaplinski! - Add the new types required for wp-comments.
Patch Changes
-
5eaf92cc#548 Thanks @DAreRodz! - Add a derived prop instate.sourcecalledentitythat returns the entity pointed by a given link.
@frontity/head-tags@1.0.7
Patch Changes
-
b12a1006#548 Thanks @DAreRodz! - Fix a bug rendering head tags for links that were not ready the first time they were visited.Also, some TypeScript refactor was done along with TSDocs. -
10a3a977#566 Thanks @luisherranz! - Do not importURLfromfrontityanymore. - Updated dependencies [
870e4ba5,5eaf92cc]:- @frontity/source@1.3.0
@frontity/wp-comments@0.2.3
Patch Changes
-
36c2e03c#542 Thanks @michalczaplinski! - Update the implementation of the wp-comments to use the REST API directly according to the Feature Discussion: WordPress comments package - #69 by SantosGuillamot -
10a3a977#566 Thanks @luisherranz! - Do not importURLfromfrontityanymore. -
Updated dependencies [
5eaf92cc,958fe49f]:- @frontity/wp-source@1.8.3
@frontity/google-tag-manager-analytics@1.0.1
Patch Changes
-
452c2e3c#551 Thanks @SantosGuillamot! - Add the script to load the Google Tag Manager container, that is needed to listen to default Google Tag Manager events. - Updated dependencies [
10a3a977]:- frontity@1.11.1
@frontity/google-ad-manager@0.1.1
Patch Changes
-
10a3a977#566 Thanks @luisherranz! - Do not importURLfromfrontityanymore. - Updated dependencies [
10a3a977]:- frontity@1.11.1
frontity@1.11.1
Minor Changes
-
623a4146#540 Thanks @luisherranz! - Remove all the short flags from the CLI commands.
Patch Changes
-
611f3e2a#541 Thanks @luisherranz! - Deprecate the--publicPathCLI arg of thenpx frontity devandnpx frontity buildcommands in favor of--public-pathto be consistent with the rest of the arguments.It also adds a log to those commands, along with the already existingmodeandtargetlogs. -
d95262df#545 Thanks @luisherranz! - Fix environment variable names that were missing the middle command name in thecreateandcreate-packagecommands: fromFRONTITY_NAME(wrong) toFRONTITY_CREATE_NAME(right). -
6ece281a#543 Thanks @luisherranz! - Deprecate theURLimport from"frontity"in favor of thenew URLglobal that is now present in both the browser and Node 10+. -
d95262df#545 Thanks @luisherranz! - Fix two bugs with--no-promptactually prompting in thecreateandcreate-packagecommands. -
2a1a1f35#550 Thanks @luisherranz! - Update chalk version. -
10a3a977#566 Thanks @luisherranz! - Fix URL class wrapper in Safari.
@frontity/core@1.8.0
Minor Changes
-
2a1a1f35#550 Thanks @luisherranz! - Expose Webpack errors and warnings in thenpx frontity buildcommand.
Patch Changes
-
611f3e2a#541 Thanks @luisherranz! - Deprecate the--publicPathCLI arg of thenpx frontity devandnpx frontity buildcommands in favor of--public-pathto be consistent with the rest of the arguments.It also adds a log to those commands, along with the already existingmodeandtargetlogs. -
f4f20007#450 Thanks @michalczaplinski! - Remove the unusedminimistdependency and its types. -
94a1c41c#547 Thanks @luisherranz! - RelaxmaxEntrypointSizeoption of Webpack’s performance to:- 5Mbs for the server bundle.
- 500Kbs for the client bundles.