unstale

npm / vite

vite

What changed in vite 6 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

46 breaking17 security10 deprecations11 new APIs and options6 performance14 behavior and defaults13 tooling169 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

vite 8245 changes

Breaking changes 40

  • CSS entrypoints are rejected when CSS code splitting is disabled.

    8.3.8release notes

  • SSR builds with build.ssr: true use top-level input.

    8.3.6release notes

  • Wasm files outside server.fs are rejected.

    8.3.6release notes

  • Input option unescaping is removed for now.

    8.3.4release notes

  • The deny list now includes additional common files, affecting which files can be served by the dev server.

    8.1.0release notes

  • A relative glob in a virtual module now errors when no files match.

    8.0.15release notes

  • The JS resolver no longer uses format-sniffing module resolution.

    8.0.10release notes

  • Sourcemaps can no longer reference files outside the package.

    8.0.5release notes

  • In workers, the result of require(json) is no longer wrapped.

    8.0.1release notes

  • The JavaScript API now throws a BundleError instead of the raw error thrown in the plugin; individual errors are available in .errors.

    8.0.0upgrade guide

  • Deprecated and now has no effect.

    8.0.0upgrade guide

  • Lightning CSS is now the default CSS minifier; set the option to 'esbuild' to switch back, with esbuild installed as a devDependency.

    8.0.0upgrade guide

  • Deprecated and now has no effect.

    8.0.0upgrade guide

  • The Oxc Minifier is now used for JavaScript minification by default; the deprecated build.minify: 'esbuild' option can switch back if esbuild is installed.

    8.0.0upgrade guide

  • Replacement for build.rollupOptions.

    8.0.0upgrade guide

  • Use this option to control minification behavior previously configured through esbuild.minify*.

    8.0.0upgrade guide

  • Replacement for the removed build.rollupOptions.watch.chokidar option.

    8.0.0upgrade guide

  • The system and amd output formats are no longer supported.

    8.0.0upgrade guide

  • Removed; migrate to build.rolldownOptions.watch.watcher.

    8.0.0upgrade guide

  • Passing the same browser with multiple versions now errors instead of selecting the latest version.

    8.0.0upgrade guide

  • Assigning to bundle[foo] is unsupported; use this.emitFile() instead. Bundle references are not shared across hooks, and structuredClone(bundle) is unsupported.

    8.0.0upgrade guide

  • Rolldown offers this more flexible option for manual code splitting in place of output.manualChunks.

    8.0.0upgrade guide

  • CJS default import handling is consistent across development and build: certain importer and package conditions select module.exports, otherwise module.exports.default is used.

    8.0.0upgrade guide

  • Object values passed to define no longer share a reference; each variable gets a separate copy.

    8.0.0upgrade guide

  • Passing a URL is no longer supported; pass an id instead.

    8.0.0upgrade guide

  • In UMD and IIFE output, import.meta.url is no longer polyfilled and is replaced with undefined by default.

    8.0.0upgrade guide

  • This deprecated option temporarily restores the previous CommonJS default import behavior.

    8.0.0upgrade guide

  • Comments outside the documented set are moved; Rollup only removes comments when adjacent code is removed.

    8.0.0upgrade guide

  • The object form is no longer supported and the function form is deprecated; Rolldown's codeSplitting option is the replacement.

    8.0.0upgrade guide

  • Hooks that were parallel in Rollup now run sequentially.

    8.0.0upgrade guide

  • Transforming to ES5 and below with this plugin is not supported.

    8.0.0upgrade guide

  • Comments are removed before this hook instead of after it.

    8.0.0upgrade guide

  • This plugin hook is no longer supported.

    8.0.0upgrade guide

  • Externalized module require calls are preserved as require calls instead of being converted to import statements.

    8.0.0upgrade guide

  • Module resolution no longer uses format sniffing when browser and module fields coexist; Vite now respects this option's order.

    8.0.0upgrade guide

  • This plugin hook is no longer supported.

    8.0.0upgrade guide

  • This plugin hook is no longer supported.

    8.0.0upgrade guide

  • This plugin hook is no longer supported.

    8.0.0upgrade guide

  • Support is partial.

    8.0.0upgrade guide

  • Replacement for worker.rollupOptions.

    8.0.0upgrade guide

Security 15

