Frontity release: Google Tag Manager beta package and other improvements

New features and improvements

  • Release beta version of the Google Tag Manager package.

Bear in mind that this package is currently in beta version. It hasn’t proper tests or docs and we’re planning to change its API in the coming weeks.

  • Add an option called authorBase to change the base of author links. Useful when a custom structure for permalinks is set in the WordPress site connected with the @frontity/wp-source package.
  • Add method option to actions.router.set() to allow "replace" in addition to "push".
  • Use an options object as the second parameter of the error function to keep consistency with the rest of the Frontity APIs. #351
  • Recommend mars-theme to beginners, because it’s simpler and has more comments. #354
  • Change the TypeScript API to define processors in @frontity/html2react, allowing to pass an Element definition instead of just the element’s props definition. #370

Bug fixes

  • data.isHome is now available when data.isReady turns true. #369
  • Move getSnapshot from a store property to an import of "@frontity/connect". #360
  • Fix 404 pages of twentytwenty-theme. #358
  • Fix vulnerability in minimist package. #357
  • Don’t catch errors in npx frontity serve . #350
  • Add a "bin" property to the package.json of create-frontity. #349
  • Temporary fix to make anchors with a hash work, like /some-post#some-id . This will be superseded by a combination of router converters and an internal router hook. Thanks @orballo! #321

:bulb: To keep Frontity and its packages updated, you can follow this guide of our documentation.


Packages Changelog


@frontity/connect@1.0.5

Patch Changes


@frontity/core@1.5.2

Patch Changes


@frontity/wp-source@1.7.0

Minor Changes

  • 9b7858ba #382 Thanks @DAreRodz! - Add an option called authorBase to change the base of author links. Useful when a custom structure for permalinks is set in the WordPress site connected with the @frontity/wp-source package.

Patch Changes


@frontity/router@1.1.0

Minor Changes


@frontity/tiny-router@1.2.0

Minor Changes

Patch Changes

  • 5e199053 #321 Thanks @orballo! - Temporary fix to make anchors with a hash work, like /some-post#some-id.

    This will be superseded by a combination of router converters and an internal router hook.- Updated dependencies [0b09d627]:


frontity@1.5.3

Patch Changes


@frontity/google-tag-manager@0.1.1

Patch Changes


@frontity/twentytwenty-theme@1.1.1

Patch Changes


@frontity/html2react@1.3.2

Patch Changes

  • 4dc3ccd8 #370 Thanks @DAreRodz! - Change the TypeScript API to define processors, allowing to pass an Element definition instead of just the element’s props definition.
  • Updated dependencies [34b37ec8, 7854971e]:

@frontity/error@0.1.0

Minor Changes

  • 43cf2305 #351 Thanks @luisherranz! - Use an options object as the second parameter of the error function to keep consistency with the rest of the Frontity APIs.

create-frontity@1.0.1

Patch Changes


@frontity/components@1.3.1

Patch Changes

4 Likes