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 @cristian.bote 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/[email protected]

Minor Changes

Patch Changes


[email protected]

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/[email protected]

Minor Changes

Patch Changes


@frontity/[email protected]

Minor Changes

Patch Changes


@frontity/[email protected]

Minor Changes


@frontity/[email protected]

Minor Changes

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes

@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes

@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes

@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

Patch Changes


@frontity/[email protected]

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