Deprecations 10

  • Vite now warns when the deprecated envFile is used.

    8.1.0release notes

  • Deprecated; renamed to build.rolldownOptions.

    8.0.0upgrade guide

  • The JavaScript transformation option is deprecated in favor of oxc; existing settings are converted automatically.

    8.0.0upgrade guide

  • Deprecated in favor of optimizeDeps.rolldownOptions; existing options are converted automatically.

    8.0.0upgrade guide

  • Oxc handles JavaScript transformation. The deprecated esbuild option remains supported through automatic conversion to oxc.

    8.0.0upgrade guide

  • Deprecated in favor of parseSync and parse, which have more features.

    8.0.0upgrade guide

  • Recommended replacement for the deprecated parseAst and parseAstAsync functions.

    8.0.0upgrade guide

  • Deprecated; use a custom plugin with the resolveId hook and enforce: 'pre' instead.

    8.0.0upgrade guide

  • Deprecated in favor of transformWithOxc; install esbuild as a devDependency if a plugin still uses this function.

    8.0.0upgrade guide

  • Vite now warns when the vite-tsconfig-paths plugin is detected.

    8.0.0release notesupgrade guide

New APIs and options 6

  • Bundled dev supports import.meta.hot.acceptExports.

    8.3.4release notes

  • Adds input support to server.fs.allow.

    8.2.0release notes

  • The esbuild plugin converter passes some properties of the build result to onEnd, allowing plugins to access them there.

    8.0.13release notes

  • Re-exported from Vite for users who want to convert externalized require calls to import statements.

    8.0.0upgrade guide

  • Dependency optimization uses Rolldown; this option replaces deprecated optimizeDeps.esbuildOptions, which is converted automatically for backward compatibility.

    8.0.0upgrade guide

  • New transformation function recommended as a replacement for transformWithEsbuild.

    8.0.0upgrade guide

Performance 5

  • Sass is imported once instead of once per file, improving CSS processing performance.

    8.3.8release notes

  • On Windows, net use is deferred until a UNC path is resolved.

    8.3.8release notes

  • Avoids settling seen preload dependencies to improve build performance.

    8.3.0release notes

  • Pre-compiles context matchers at server creation to improve proxy performance.

    8.3.0release notes

  • Pure CSS chunks are looked up through a Set.

    8.2.1release notes

Behavior and default changes 8

  • Named imports from Node built-ins are allowed in bundled dev.

    8.3.6release notes

  • Bundled dev reloads once after a rebuild instead of using the fallback page.

    8.2.0release notes

  • Explicit hosts in network URLs resolve the interface name.

    8.2.0release notes

  • Legacy builds prefer oxc as the minifier.

    8.1.4release notes

  • Vite sends a 408 response when a request times out.

    8.0.15release notes

  • The list of files shown on HMR updates is truncated.

    8.0.4release notes

  • The default browser targets are updated to Chrome 111, Edge 111, Firefox 114, and Safari 16.4, aligning with Baseline Widely Available as of 2026-01-01.

    8.0.0upgrade guide

  • Rolldown auto-detects module types from resolved-id extensions; plugins converting content to JavaScript in load or transform may need to return moduleType: 'js'.

    8.0.0upgrade guide

Tooling 11

  • The peer dependency range now includes v0.5.0, allowing projects using that version to satisfy the integration's peer requirement.

    8.2.2release notes

  • Config incompatibility locations now include the column.

    8.2.0release notes

  • Bundled dev supports worker file updates accepted by HMR.

    8.2.0release notes

  • The dynamic import warning now links to Vite documentation.

    8.1.1release notes

  • Bundled dev adds lazy bundling support.

    8.0.13release notes

  • Vite updates Rolldown to 1.0.0.

    8.0.12release notes

  • Vite logs when dependency scanning or bundling takes over one second.

    8.0.4release notes

  • Vite now allows esbuild 0.28.

    7.3.6, 8.0.4release notesrelease notes

  • Types are now provided for vite/modulepreload-polyfill.

    8.0.4release notes

  • Updated Rolldown to 1.0.0-rc.11.

    8.0.2release notes

  • Vite uses Rolldown and Oxc-based tools instead of esbuild and Rollup.

    8.0.0upgrade guide

