Enhancements
-
Improve the Frontity Embedded Mode plugin to make it more secure and easy to use. Moreover, we have released a full explanation of the Embedded Mode implementation in the Frontity docs.
-
Migrate
@frontity/connectto be a thin layer on top ofreact-easy-state. This means that in the future, taking advantage of the bug fixes and other improvements fromreact-easy-statewill be much easier. #415 -
Add an
--analyzeoption to thedevandbuildcommands. The flag should be explicitly set in order to generate HTML files for bundle analysis. #774 -
Add an HMR flag to the Frontity state (
state.frontity.hmr) that indicates if the code is run on an HMR refresh or not. #783 -
Modifies the
frontity createcommand so it generates atsconfig.jsonfile and adds dev dependencies topackage.json. Feature discussion: Full TypeScript support in `frontity create`. Thanks @orballo for the Pull Request
! -
The
GooglePublisherTagcomponent now accepts an optionalcollapseEmptyDivprop
which iftruewill collapse ad slots that are not filled by Google Publisher Tag. Thanks @VinuRaj for the Pull Request
! -
Make the
@frontity/google-tag-manager-analyticspackage “AMP-aware”. This means it would render an<amp-analytics>tag for each container ID provided, along with the given configuration. #766 -
Add Frontity tests for older browsers using Selenium in BrowserStack. #638
Bug fixes
- Due to a recent warning in Chrome for missusing preload instead of modulepreload for module files we need to replace the loadable linkType for assets that have to be preloaded as modules instead. #777
- Return an empty array when there is no
<head>tag in the REST API - Head Tags plugin. Thanks @johnfrancisli for the Pull Request
! - Fix the
<Script>component to allow more attributes and event handlers. Thanks @Koli14 for the Pull Request
! - Fix the
<Link>component whenstate.source.urlorstate.frontity.urlcontains a pathname, returning the correct final link. #792 - Fix some errors causing the AMP package to fail the AMP validation: AMP package - #66. #776
- Export new types related to AMP:
AmpConfig,AmpRequestandAmpTrigger. #766 - Modify derived props so they receive
stateandlibrariesas arguments. Also, fix theDerivedtype definition. #791 - Move the call of the afterSSR() actions to before taking the state snapshot. This way any
afterSSR()action still has an option to modify the snapshot before sending it to the client. This is important for security as we delete the state.source.auth token in that action in wp-source. #764 - Prevent a possible race condition in
useInfiniteScroll. It could happen when a link changesstate.router.linkright before theuseEffectcallback that manages the route runs. #785 - Fix broken links in
mars-themeREADME.md. #789 - Fix broken links in
twentytwenty-themeReadme. #784 - Fix a bug that causes the URL being incorrectly populated when doing an HMR refresh. #783
- Make redirection URLs relative, so they redirect to
localhostin a dev environment. #775 - Remove the
form.errorsproperty because it is not currently used and was included unnecessarily in the first version of the package. #755 - Bail out of redirection if frontity is running into embedded mode. #771
- Fix a bug which caused an infinite loop if the 3xx redirection was “internal” (meaning redirecting to the WP or Frontity domain) and the
locationof the redirection matched the link as discussed in 301 redirects stored in WordPress database - #28 by luisherranz. #767 - Fix the pattern of the internal redirection when
state.source.homepageis defined, making links with a search param (?s=some+term) to keep using the post archive handler. #793 - Add different schemas for categories and tags to avoid ID collisions inside
libraries.source.populate(). #795
Plugins Changelog
frontity-headtags@1.2.1
Patch Changes
Packages Changelog
@frontity/amp@0.1.1
Patch Changes
-
900a36f9#776 Thanks @michalczaplinski! - Fix multiple errors causing the AMP package to fail the AMP validation: AMP package - #66 by SantosGuillamot -
Updated dependencies [
eb41d982,876256d8,4f12c5ee,8083bd0a,62e60216,77e0a286]:- @frontity/wp-source@1.11.3
- frontity@1.15.0
@frontity/analytics@1.4.1
Patch Changes
-
4aea44d8#766 Thanks @DAreRodz! - Export new types related to AMP:AmpConfig,AmpRequestandAmpTrigger. -
Updated dependencies [
62e60216,77e0a286]:- frontity@1.15.0
@frontity/components@1.7.2
Patch Changes
-
944d5888#770 Thanks @Koli14! - Fix the<Script>component to allow more attributes and event handlers.
-
f227d135#792 Thanks @DAreRodz! - Fix the<Link>component whenstate.source.urlorstate.frontity.urlcontains a pathname, returning the correct final link. -
Updated dependencies [
62e60216,f65f7ca0,77e0a286]:- frontity@1.15.0
- @frontity/hooks@2.2.1
@frontity/connect@1.3.0
Minor Changes
-
7111b3ce#415 Thanks @luisherranz! - Migrate@frontity/connectto be a thin layer on top ofreact-easy-state. This means that in the future, taking advantage of the bug fixes and other improvements fromreact-easy-statewill be much easier.
Patch Changes
-
641a1cf0#791 Thanks @DAreRodz! - Modify derived props so they receivestateandlibrariesas arguments. Also, fix theDerivedtype definition. -
Updated dependencies [
641a1cf0,86b2eff9]:- @frontity/types@1.8.0
@frontity/core@1.12.0
Minor Changes
-
62e60216#774 Thanks @DAreRodz! - Add an--analyzeoption to thedevandbuildcommands. The flag should be explicitly set in order to generate HTML files for bundle analysis.
-
86b2eff9#783 Thanks @luisherranz! - Add an HMR flag to the Frontity state (state.frontity.hmr) that indicates if the code is run on an HMR refresh or not.
Patch Changes
-
aaa85073#764 Thanks @michalczaplinski! - Move the call of the afterSSR() actions to before taking the state snapshot. This way anyafterSSR()action still has an option to modify the snapshot before sending it to the client. This is important for security as we delete the state.source.auth token in that action in wp-source.
-
89de8177#777 Thanks @cristianbote! - Due to a recent warning in Chrome for missusing preload instead of modulepreload for module files we need to replace the loadable linkType for assets that have to be preloaded as modules instead. -
Updated dependencies [
7111b3ce,641a1cf0]:- @frontity/connect@1.3.0
frontity@1.15.0
Minor Changes
-
62e60216#774 Thanks @DAreRodz! - Add an--analyzeoption to thedevandbuildcommands. The flag should be explicitly set in order to generate HTML files for bundle analysis.
Patch Changes
-
77e0a286#786 Thanks @orballo! - Modifies thefrontity createcommand so it generates atsconfig.jsonfile and adds dev dependencies topackage.json. Feature discussion: Full TypeScript support in `frontity create` -
Updated dependencies [
641a1cf0,86b2eff9]:- @frontity/types@1.8.0
@frontity/google-ad-manager@1.0.0
Major Changes
-
4aee489a#790 Thanks @SantosGuillamot! - Release first stable version of @frontity/wp-comments and @frontity/google-ad-manager packages.
Patch Changes
-
5ede2b97#778 Thanks @VinuRaj! - TheGooglePublisherTagcomponent now accepts an optionalcollapseEmptyDivprop
which iftruewill collapse ad slots that are not filled by Google Publisher Tag. - Updated dependencies [
62e60216,77e0a286]:- frontity@1.15.0
@frontity/google-tag-manager-analytics@1.3.0
Minor Changes
-
4aea44d8#766 Thanks @DAreRodz! - Make the @frontity/google-tag-manager-analytics package “AMP-aware”. This means
it would render an<amp-analytics>tag for each container ID provided, along
with the given configuration.
Patch Changes
@frontity/hooks@2.2.1
Patch Changes
-
f65f7ca0#785 Thanks @DAreRodz! - Prevent a possible race condition inuseInfiniteScroll. It could happen when a link changesstate.router.linkright before theuseEffectcallback that manages the route runs. -
Updated dependencies [
eb41d982,876256d8,4f12c5ee,8083bd0a,62e60216,77e0a286]:- @frontity/wp-source@1.11.3
- frontity@1.15.0
@frontity/mars-theme@1.5.1
Patch Changes
-
888060c1#789 Thanks @mburridge! - Fixes broken links in README.md -
Updated dependencies [
62e60216,944d5888,77e0a286,f227d135]:- frontity@1.15.0
- @frontity/components@1.7.2
@frontity/tiny-router@1.4.2
Patch Changes
-
86b2eff9#783 Thanks @luisherranz! - Fix a bug that causes the URL being incorrectly populated when doing an HMR refresh.
-
277c05d3#775 Thanks @DAreRodz! - Make redirection URLs relative, so they redirect tolocalhostin a dev environment. -
Updated dependencies [
62e60216,77e0a286]:- frontity@1.15.0
@frontity/twentytwenty-theme@1.3.1
Patch Changes
-
8ade4db1#784 Thanks @mburridge! - Fix broken links in Readme. -
Updated dependencies [
62e60216,944d5888,77e0a286,f227d135]:- frontity@1.15.0
- @frontity/components@1.7.2
@frontity/types@1.8.0
Minor Changes
-
86b2eff9#783 Thanks @luisherranz! - Add an HMR flag to the Frontity state (state.frontity.hmr) that indicates if the code is run on an HMR refresh or not.
Patch Changes
-
641a1cf0#791 Thanks @DAreRodz! - Modify derived props so they receivestateandlibrariesas arguments. Also, fix theDerivedtype definition.
@frontity/wp-comments@1.0.0
Major Changes
-
4aee489a#790 Thanks @SantosGuillamot! - Release first stable version of @frontity/wp-comments and @frontity/google-ad-manager packages.
Patch Changes
-
fd8d5917#755 Thanks @michalczaplinski! - Remove theform.errorsproperty because it is not currently used and was included unnecessarily in the first version of the package. -
Updated dependencies [
eb41d982,876256d8,4f12c5ee,8083bd0a,62e60216,77e0a286]:- @frontity/wp-source@1.11.3
- frontity@1.15.0
@frontity/wp-source@1.11.3
Patch Changes
-
eb41d982#771 Thanks @cristianbote! - Bail out of redirection if frontity is running into embedded mode.
-
876256d8#767 Thanks @michalczaplinski! - Fix a bug which caused an infinite loop if the 3xx redirection was “internal”
(meaning redirecting to the WP or Frontity domain) and thelocationof the
redirection matched the link as discussed in 301 redirects stored in WordPress database - #28 by luisherranz.
