3.0.1 (2021-07-30)
- plugin: fix build script (d6a81c4)
3.0.0 (2021-07-30)
- plugin: fix license (49da5bb)
- deps: update deps (cde2a69)
- plugin: convert
getActivatedRoute
andisActivatedRoute
to React hooks (027824a)
- plugin: improve error message in
Link
component (0ebdfa5) - plugin: use
clsx
package instead ofclassnames
(a8e2ae6)
- plugin:
getActivatedRoute
andisActivatedRoute
are now React hooksuseRoute
anduseIsRoute
. - deps: The plugin now requires at least Gatsby v3.0.4
2.2.1 (2021-03-22)
2.2.0 (2021-03-21)
- plugin: add es2015 module exports (640de93)
- plugin: rename main entry file to index.js (546514d)
2.1.2 (2021-02-18)
- plugin: use
useLocation
hook to allow route matching during SSR (2eebfc5)
- "docs(readme): changed usage example [skip-ci]" (891f1ef)
2.1.1 (2021-02-04)
- 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)
- plugin: added support for inline pages configuration (78a6b78)
2.0.2 (2021-02-02)
- plugin: ignore encoding path segments when creating pages (gatsby already does it) (2f8ed3b)
2.0.1 (2021-02-02)
- plugin: changed route compiler function to make sure we encode path segments consistently (09a32f9)
2.0.0 (2021-02-01)
- 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.
- 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)
- plugin: added error reporter (318b26e)
1.4.1 (2021-01-11)
- deps: updated babel and pathToRegexp versions (318b26e)
1.4.0 (2020-10-08)
- plugin: bump node min version to 10.13.0 (470e7ac)
1.3.5 (2019-08-23)
- Link: Link component now accepts regular paths as well as route names (e21e851)
1.3.4 (2019-08-20)
- package: include types in package json (f44b4c7)
1.3.3 (2019-08-15)
- node: allow passing extra pages context to
createAdvancedPage()
(ca367d9)
1.3.2 (2019-08-14)
- node: add
childOf
to typeRoute
to support gatsby v3 (ec1fc4f)
1.3.1 (2019-08-14)
- node: rewrote create-pages tests, added some docs to readme (50cc29a)
1.3.0 (2019-08-14)
- api: Implemented getActivatedRoute(), isActivatedRoute() and getMatchingRoute() (3d4b95b)
1.2.1 (2019-08-12)
- node: catch graphql errors thrown by page helpers (0a783ff)
1.2.0 (2019-08-12)
- node: add plugin basePath to generated route map (8f0cbb9)
- api: added
navigate()
function that extends gatsby's navigate to allow route names (757d734)
1.1.2 (2019-08-12)
- api: respect Gatsby's pathPrefix when generating paths (a2e9f43)
1.1.1 (2019-08-10)
- pagination: removed 'paging-algorithm', added function to calc pages range (fc710fb)
1.1.0 (2019-08-10)
- expose compilePath to public api (2a0e993)
1.0.1 (2019-08-09)
- fixed build and lint scripts (6e5c2f1)
- added semantic-release (bb03b50)