Fixes and other changes 150

  • Assets referenced by inline workers are emitted during load in bundled development mode.

    8.3.8release notes

  • Native loader compatibility checks are skipped for type-only imports.

    8.3.8release notes

  • The console window is hidden when this command runs on Windows.

    8.3.8release notes

  • The environment's build.sourcemap setting is respected.

    8.3.6release notes

  • Bundled dev reloads when HMR cannot run an entry again.

    8.3.6release notes

  • Rendered modules are indexed once per output for cssScopeTo.

    8.3.6release notes

  • CSS dependency collection resolves dynamic imports with appended queries.

    8.3.6release notes

  • Adjacent module tags on the first line are removed.

    8.3.6release notes

  • Files referenced with a query or hash are watched when referenced through new URL(..., import.meta.url).

    8.3.6release notes

  • Overlapping plugin container close calls are awaited, so closing the container completes reliably.

    8.3.6release notes

  • Preload link listeners are removed when settled.

    8.3.6release notes

  • ANSI escape sequences are escaped when console output is forwarded by the dev server.

    8.3.6release notes

  • For ssr.target=webworker, external requires of built-in modules are converted to imports.

    8.3.6release notes

  • Static alias replacements preserve $ patterns.

    8.3.6release notes

  • The optimizer resolves subpath imports using Vite's resolver.

    8.3.6release notes

  • Chunks conflicted with unused workers are kept when those workers are still used by a live worker.

    8.3.6release notes

  • The server strips the base only when the path matches a full segment.

    8.3.5release notes

  • Build handles missing chunk import maps and includes preload dependencies when hashing them.

    8.3.5release notes

  • Bundled dev ignores this build option.

    8.3.5release notes

  • CSS processing no longer fails when a url() contains a literal %.

    8.3.5release notes

  • The bundled-dev fallback page declares a UTF-8 charset.

    8.3.5release notes

  • Bundled dev maps forwarded error stacks through the bundle source maps.

    8.3.5release notes

  • Bundled dev stops HMR propagation at modules that are no longer imported.

    8.3.5release notes

  • Bundled dev includes user-defined import.meta.env.* values in the import.meta.env object.

    8.3.5release notes

  • Dependency optimization scans imports specified by oxc.jsxInject.

    8.3.5release notes

  • Bundled dev applies the configured origin to asset URLs.

    8.3.5release notes

  • The server handles socket errors on upgrade requests not taken by the HMR server.

    8.3.5release notes

  • Resolution supports subpath imports containing multiple # characters.

    8.3.5release notes

  • Dependency optimization falls back to yarn.lock when calculating the lockfile hash.

    8.3.5release notes

  • Skips rewriting adopted styles that have not changed.

    8.3.4release notes

  • Corrects preloads when chunkImportMap is enabled with a non-root base.

    8.3.4release notes

  • Skips caching CSS of chunks in a cycle.

    8.3.4release notes

  • The optimizer scans deep imports with custom extensions.

    8.3.4release notes

  • Normalizes the file before the root check in ensureWatchedFile.

    8.3.4release notes

  • HTML handling no longer adds the filesystem root to the watcher.

    8.3.4release notes

  • Vite no longer mutates HMR defaults.

    8.3.4release notes

  • Modules ending with a js-like query are no longer treated as JavaScript.

    8.3.4release notes

  • Resolves imported preprocessors from their file path when using lightningcss.

    8.3.4release notes

  • Waits for in-flight stylesheets in the preload helper.

    8.3.4release notes

  • A restart requested during another restart is no longer dropped.

    8.3.4release notes

  • Static aliases are matched on path boundaries.

    8.3.4release notes

  • Bundled dev serves /@vite/client.

    8.3.4release notes

  • Bundled dev stubs @vite/env.

    8.3.4release notes

  • The filename passed to transformIndexHtml no longer includes queries, so plugins receive the expected filename.

    6.4.4 … 8.3.3release notesrelease notesrelease notesrelease notes

  • Browser:false mappings no longer produce unsupported warnings during dependency optimization.

    8.3.2release notes

  • The minify option is now merged correctly.

    8.3.2release notes

  • CSS is preloaded correctly when renderBuiltUrl returns URLs with queries.

    8.3.2release notes

  • The server handles file watcher errors without crashing.

    8.3.2release notes

  • Object and array printing is limited in size when using forwardConsole.

    8.3.2release notes

  • Bundled dev now serves sourcemaps for lazy chunks.

    8.3.2release notes

  • Whitespace is encoded in the SSR module runner sourceURL.

    8.3.2release notes

  • Excluded optional peer require fallbacks are now preserved by the optimizer.

    8.3.2release notes

  • Queries are now passed to renderBuiltUrl, allowing URL handling to account for query strings.

    8.3.2release notes

  • Bundled dev serves the rolldown runtime from the installed rolldown.

    8.3.2release notes

  • Percent-encoded srcset URLs are now resolved correctly.

    8.3.2release notes

  • Worker URLs are aligned between client and server when using terser.

    8.3.2release notes

  • The build configuration now merges build.rolldownOptions.output.comments correctly.

    8.3.1release notes

  • The optimizer no longer skips imports whose binding starts with type.

    8.3.1release notes

  • mergeConfig now handles server.ws: false correctly.

    8.3.1release notes

  • Source-map generation now skips URL source roots when injecting sources content.

    8.3.1release notes

  • Handles CRLF line endings when calculating code frame positions.

    8.3.0release notes

  • Treats only whole node_modules path segments as dependencies.

    8.3.0release notes

  • Lazy request errors are handled in bundled development mode.

    8.2.2release notes

  • Hot updates now propagate through circular imports instead of triggering a reload.

    8.2.2release notes

  • Escaped dots in define keys are matched correctly, supporting keys prefixed with $.

    8.2.2release notes

  • Root resolution now respects the preserveSymlinks setting.

    8.2.2release notes

  • Sourcemap paths are resolved against the sourcemap location.

    8.2.2release notes

  • SSR now rewrites computed keys of destructuring parameters.

    8.2.2release notes

  • False positives in Windows 8.3-short-name detection are reduced.

    8.2.2release notes

  • Client chunkImportMap now works with sharedPlugins: true.

    8.2.1release notes

  • Resolving the library entry from top-level input no longer mutates the user config.

    8.2.1release notes

  • The Lightning CSS visitor is no longer re-run during minification.

    8.2.1release notes

  • Setting port to 0 now causes the server to use a random port.

    8.2.1release notes

  • Shebangs ending with uncommon line terminators are now handled.

    8.2.1release notes

  • Build errors are printed to the terminal when an HMR update fails.

    8.2.0release notes

  • Preserves the environment snapshot during server restart.

    8.2.0release notes

  • Strips base during indexHtml module graph lookup.

    8.2.0release notes

  • Fixes resolving the top-level input option when plugins are used.

    8.2.0release notes

  • Keeps stack trace interception working when Object.prototype is frozen.

    8.2.0release notes

  • Fixes interop for imports injected into optimized dependency files by plugins.

    8.2.0release notes

  • Avoids calling buildEnd more than once in bundled development mode.

    8.1.5release notes

  • Respects the importer module format when handling dynamic import interop with CJS dependencies.

    8.1.5release notes

  • Aligns the client error overlay message format with rolldown.

    8.1.5release notes

  • Prevents stack-trace source mapping from crashing when globalThis.Buffer is absent.

    8.1.5release notes

  • Scopes switch-case declarations to the switch rather than the function in SSR.

    8.1.5release notes

  • When chunkImportMap is enabled, pure CSS chunk imports are stripped.

    8.1.4release notes

  • Vite keeps import.meta.url in the preload function unchanged.

    8.1.4release notes

  • Named export function call stacktrace columns are aligned with Node.

    8.1.4release notes

  • Inlined CSS is injected after the shebang line, preserving valid output for files that start with a shebang.

    8.1.3release notes

  • CSS is preloaded for nested dynamic imports.

    8.1.3release notes

  • Corrects the stack trace column position for the first line in SSR.

    8.1.3release notes

  • Bundled dev now serves assets emitted during HMR or lazy compilation.

    8.1.1release notes

  • Correctly inverts esbuild.jsxSideEffects when converting it to oxc.jsx.pure.

    8.1.1release notes

  • Preserves dollar signs in external @import URLs when using lightningcss.

    8.1.1release notes

  • Avoids a stack overflow when calling import.meta.hot.invalidate() in bundled dev.

    8.1.1release notes

  • The dependency optimizer scanner now resolves input from root.

    8.1.1release notes

  • The server's indexHtmlMiddleware now handles malformed URIs.

    8.1.1release notes

  • Some plugins that previously omitted the sourcemap field now return it.

    8.1.1release notes

  • Bundled dev skips plugin transform hooks for rolldown-lazy stub modules.

    8.1.1release notes

  • CSS and Sass @import resolution now supports tsconfig paths.

    8.1.1release notes

  • Errors are preserved when an incremental build fails in bundled-dev.

    8.1.0release notes

  • The HMR glob matcher now respects the caseSensitive option.

    8.1.0release notes

  • When cspNonce is unset, Vite no longer adds a nonce to the import map.

    8.1.0release notes

  • Glob resolution now skips null-valued exports when expanding glob IDs.

    8.1.0release notes

  • The middleware now handles malformed URIs.

    8.1.0release notes

  • launch-editor-middleware rejects UNC paths.

    8.0.16release notes

  • Windows alternate paths are rejected.

    7.3.5, 8.0.16release notesrelease notes

  • Fixes a cache key mismatch for HTML paths under /@fs/ in development.

    8.0.15release notes

  • Error messages are capitalized and a spurious space is removed from parse errors.

    8.0.15release notes

  • Provides onWarn for viteResolvePlugin in JavaScript plugin containers.

    8.0.15release notes

  • Oxc JSX options are passed to transformSync during dependency scanning.

    8.0.14release notes

  • Errors that occur when sending messages to the Vite server are now handled.

    8.0.14release notes

  • HTML transformation now handles paths with trailing slashes.

    8.0.14release notes

  • Synthetic assetFileNames calls keep the deprecated name and originalFileName fields.

    8.0.13release notes

  • Sass, Less, and Stylus worker disposal is awaited during teardown.

    8.0.13release notes

  • Legacy-only builds no longer include modulepreload links.

    8.0.13release notes

  • The public directory is copied after building the same environment with write=false.

    8.0.13release notes

  • SSR avoids rewriting labels that collide with imports.

    8.0.13release notes

  • Applies build.target to worker bundles.

    8.0.12release notes

  • create-vite passes the React framework to the TanStack CLI.

    8.0.12release notes

  • Forwards define to the worker bundle transform.

    8.0.12release notes

  • Prevents a partial-exports race when concurrent imports encounter in-flight invalidated re-export chains.

    8.0.12release notes

  • HMR matcher options are aligned with glob enumeration, so hot updates match the files enumerated by glob.

    8.0.11release notes

  • Warnings for .css?inline now show the filename.

    8.0.10release notes

  • HMR debug logs now look consistent with other HMR logs.

    8.0.10release notes

  • The user-configured transform.target can override the default in dependency optimization.

    8.0.10release notes

  • CSS entries use unique keys to prevent collisions between files with the same basename.

    8.0.9release notes

  • Vite detects the Deno workspace root.

    8.0.9release notes

  • emptyOutDir now takes effect for watch rebuilds.

    8.0.9release notes

  • Fallback sourcemap generation is skipped for ?raw imports.

    8.0.9release notes

  • Binding is allowed when strictPort is set but a wildcard port is in use.

    8.0.9release notes

  • Errors in the watchChange hook are handled in dev mode.

    8.0.9release notes

  • Avoids temporarily changing dns.getDefaultResultOrder.

    8.0.8release notes

  • Fixes class property key hoisting to match imports in SSR.

    8.0.8release notes

  • Vite now uses synchronous dns.getDefaultResultOrder instead of dns.promises to determine the default DNS result order.

    8.0.7release notes

  • Hoists the CJS interop assignment during dependency optimization.

    8.0.6release notes

  • Avoids mutating a Sass error multiple times.

    8.0.6release notes

  • Vite now resolves tsconfig paths that start with #.

    8.0.4release notes

  • Webworker SSR builds now use the browser platform.

    8.0.4release notes

  • Caches the unfiltered CSS list to prevent styles from going missing across entries.

    8.0.3release notes

  • Fixes optimizer scanning so it resolves subpath imports used in a glob import.

    8.0.3release notes

  • Skips re-importing when the runner is closed.

    8.0.3release notes

  • Handles non-ASCII characters in base64 sourcemaps.

    8.0.3release notes

  • Prevents rewriting the meta identifier inside import.meta when a binding named meta exists.

    8.0.3release notes

  • Fixes Lightning CSS minification when build.target is set to 'es6'.

    8.0.1release notes

  • Improves the error shown when a no-cors request is blocked.

    8.0.1release notes

  • Dependency optimization now handles + symbols in package subpath exports.

    8.0.1release notes

  • Uses more precise regular expressions for transform filters to avoid backtracking.

    8.0.1release notes

  • Worker output is now consistent with client and SSR output.

    8.0.1release notes

  • Messages refer to rolldownOptions instead of deprecated rollupOptions.

    8.0.0release notesupgrade guide

