New features
-
First stable version of
@frontity/google-analytics
package. -
First stable version of
@frontity/comscore-analytics
package. -
First stable version of
@frontity/google-tag-manager-analytics
package.Note that in this case, we’ve renamed the package to
@frontity/google-tag-manager-analytics
so it deprecates@frontity/google-tag-manager
package. Users updating to the new version have to update their triggers and tags in their GTM containers in order to match the new format for pageviews. -
First stable version of
@frontity/analytics
library (Feature Discussion), which is used by theanalytics
packages.The main differences with the previous version are:- In
state.analytics
, thenamespace
array is replaced by two objects that will contain the namespaces with a boolean value:pageviews
andevents
. This allow users to have more control over which analytics packages should send pageviews or events, and it can also be configured infrontity.settings.js
. - In
actions.analytics
, thesendPageview
andsendEvent
actions are renamed topageview
andevent
respectively. - Pageview
page
property is nowlink
. - Event
event
property is nowname
.
- In
-
Add a
Slot
component which can be used to fulfill the “Slot and Fill” pattern.- Feature Discussion - Slot and Fill.
- Pull request #475.
-
New
<Link>
component that allows theme developers to use it without having to create one or manually deal with the router.- Thanks here to @nicholasio.oliveira for the Pull Request #507!
- You can find more info at the Feature Discussion.
-
Add support for
ads.txt
in thenow-builder
. Thanks @JmcGraphics for the Pull Request #24!
Bug fixes
-
Filter the
when
prop from the Switch component children #362. -
Remove the tsNode.register() from the CLI #355.
- Pull Request #501.
- Packages affected:
frontity
@frontity/core
-
Use
React.ElementType
instead of the deprecatedReact.ReactType
.- Pull Request #475.
- Packages affected:
@frontity/types
-
Fix the types of
connect
when imported fromfrontity
and used with options, like:import { connect } from "frontity"; const Component = () = { /* Some React component... */ }; export default connect(Component, { injectProps: false });
- Pull Request #508.
- Packages affected:
@frontity/connect
@frontity/types
To keep Frontity and its packages updated, you can follow this guide of our documentation.
Packages Changelog
@frontity/comscore-analytics@1.0.0
Major Changes
-
5ece8821
#472 Thanks @DAreRodz! - Release first stable version of@frontity/comscore-analytics
package (Feature Discussion).
Patch Changes
@frontity/google-tag-manager-analytics@1.0.0
Major Changes
-
5ece8821
#472 Thanks @DAreRodz! - Release the first version of@frontity/google-tag-manager-analytics
(Feature Discussion).Deprecates@frontity/google-tag-manager
package.
This package was renamed from
@frontity/google-tag-manager
to@frontity/google-tag-manager-analytics
to remark that it belongs to the Frontity analytics packages.
Patch Changes
@frontity/analytics@1.2.0
Minor Changes
-
2fb73fc7
#472 Thanks @DAreRodz! - Release the first stable version of @frontity/analytics library (Feature Discussion).The main differences with the previous version are:- In
state.analytics
, thenamespace
array is replaced by two objects that will contain the namespaces with a boolean value:pageviews
andevents
. This allow users to have more control over which analytics packages should send pageviews or events, and it can also be configured infrontity.settings.js
. - In
actions.analytics
, thesendPageview
andsendEvent
actions are renamed topageview
andevent
respectively. - Pageview
page
property is nowlink
. - Event
event
property is nowname
.
- In
Patch Changes
@frontity/components@1.4.0
Minor Changes
-
559b3c5a
#507 - Introduces the<Link>
component. Theme authors can now use the Link component without having to create one or manually deal with the router.
Patch Changes
-
a0cc3e77
#503 Thanks @goiblas! - Filter thewhen
prop from the Switch component children. - Updated dependencies [
322d22ec
,f5bf7b1c
]:- frontity@1.10.0
frontity@1.10.0
Minor Changes
-
f5bf7b1c
#475 Thanks @michalczaplinski! - Add aSlot
component which can be used to fulfill the “Slot and Fill” pattern: Slot and Fill
Patch Changes
-
322d22ec
#501 Thanks @michalczaplinski! - Remove the tsNode.register() from the CLI - Updated dependencies [
f5bf7b1c
,159e02ca
]:- @frontity/types@1.4.2
@frontity/google-analytics@1.2.0
Minor Changes
-
5ece8821
#472 Thanks @DAreRodz! - Release the first stable version of@frontity/google-analytics
package (Feature Discussion).
Patch Changes
@frontity/google-tag-manager@0.3.0
Minor Changes
-
496192cc
#472 Thanks @luisherranz! - Deprecate@frontity/google-tag-manager
in favor of@frontity/google-tag-manager-analytics
.
This package was renamed from
@frontity/google-tag-manager
to@frontity/google-tag-manager-analytics
to remark that it belongs to the Frontity analytics packages.
@frontity/connect@1.1.3
Patch Changes
-
159e02ca
#508 Thanks @luisherranz! - Fix the types ofconnect
when imported fromfrontity
and used with options, like:
import { connect } from "frontity";
const Component = () = {
/* Some React component... */
};
export default connect(Component, { injectProps: false });
@frontity/core@1.7.2
Patch Changes
-
322d22ec
#501 Thanks @michalczaplinski! - Add the tsNode.register fordev
andbuild
scripts which were previously infrontity
- Updated dependencies [
159e02ca
]:- @frontity/connect@1.1.3
@frontity/types@1.4.2
Patch Changes
-
f5bf7b1c
#475 Thanks @michalczaplinski! - UseReact.ElementType
instead of the deprecatedReact.ReactType
-
159e02ca
#508 Thanks @luisherranz! - Fix the types ofconnect
when imported fromfrontity
and used with options, like:
import { connect } from "frontity";
const Component = () = {
/* Some React component... */
};
export default connect(Component, { injectProps: false });