#243 Allow postProcess to return a Promise, allowing for async processing of route output. (See README.md) (Thanks @isidrok!)
Fixes
#235 Wait for writeFile to finish instead of treating it like a synchronous call. (Thanks, @qkdreyer!)
v3.3.0
Additions
[prerenderer/#16](Tribex/prerenderer#16) Allow setting the options passed to puppeteer's page.goto() call using new PuppeteerRenderer({rendererOptions: Object}). See README.md. (Thanks @cbravo!)
Breaking
#232 Terminate the build process if prerender-spa-plugin fails to render a page. This is the intended behavior. If you relied on this bug, you'll need to adjust accordingly. (Thanks again @cbravo!)
Changes
Updated dependencies.
v3.2.1
Fixes
#204DeprecationWarning: Tapable.plugin is deprecated warning in Webpack 4. (Thanks @qkdreyer!)
3.2.0 Included accidental log statement.
Changes
#195 Now uses compiler.outputFileSystem to write files instead of fs and mkdirp-promise. Should work exactly the same way in 99.9% of use-cases, and fix an issue in the last 0.1%
Updated dependencies.
v3.1.0
Fixes
#184 Upgrade prerenderer to 0.7.1 to fix handling of Unicode and non-URL characters in route paths.
If users forget to return the context object in postProcess, a clearer error is thrown.
Additions
postProcess now allows you to overwrite context.outputPath. It is null by default but will be used if set. Otherwise, it will continue to calculate the output path as normal. Can be used to write files that end with a file extension directly instead of writing them to index.html in a folder by the same name. (#179) See README.
v3.0.0
Upgrade Rationale
prerender-spa-plugin 2.x was developed around PhantomJS and closely integrated with it to provide prerendering support. Unfortunately, PhantomJS has been falling behind in terms of support for modern web platform features, often requiring unwieldy polyfills. In the meantime, alternatives such as puppeteer have filled the void left by PhantomJS.
However, it was impossible for us to maintain full backwards-compatibility with prerender-spa-plugin 2.x while also switching out the rendering backend, so instead we took this as an opportunity to modularize the plugin and make a few much-needed changes while also replacing PhantomJS with puppeteer.
For clarification, basic usage of prerender-spa-plugin 3 is still backwards-compatible with 2.x, but deprecated. For obvious reasons, custom configuration of PhantomJS will no longer function.
Notable Changes
The plugin initialization signature has changed from new PrerenderSPAPlugin(staticDir: String, routes: Array<String>, config: Object) to `new PrerenderSPAPlugin(config: Object). For example:
new PrerenderSPAPlugin({
staticDir: String,
routes: String,
This version was pushed to npm by tribex, a new releaser for prerender-spa-plugin since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/vuematerial/vue-material/network/alerts).
Bumps debug to 2.6.9 and updates ancestor dependency prerender-spa-plugin. These dependencies need to be updated together.
Updates
debug
from 0.7.4 to 2.6.9Release notes
Sourced from debug's releases.
... (truncated)
Changelog
Sourced from debug's changelog.
... (truncated)
Commits
13abeae
Release 2.6.9f53962e
remove ReDoS regexp in %o formatter (#504)52e1f21
Release 2.6.82482e08
Check for undefined on browser globals (#462)6bb07f7
release 2.6.715850cb
Fix Regular Expression Denial of Service (ReDoS)4a6c85c
update "debug" to v1.0.0 (#454)b68dbf8
Fix typo (#455)1351d2f
Inline extend function in node implementation (#452)c211947
update version for componentMaintainer changes
This version was pushed to npm by tootallnate, a new releaser for debug since your current version.
Updates
prerender-spa-plugin
from 2.1.0 to 3.4.0Release notes
Sourced from prerender-spa-plugin's releases.
... (truncated)
Commits
1f49b36
3.4.030dfeaa
feat: allow postProcess to return a promise (#243)a501698
Merge pull request #235 from qkdreyer/masterd890455
Fixed empty file written to outputPath15d79f2
Added qkdreyer as contributor5b5fef2
Eslinted + Factorized error message8abb6ec
3.3.00dfa75d
Update dependencies1d6188e
Merge pull request #232 from cbravo/feat-error-handling6b7f2b3
feat(errors): adds error handling that will terminate the node process.Maintainer changes
This version was pushed to npm by tribex, a new releaser for prerender-spa-plugin since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/vuematerial/vue-material/network/alerts).