vite 719 changes

Breaking changes 1

Security 1

  • vite allows server.fs.deny bypass via backslash on Windows

    5.4.21 … 7.1.11security advisory

New APIs and options 3

  • Adds the ignoreOutdatedRequests option to optimizeDeps.

    7.3.1release notes

  • The module runner now exposes normalizeModuleId.

    7.0.0upgrade guide

  • The module runner now exports ssrExportNameKey.

    7.0.0upgrade guide

Behavior and default changes 1

  • Vite now keeps import.meta.url in bundled output.

    7.0.0upgrade guide

Tooling 1

Fixes and other changes 12

  • IDs are escaped when resolving virtual modules.

    6.4.6, 7.3.8release notesrelease notes

  • Avoids lowering destructuring for newer Safari, preventing compatibility issues with that browser.

    7.3.3release notes

  • Fixes plugin shortcut support.

    7.2.7release notes

  • Merging behavior for external: true is fixed.

    7.2.5release notes

  • Shortcuts are rebound after the server restarts.

    7.2.5release notes

  • Shebangs in configuration files are now handled properly.

    7.2.5release notes

  • Multiple calls can now merge shortcuts instead of preventing additional shortcut bindings.

    7.2.3release notes

  • Fixes missing worker assets in the build.

    7.2.1release notes

  • Optional properties now include undefined for compatibility with exactOptionalPropertyTypes.

    7.2.0release notes

  • The module-runner getBuiltins response is now JSON serializable.

    7.2.0release notes

  • Vite falls back to sass when the sass-embedded platform binary is missing.

    7.2.0release notes

  • Trailing slashes are trimmed before checking server.fs.deny, correcting deny checks for paths with a trailing slash.

    5.4.21 … 7.1.11release notesrelease notesrelease notesrelease notes

