New features
-
First stable version of
@frontity/google-analyticspackage. -
First stable version of
@frontity/comscore-analyticspackage. -
First stable version of
@frontity/google-tag-manager-analyticspackage.Note that in this case, we’ve renamed the package to
@frontity/google-tag-manager-analyticsso it deprecates@frontity/google-tag-managerpackage. 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/analyticslibrary (Feature Discussion), which is used by theanalyticspackages.The main differences with the previous version are:- In
state.analytics, thenamespacearray is replaced by two objects that will contain the namespaces with a boolean value:pageviewsandevents. 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, thesendPageviewandsendEventactions are renamed topageviewandeventrespectively. - Pageview
pageproperty is nowlink. - Event
eventproperty is nowname.
- In
-
Add a
Slotcomponent 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.txtin thenow-builder. Thanks @JmcGraphics for the Pull Request #24!
Bug fixes
-
Filter the
whenprop from the Switch component children #362. -
Remove the tsNode.register() from the CLI #355.
- Pull Request #501.
- Packages affected:
frontity@frontity/core
-
Use
React.ElementTypeinstead of the deprecatedReact.ReactType.- Pull Request #475.
- Packages affected:
@frontity/types
-
Fix the types of
connectwhen imported fromfrontityand 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-analyticspackage (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-managerpackage.
This package was renamed from
@frontity/google-tag-managerto@frontity/google-tag-manager-analyticsto 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, thenamespacearray is replaced by two objects that will contain the namespaces with a boolean value:pageviewsandevents. 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, thesendPageviewandsendEventactions are renamed topageviewandeventrespectively. - Pageview
pageproperty is nowlink. - Event
eventproperty 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 thewhenprop from the Switch component children. - Updated dependencies [
322d22ec,f5bf7b1c]:- frontity@1.10.0
frontity@1.10.0
Minor Changes
-
f5bf7b1c#475 Thanks @michalczaplinski! - Add aSlotcomponent 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-analyticspackage (Feature Discussion).
Patch Changes
@frontity/google-tag-manager@0.3.0
Minor Changes
-
496192cc#472 Thanks @luisherranz! - Deprecate@frontity/google-tag-managerin favor of@frontity/google-tag-manager-analytics.
This package was renamed from
@frontity/google-tag-managerto@frontity/google-tag-manager-analyticsto remark that it belongs to the Frontity analytics packages.
@frontity/connect@1.1.3
Patch Changes
-
159e02ca#508 Thanks @luisherranz! - Fix the types ofconnectwhen imported fromfrontityand 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 fordevandbuildscripts which were previously infrontity - Updated dependencies [
159e02ca]:- @frontity/connect@1.1.3
@frontity/types@1.4.2
Patch Changes
-
f5bf7b1c#475 Thanks @michalczaplinski! - UseReact.ElementTypeinstead of the deprecatedReact.ReactType -
159e02ca#508 Thanks @luisherranz! - Fix the types ofconnectwhen imported fromfrontityand used with options, like:
import { connect } from "frontity";
const Component = () = {
/* Some React component... */
};
export default connect(Component, { injectProps: false });
To keep Frontity and its packages updated, you can follow