Skip to content

Latest commit

 

History

History
225 lines (101 loc) · 9.6 KB

CHANGELOG.md

File metadata and controls

225 lines (101 loc) · 9.6 KB

3.0.1 (2021-07-30)

Bug Fixes

  • plugin: fix build script (d6a81c4)

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

2.2.1 (2021-03-22)

Performance Improvements

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

2.2.0 (2021-03-21)

Features

  • plugin: add es2015 module exports (640de93)

Performance Improvements

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

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)

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)

2.1.0 (2021-02-03)

Features

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

2.0.2 (2021-02-02)

Bug Fixes

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

2.0.1 (2021-02-02)

Bug Fixes

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

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)

1.4.1 (2021-01-11)

Performance Improvements

  • deps: updated babel and pathToRegexp versions (318b26e)

1.4.0 (2020-10-08)

Features

  • plugin: bump node min version to 10.13.0 (470e7ac)

1.3.5 (2019-08-23)

Bug Fixes

  • Link: Link component now accepts regular paths as well as route names (e21e851)

1.3.4 (2019-08-20)

Bug Fixes

  • package: include types in package json (f44b4c7)

1.3.3 (2019-08-15)

Bug Fixes

  • node: allow passing extra pages context to createAdvancedPage() (ca367d9)

1.3.2 (2019-08-14)

Bug Fixes

  • node: add childOf to type Route to support gatsby v3 (ec1fc4f)

1.3.1 (2019-08-14)

Bug Fixes

  • node: rewrote create-pages tests, added some docs to readme (50cc29a)

1.3.0 (2019-08-14)

Features

  • api: Implemented getActivatedRoute(), isActivatedRoute() and getMatchingRoute() (3d4b95b)

1.2.1 (2019-08-12)

Bug Fixes

  • node: catch graphql errors thrown by page helpers (0a783ff)

1.2.0 (2019-08-12)

Bug Fixes

  • node: add plugin basePath to generated route map (8f0cbb9)

Features

  • api: added navigate() function that extends gatsby's navigate to allow route names (757d734)

1.1.2 (2019-08-12)

Bug Fixes

  • api: respect Gatsby's pathPrefix when generating paths (a2e9f43)

1.1.1 (2019-08-10)

Bug Fixes

  • pagination: removed 'paging-algorithm', added function to calc pages range (fc710fb)

1.1.0 (2019-08-10)

Features

  • expose compilePath to public api (2a0e993)

1.0.1 (2019-08-09)

Bug Fixes

  • fixed build and lint scripts (6e5c2f1)

1.0.0 (2019-08-09)

Features