vite 622 changes

Breaking changes 5

  • Windows alternate paths are rejected.

    6.4.3release notes

  • The function now returns RunnableDevEnvironment instead of DevEnvironment, correcting its return type.

    6.0.0upgrade guide

  • The function now returns a serverModule.

    6.0.0upgrade guide

  • Inline workers are now emitted without base64.

    6.0.0upgrade guide

  • Node 21 is no longer supported in version ranges.

    6.0.0upgrade guide

Security 1

New APIs and options 2

Performance 1

  • Bundle size is reduced for Object.keys and Object.values uses of import.meta.glob.

    6.0.0upgrade guide

Behavior and default changes 5

  • The evaluator is now optional in the module runner.

    6.0.0upgrade guide

  • HMR is enabled by default on the ModuleRunner side.

    6.0.0upgrade guide

  • Config loading supports the module-sync condition when enabled.

    6.0.0upgrade guide

  • The hook now runs after manually included dependencies are registered.

    6.0.0upgrade guide

  • SSR output replaces __vite_ssr_identity__ with (0, ...) and injects semicolons between statements.

    6.0.0upgrade guide

Tooling 1

Fixes and other changes 7

  • Dependency changes made with npm, Yarn, or pnpm are now detected correctly.

    6.0.0upgrade guide

  • Errors in the full reload handler are now caught.

    6.0.0upgrade guide

  • The overlay now appears when multiple Vite clients are loaded.

    6.0.0upgrade guide

  • Invalidation of inline proxy modules is fixed.

    6.0.0upgrade guide

  • The previously missing InterceptorOptions type is now exposed.

    6.0.0upgrade guide

  • Errors are now logged when sending in the module runner fails.

    6.0.0upgrade guide

  • The exit code on SIGTERM is corrected.

    6.0.0upgrade guide