Skip to content

Releases: mohatt/gatsby-plugin-advanced-pages

v3.0.1

30 Jul 01:04
Compare
Choose a tag to compare

3.0.1 (2021-07-30)

Bug Fixes

  • plugin: fix build script (d6a81c4)

v3.0.0

30 Jul 00:30
Compare
Choose a tag to compare

3.0.0 (2021-07-30)

Bug Fixes

chore

Features

  • plugin: convert getActivatedRoute and isActivatedRoute to React hooks (027824a)

Performance Improvements

  • plugin: improve error message in Link component (0ebdfa5)
  • plugin: use clsx package instead of classnames (a8e2ae6)

BREAKING CHANGES

  • plugin: getActivatedRoute and isActivatedRoute are now React hooks useRoute and useIsRoute.
  • deps: The plugin now requires at least Gatsby v3.0.4

v2.2.1

22 Mar 13:28
Compare
Choose a tag to compare

2.2.1 (2021-03-22)

Performance Improvements

  • plugin: improve route matching mechanism (7df3960)
  • plugin: improve type declarations (9f68375)

v2.2.0

21 Mar 22:16
Compare
Choose a tag to compare

2.2.0 (2021-03-21)

Features

  • plugin: add es2015 module exports (640de93)

Performance Improvements

  • plugin: rename main entry file to index.js (546514d)

v2.1.2

18 Feb 10:07
Compare
Choose a tag to compare

2.1.2 (2021-02-18)

Bug Fixes

  • plugin: use useLocation hook to allow route matching during SSR (2eebfc5)

Reverts

  • "docs(readme): changed usage example [skip-ci]" (891f1ef)

v2.1.1

04 Feb 20:15
Compare
Choose a tag to compare

2.1.1 (2021-02-04)

Performance Improvements

  • plugin: fragments no longer need to be copied over to the .cache directory because gatsby looks through node_modules (fd8cbf8)
  • plugin: use gatsby's ".cache" to write routes.json instead of writing it to the module directory inside node_modules (fd81233)

v2.1.0

03 Feb 08:00
Compare
Choose a tag to compare

2.1.0 (2021-02-03)

Features

  • plugin: added support for inline pages configuration (78a6b78)

v2.0.2

02 Feb 11:07
Compare
Choose a tag to compare

2.0.2 (2021-02-02)

Bug Fixes

  • plugin: ignore encoding path segments when creating pages (gatsby already does it) (2f8ed3b)

v2.0.1

02 Feb 09:35
Compare
Choose a tag to compare

2.0.1 (2021-02-02)

Bug Fixes

  • plugin: changed route compiler function to make sure we encode path segments consistently (09a32f9)

v2.0.0

01 Feb 16:02
Compare
Choose a tag to compare

2.0.0 (2021-02-01)

BREAKING CHANGES

  • The new version introduces a new better api for defining pages and routes, the old api is no longer supported.
  • The schema for the types defined by the plugin has been changed, old GraphQL queries will not work.
  • The Route GraphQL type has been removed.

Features

  • plugin: Removed Markdown/Mdx transformer dependency, the plugin can now function without them. (1964adb)
  • plugin: Implemented "pluginOptionsSchema" node api for validating plugin options and pages config. (1964adb)
  • plugin: Added lookupPath() for validating paths within plugin (de49bab)

Performance Improvements

  • plugin: added error reporter (318b26e)