Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Conversation

@renovate
Copy link

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite-plugin-ssr ^0.3.60 -> ^0.4.0 age adoption passing confidence

Release Notes

brillout/vite-plugin-ssr

v0.4.51

Compare Source

Bug Fixes
  • assert Stem pacakges to define package.json#exports (55c40b8)
  • don't assume Stem pacakges to always define a VPS config (f5c41d6)
  • fix resolving of Stem client entries (cb2f359)
  • refine wrong usage message (#​516) (1e4dbe6)
  • workaround windows bug (91393d7)

v0.4.50

Compare Source

Bug Fixes
  • improve error message upon wrong Vite dev server usage (fix #​516) (0b7c9bc)
  • look for package.json as well as in parent directories (fix #​518) (5bd5434)

v0.4.49

Compare Source

Bug Fixes
  • export type { TemplateWrapped } (fix #​511) (e9be7fe)
  • export type { UserConfig } (e760135)
  • add Stem entries to optimizeDeps.include (b65b639)
  • avoid importBuild var collision (43811ba)
  • deprecate package.json#vite-plugin-ssr.pageFilesDir (e0b2291)
  • enforce Stem npm packages to belong to an npm org (c1a9bc4)
  • fix pageContext.exportsAll type (dda92b8)
  • improve Stem package resolver (c929ab4)
  • warn instead of err upon wrong Stem package name (7c198b9)
Features
  • enable Stem packages to define vite-plugin-ssr config (25a204f)

v0.4.48

Compare Source

Features
  • expose pageContext.exportsAll[exportName][0].filePath (0dec2ce)

v0.4.47

Compare Source

Bug Fixes
  • remove internal heuristic in favor of new config hydrationCanBeAborted (fix #​423) (56f6c3e)

v0.4.46

Compare Source

Bug Fixes

v0.4.45

Compare Source

Bug Fixes
  • add JSDoc to navigate() (c240e8e)
  • also check whether new page is renderable for navigate() (fix #​502) (d7729e9)
  • fix navigate() type export for newer TypeScript versions (3713643)

v0.4.44

Compare Source

Bug Fixes

v0.4.43

Compare Source

Bug Fixes
  • align CLI option parsing with Vite (54d2b22)
  • don't preload virtual css modules (fix #​479) (3f7b991)
  • improve error message upon environment loading wrong exports entry (fix #​481) (3c58410)

v0.4.42

Compare Source

Bug Fixes

v0.4.41

Compare Source

BREAKING CHANGES
  • disableAutoFullBuild defaults to true when using Vite's build() API.

    We introduce this breaking change in a minor because it affects only very small number of users.

Bug Fixes
Performance Improvements
  • faster script injection (#​474)

v0.4.40

Compare Source

Bug Fixes
  • [stream] ensure order of stream writing and stream flushing (#​466) (11a5cbd)
  • [stream] flush HTML begin/end injections (#​466) (50bd119)
  • [stream] flush script injection (e618438)
  • fix slow hook timeouts (58525c1)
  • make includeAssetsImportedByServer support ?url imports (fix #​464) (29f046e)

v0.4.39

Compare Source

Bug Fixes
  • add timeout to hook calls (1f5be92)

v0.4.38

Compare Source

Bug Fixes
  • check bundle package duplicate only for production (59c832e)

v0.4.37

Compare Source

Bug Fixes

v0.4.36

Compare Source

Bug Fixes

v0.4.35

Compare Source

Bug Fixes
  • don't treat page as HTML-only if it define client renderer (fix #​446) (a89540f)

v0.4.34

Compare Source

Bug Fixes

v0.4.33

Compare Source

Bug Fixes
  • revert "fix: do not copy static assets to dist/server/" (fix #​447) (ec93afe)

v0.4.32

Compare Source

Bug Fixes
  • comply to common reverse proxy setups (fix #​443) (7b76001)
  • improve error message upon trying to use navigate() without Client Routing (fix #​441) (5c97cc4)

v0.4.31

Compare Source

Bug Fixes
  • make streaming SSR work on Firefox (a0c791c)
  • typescript: allow user to define Page type (4e3ac79)

v0.4.30

Compare Source

Performance Improvements
  • use picocolors instead of kolorist (f4f2e1c)

v0.4.29

Compare Source

Bug Fixes
  • support includeAssetsImportedByServer for linked dependencies (eaa857b)
  • use Vite's built-in import.meta.glob() instead of vite-plugin-glob (fix #​431) (19385ef)
BREAKING CHANGES

v0.4.28

Compare Source

Bug Fixes

v0.4.27

Compare Source

Bug Fixes
  • improve config.build.outDir handling (d6415f8)
  • track instances for improved debuggability (6d24934)
  • update vite-plugin-import-build (8856f94)
Reverts

v0.4.26

Compare Source

Bug Fixes
  • use latest vite-plugin-import-build version (4a2d3ea)

v0.4.25

Compare Source

Bug Fixes
  • improve 404 logging during dev (522f8cc)
  • improve React detection heuristic (#​423) (bbd39c6)
  • skip 404 warning upon RenderErrorPage error (45fd93f)

v0.4.24

Compare Source

Bug Fixes

v0.4.23

Compare Source

Bug Fixes

v0.4.22

Compare Source

Bug Fixes
  • add module vite-plugin-ssr/routing to optimizeDeps.exclude (3585d9e)

v0.4.21

Compare Source

Bug Fixes
  • further tolerate vite-plugin-ssr being loaded twice (da02463)
  • improve error message upon vite-plugin-ssr being included twice in bundle (58427f5)
  • improve scroll restoration for Firefox (fd70fad)
  • pass entire pageContext to Route Functions (a596b59)
  • re-support & improve hash navigation (fix #​418) (88b9da0)
Features

v0.4.20

Compare Source

Bug Fixes
  • fix types for react streaming (432d1a7)
  • further tolerate vite-plugin-ssr being loaded twice (8038fbe)
  • stop injecting into stream when streaming is disabled (#​416) (a8e1519)

v0.4.19

Compare Source

Bug Fixes
  • improve TypeScripts types (02c4089)
Features
  • implement pageContext.isBackwardNavigation (510501b)

v0.4.18

Compare Source

Bug Fixes
  • don't swallow unexpected error upon prefetching (0e05293)
  • improve error message upon duplicated page files (32bbdfd)
  • improve error message upon failure fetching static assets (1d134a7)
  • improve error message upon wrong provided pageContext.url value in onBeforeRoute() (cb50a55)
  • upon onBeforeRoute() overwriting pageContext.url, preserve and use original URL for .pageContex.json requests (b9cca1b)

v0.4.17

Compare Source

Bug Fixes

v0.4.16

Compare Source

Bug Fixes
  • improve onBeforeRender() hook handling upon error (5838c18)
  • support build.assetsDir (fix #​397) (6909c8a)
Features

v0.4.15

Compare Source

Bug Fixes

v0.4.14

Compare Source

Bug Fixes
  • add exportsAll to PageContextBuiltIn (06b0c6c)
  • add is404 to pageContext docs and PageContextBuiltIn (bcb2ab5)
  • add JSDoc annotations to PageContextBuiltIn (62dcc0e)
  • add support for server-side rendered preprocessed stylesheets (PostCSS, SASS, ...) (6d30acf)
  • improve vite-plugin-pwa error message (#​388) (6e6f872)
  • improve error message upon wrong base value (fix #​394) (7671cfa)
  • improve error message upon wrong outDir value (fix #​392) (f2df3fe)
  • improve error message upon wrong Rollup config (998e9f6)
  • improve error message when trying to apply 's HTML transformer (fix #​388) (2ab98c9)
  • make onPagePrerender pageContext concurrent safe (ba11709)
  • make React detection heuristic more robust (dfe45d3)
  • remove problematic assertion (fix #​391) (9500fe3)
  • render error page on the client-side (fix #​393) (9f2dfb7)
  • show second error if it's not the same as first one (859678d)
  • stop erasing previous optimizeDeps.entries (fix #​386) (255e788)
  • stop executing onBeforeRender() hook upon rendering the error page (f992343)
  • support 404 for $ vite preview + SSG (28f8e02)

v0.4.13

Compare Source

Bug Fixes
  • forbiden re-exports in page files (6bd30c8)
  • further improve error message upon wrong Vite config while using pre-rendering (#​380) (013cb92)
  • improve error message upon prerender() API usage with wrong Vite config (fix #​380) (4084c5a)
  • remove wildcard re-export wrong usage assertion (db3c015)
  • remove wrong assertion (fix #​383) (928e12e)
  • support dynamic doNotPrerender values (fix #​382) (8a5b9a4)
  • support wildcard re-exports (fix #​381) (64dc9a9)
  • tell user to not define doNotPrerender in .page.client.js files (5863a99)
  • use custom debug implemention instead of debug npm package (b4bdf62)
Features
  • allow doNotPrerender to be defined in _default.page. files (close #​373) (33f6119)

v0.4.12

Compare Source

Bug Fixes
  • add export resolvers for TS (c995bfc)
  • allow _error.page.js to be defined in _default/ (fix #​374) (556b4b6)
  • allow export { doNotPrerender } to be defined in .page.js and .page.client.js (fix #​378) (409b625)
  • explain user wrong usage instead of failing upon wrong export values (dd6e94e)
  • false positive of using pageContext.urlParsed.[hashString|searchString] (fix #​377) (c129b9e)
  • improve DEBUG=vps:extractStyles flag (#​376) (5301336)
  • improve error message upon wrong onBeforePrerender() hook usage (f533bda)
  • make includeAssetsImportedByServer: false work (099bc10)
  • make includeAssetsImportedByServer work for Vue SFCs (fix #​376) (f4c57fb)
  • set includeAssetsImportedByServer to false by default (d8aa9a5)
  • improve error messages (611bb45)
Performance Improvements
  • load less page files while pre-rendering (611bb45)
  • use PageFile[exportNames] while pre-rendering, in order to avoid unecessary loading of page files (#​373, #​378) (00db4f9)

v0.4.11

Compare Source

Bug Fixes
  • assertion when user throws non-object error (7bad325)
  • improve err msg upon production build not found (9aaa254)

v0.4.10

Compare Source

Bug Fixes
  • show the stack trace for warnings with a direct call stack from the user (f5c22d4)
  • treat _default/ directories as empty for filesytem routing _default.page.* files (da9af6e)

v0.4.9

Compare Source

Bug Fixes
  • ensure that plugin helpers are not loaded by server-side runtime (48714f3)

v0.4.8

Compare Source

Bug Fixes
  • add node_modules/vite-plugin-ssr to fs.allow list (86b1173)
  • do not import es-module-lexer from server-side runtime (7420876)
  • do not import fast-glob from server-side runtime (0fabc6d)

v0.4.7

Compare Source

Bug Fixes
  • prerender() types (a53c492)
  • avoid false warnings of outdated pageContext.pageExports usage (905f830)
  • do not load route files when using server routing (0891002)
  • eslint prerender() (f8f12b5)
  • show stack trace upon outdated pageExports usage (641f7d3)
  • show viewport prefetching dev info only once (dae2e98)

v0.4.6

Compare Source

Bug Fixes
  • add page files to optimizeDeps.entries (3c5fa83)
  • make fs logic simpler (2d83b67)
Performance Improvements
  • improve page files to be scanned by Vite (31f4c01)
  • prevent Vite from scanning too many page files (2772814)

v0.4.5

Compare Source

Bug Fixes
  • assert Stem pacakges to define package.json#exports (55c40b8)
  • don't assume Stem pacakges to always define a VPS config (f5c41d6)
  • fix resolving of Stem client entries (cb2f359)
  • refine wrong usage message (#​516) (1e4dbe6)
  • workaround windows bug (91393d7)

v0.4.4

Compare Source

Bug Fixes
  • export type { TemplateWrapped } (fix #​511) (e9be7fe)
  • export type { UserConfig } (e760135)
  • add Stem entries to optimizeDeps.include (b65b639)
  • avoid importBuild var collision (43811ba)
  • deprecate package.json#vite-plugin-ssr.pageFilesDir (e0b2291)
  • enforce Stem npm packages to belong to an npm org (c1a9bc4)
  • fix pageContext.exportsAll type (dda92b8)
  • improve Stem package resolver (c929ab4)
  • warn instead of err upon wrong Stem package name (7c198b9)
Features
  • enable Stem packages to define vite-plugin-ssr config (25a204f)

v0.4.3

Compare Source

Bug Fixes
  • add timeout to hook calls (1f5be92)

v0.4.2

Compare Source

Bug Fixes
  • support includeAssetsImportedByServer for linked dependencies (eaa857b)
  • use Vite's built-in import.meta.glob() instead of vite-plugin-glob (fix #​431) (19385ef)
BREAKING CHANGES

v0.4.1

Compare Source

Bug Fixes
  • improve TypeScripts types (02c4089)
Features
  • implement pageContext.isBackwardNavigation (510501b)

v0.4.0

Compare Source

BREAKING CHANGES

See vite-plugin-ssr.com/migration/0.4 for how to migrate from 0.3 to 0.4.

Features

Major feature: see this Twitter Thread.

Minor features:

  • enable overwriting default routing with onBeforeRoute() (46b9e19)
  • pageContext.urlParsed.searchAll (94ee761)
  • Parameterized Filesystem Routing (416a94e)
  • support export default (fix #​314) (f653b68)
Bug Fixes
  • add routing debug logs (dfdb208)
  • add support for $ vite preview command (c8ca4b8)
  • add support for ReScript (a040fe7)
  • add worker exports to package.json#exports for Cloudflare Workers (954fe02)
  • assert HTML variables (254cf54)
  • do not append ?extractStyles to asset imports for image Vite plugins (fix #​353) (1b937e2)
  • do not copy static assets to dist/server/ (7e33664)
  • ensure HMR preamble code to be executed before client entries (f4ff28b)
  • ensure Rollup generates an entry for each page file (fix #​350) (e659e26)
  • ensure stream end handler is called once (768c383)
  • ensure stream is always flushed (5770d9f)
  • fix styling in development for browser back/fwd buttons (d3d4190)
  • handle destroyed Node.js writable proxy (6488300)
  • handle URLs with several trailing slahes (#​310) (551b020)
  • improve asset naming (8791d66)
  • improve debug logs (978a7c2)
  • improve error message upon multiple versions loaded (6bb206e)
  • improve error message upon wrong streaming setup (baf8c88)
  • improve filesystem routing when pages/ is (deeply) nested (858dde4)
  • improve prefetch config (f4b4cc7)
  • improve stream error handling (d4835c0)
  • improve wrong usage error message (2d3132d)
  • increase scroll listener throttle timeout (#​46) (ab36ac3)
  • isolate framework pageFiles symlink directory (6e2d6f1)
  • make $ vite dev and $ vite preview support HTML streaming (9a59360)
  • make httpResponse.pipe() work with Readable Streams (558f87a)
  • make navigate() cross-bundle safe (68a9e7a)
  • make vps resilient against array prototype extensions (2d09e75)
  • only add vps dev middleware for Vite's CLI (b0c3974)
  • route precendence (e2bfd5d)
  • support $ vite dev command (4ca3e39)
  • support vite preview command for SSG (a7c602a)
  • support rollup format synonyms (1a7d4f7)
  • swallow expected errors upon new frontend deploy (34d800f)
  • switch to server-routing if asset fail to load upon new deploy (#​292) (1f837d5)
  • throw normalized client-side error upon new deploy handling (e0163a8)
  • tolerate multiple vps instances (74b8eb2)
  • treat Object.ceate(null) as plain JavaScript object (c9eb387)
  • update pageContext.urlParsed type (12261ac)
Performance Improvements
  • ensure scripts to be loaded last (b921e60)
  • only add page entries to optimizeDeps.entries if CI (8e10dae)
  • resolve dynamic imports early (a9da5a2)
  • scan index page on dev start (4f82f03)

0.3.64 (2022-04-14)

Bug Fixes

0.3.63 (2022-04-14)

Bug Fixes

0.3.62 (2022-04-09)

Bug Fixes
  • help esbuild resolve navigate() server-side import (fix #​301) (a03a392)

0.3.61 (2022-03-30)

Bug Fixes
  • Fix duplicate decodeURI logic (#​291)

0.3.60 (2022-03-11)

Bug Fixes
  • allow prerender() to be called without any argument (7eca89d)
  • forbid usage of older problematic Vite version (1b04a99)
  • support unicode URLs (443f7c6)

0.3.59 (2022-02-23)

Bug Fixes

[0.3.58](https://togithub.com/brillout/vite-plugin-ssr/compa


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Sep 25, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/vite
npm ERR!   vite@"^2.8.6" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vite@">=3.0.0" from [email protected]
npm ERR! node_modules/vite-plugin-ssr
npm ERR!   vite-plugin-ssr@"^0.4.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2022-09-25T19_52_54_739Z-debug-0.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant