New features
-
Reimplementation of
useInView
hook as a wrapper forreact-intersection-observer
that checks ifIntersectionObserver
is supported by the browser. -
Implements
useConnect()
and adds options object{ injectProps: boolean }
toconnect()
.- Thanks @orballo for the Pull Request #404!
- More info at the Feature Discussion and the docs.
-
Add a
--publicPath
option tobuild
anddev
commands and pass it to webpack builds.- Pull Request #420.
- More info at the Feature Discussion and the docs.
Enhancements
- Change urls to point to test.frontity.org instead of test.frontity.io. #433
- Use of recommended way to handle search results in a Frontity project. #414
- Remove unnecessary css array in twentytwenty-theme. #441
Bug fixes
- Html2react script processor does not work with
script type=module
. #436 -
actions.source.fetch
should populate link, route, page and query even if data exists. #365 -
actions.source.fetch
with “force: true” doesn’t work as expected. #340 - Head Tags plugin fails when HTML of
<head>
is malformed. #27
Packages Changelog
@frontity/hooks@2.0.0
Major Changes
-
8a0bb8f0
#413 Thanks @orballo! - Reimplementation ofuseInView
hook as a wrapper forreact-intersection-observer
that checks ifIntersectionObserver
is supported by the browser.
Patch Changes
@frontity/connect@1.1.0
Minor Changes
-
996865a2
#404 Thanks @orballo! - ImplementsuseConnect()
and adds options object{ injectProps: boolean }
toconnect()
.
@frontity/core@1.6.1
Minor Changes
-
661ac083
#420 Thanks @DAreRodz! - Add a--publicPath
option tobuild
anddev
commands and pass it to webpack builds.
Patch Changes
-
b4b25e43
#446 Thanks @DAreRodz! - Fix --publicPath option when its value is a URL with domain specified. - Updated dependencies [
996865a2
]:- @frontity/connect@1.1.0
frontity@1.7.0
Minor Changes
-
661ac083
#420 Thanks @DAreRodz! - Add a--publicPath
option tobuild
anddev
commands and pass it to webpack builds.
Patch Changes
-
75343be3
#433 Thanks @SantosGuillamot! - Change urls to point to test.frontity.org instead of test.frontity.io. - Updated dependencies [
996865a2
,661ac083
]:
@frontity/twentytwenty-theme@1.2.0
Minor Changes
-
789b5d08
#414 Thanks @juanmaguitar! - Use of recommended way to handle search results in a Frontity project
Patch Changes
-
e12d2e3e
#441 Thanks @luisherranz! - Remove unnecessary css array. - Updated dependencies [
e9cff121
,661ac083
,75343be3
]:
@frontity/components@1.3.2
Patch Changes
@frontity/head-tags@1.0.3
Patch Changes
-
75343be3
#433 Thanks @SantosGuillamot! - Change urls to point to test.frontity.org instead of test.frontity.io. - Updated dependencies [
1c247126
,996865a2
,661ac083
,75343be3
]:
@frontity/html2react@1.3.3
Patch Changes
-
e9cff121
#437 Thanks @michalczaplinski! - Add support for processing<script>
tags withtype=module
. - Updated dependencies [
996865a2
,661ac083
,75343be3
]:
@frontity/source@1.2.1
Patch Changes
-
75343be3
#433 Thanks @SantosGuillamot! - Change urls to point to test.frontity.org instead of test.frontity.io. - Updated dependencies [
661ac083
,75343be3
]:- frontity@1.7.0
@frontity/wp-source@1.7.1
Patch Changes
-
1c247126
#389 Thanks @michalczaplinski! - Bugfixes:- When using actions.source.fetch("/some-link", { force: true }), the data object property isReady should never be reset to false.
- The data object custom properties (like items, isCategory…) should not be removed from the data.
- The entities I get from the new fetch should overwrite the old ones.
- When calling actions.source.fetch, it should populate data with link, route, page and query, even if data already exists.
-
75343be3
#433 Thanks @SantosGuillamot! - Change urls to point to test.frontity.org instead of test.frontity.io.