Frontity release: New link processor to manage the internal content links

New features

Enhancements

  • Improve the performance of the serve command, that was taking too much to spin the server. Thanks @cristianbote for the Pull Request to solve this! :slightly_smiling_face:
  • Fix a couple of unnecessary rerenderings when transitioning from one data object to another. #616
  • Update TypeScript version to 4.0. #449
  • Rename Taxonomy to Term when it refers to terms, and refactor entity types (feature discussion). These changes were made in this Pull Request:
    • Alias TaxonomyData to TermData.
    • Alias isTaxonomy() to isTerm().
    • Deprecate data.isTaxonomy and add data.isTerm.
    • Rename TaxonomyEntity to TermEntity.
    • Rename TaxonomyType to TaxonomyEntity.
    • Also, rename PostType to TypeEntity.
  • Stop using instanceof Array in favor of Array.isArray(). #616
  • Add type guards for data objects and entities (feature discussion).
  • Add a type representing values serializable in JS and update types for derived state. #610
  • Expose the Frontity package type, which includes those props generated by the Frontity framework. #590

Bug fixes

  • Frontity doesnโ€™t โ€œrecognizeโ€ the source of data if the route is NOT 100% lower case #604. Thanks @nandotess85 for reporting the bug and the Pull Request to solve it! :slightly_smiling_face:
  • Special character in permalink cause internal server error #432.

Packages Changelog


@frontity/components@1.6.0

Minor Changes

Patch Changes


frontity@1.13.0

Minor Changes

  • 6b4bf82b #610 Thanks @michalczaplinski! - Switch from state.source.api to state.source.url in the frontity.settings.js file generated by npx frontity create.

Patch Changes


@frontity/html2react@1.5.0

Minor Changes

Patch Changes


@frontity/source@1.4.0

Minor Changes

Patch Changes


@frontity/types@1.6.0

Minor Changes


@frontity/wp-source@1.10.0

Minor Changes

Patch Changes


@frontity/analytics@1.2.1

Patch Changes


@frontity/comscore-analytics@1.1.1

Patch Changes


@frontity/connect@1.1.4

Patch Changes

@frontity/core@1.9.1

Patch Changes

  • e9f7b5c6 #609 Thanks @cristianbote! - The serve command was taking too much to spin the server. That was due to the build and dev scripts which are having side-effects by loading ts-node and other scripts.
  • Updated dependencies [b766e330]:

@frontity/google-ad-manager@0.1.2

Patch Changes


@frontity/google-analytics@1.3.1

Patch Changes

@frontity/google-tag-manager-analytics@1.1.1

Patch Changes


@frontity/head-tags@1.0.8

Patch Changes

@frontity/mars-theme@1.4.4

Patch Changes


@frontity/router@1.1.2

Patch Changes


@frontity/smart-adserver@1.0.1

Patch Changes


@frontity/tiny-router@1.2.3

Patch Changes


@frontity/wp-comments@0.2.4

Patch Changes


@frontity/yoast@2.0.1

Patch Changes

  • 12fc1797 #610 Thanks @michalczaplinski! - Fix Yoast type import of state.source.api, which is now in @frontity/wp-source and not in @frontity/source.

In the future, once the @frontity/yoast package starts using state.source.url instead of state.source.api, the types of @frontity/source should be used again.

3 Likes