Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Releases: cheap-glitch/vue-cli-plugin-sitemap

2.3.0

05 Oct 15:37
Compare
Choose a tag to compare
  • Add hashMode option to support Vue Router in hash mode (#14)

2.2.1

16 Sep 09:06
Compare
Choose a tag to compare
  • Add esm as a peer dependency

2.2.0

19 Jun 09:22
Compare
Choose a tag to compare

Breaking changes

  • Ignore all routes with globs in their path unless they have the loc meta property
  • Throw an error during generation if a slug doesn't match the regex pattern of a path parameter

New

  • Add support for paths with regexp patterns
  • Add support for optional path parameters

Bugfixes

  • Create the sitemap CLI command even if the config object is missing

2.1.2

08 Jun 09:27
Compare
Choose a tag to compare
  • Avoid writing sitemaps twice when creating two bundles (e.g. with --modern flag)

2.1.1

12 Mar 21:41
Compare
Choose a tag to compare
  • Fix error when no config or pluginOptions objects are present

2.1.0

09 Mar 16:11
Compare
Choose a tag to compare
  • Add support for nested routes
  • Improve message of validation errors

2.0.2

06 Feb 16:56
Compare
Choose a tag to compare
  • Add support for Node 10.x

2.0.1

03 Feb 12:22
Compare
Choose a tag to compare
  • Add support for port number and IPv4 addresses in baseURL

2.0.0

03 Feb 09:35
Compare
Choose a tag to compare

Breaking changes

  • Require sitemap properties in route objects to be placed in meta.sitemap (see example)
  • Throw an error if there are dynamic routes with no slugs

New

  • Split sitemaps of more than 50,000 URLs and automatically generate the associated index
  • Add support for asynchronous generators in slugs (#3)
  • Add support for routes with multiple dynamic parameters (#4)
  • Add support for plain strings in the list of handwritten URLs

Changes

  • Improve performance when processing a large number of URLs

1.0.4

13 Jan 19:29
Compare
Choose a tag to compare

New

  • Add outputDir option
  • Add --output-dir CLI option
  • Add short aliases for CLI options