Skip to content

Upgrading vite 0.15 to 0.16

Unknown0.15.6 → 0.16.12

UnknownUpgrade verdict

DepDelta hasn't looked for this range's notes in its newest sources yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
  • DepDelta found no commit log for them either.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Adds dotenv ^8.2.0, resolve ^1.17.0, selfsigned ^1.10.7.

Installs 524 packages in all (was 521).

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: const createBuildCssPlugin: (root: string, publicBase: string, assetsDir: string, minify?: boolean, inlineLimit?: number, transforms?: Transform[]) => Plugin → const createBuildCssPlugin: (root: string, publicBase: string, assetsDir: string, minify?: boolean | 'terser' | 'esbuild' | undefined, inlineLimit?: number, cssCodeSplit?: boolean) => Plu…
  • changed: const createReplacePlugin: (replacements: Record<string, string>, sourcemap: boolean) => Plugin → const createReplacePlugin: (test: (id: string) => boolean, replacements: Record<string, string>, sourcemap: boolean) => Plugin
  • changed: function build(options?: BuildConfig): Promise<BuildResult> → function build(options: BuildConfig): Promise<BuildResult>
  • changed: function ssrBuild(options?: BuildConfig): Promise<BuildResult> → function ssrBuild(options: BuildConfig): Promise<BuildResult>
  • added: const onRollupWarning: InputOptions['onwarn']
  • changed: function resolveConfig(configPath: string | undefined): Promise<ResolvedConfig | undefined> → function resolveConfig(mode: string, configPath?: string): Promise<ResolvedConfig | undefined>
  • added: property BuildConfig.cssCodeSplit?: boolean
  • added: property BuildConfig.rollupPluginCommonJSNamedExports?: Record<string, string[]>
  • added: property ServerConfig.https?: boolean
  • added: property ServerConfig.httpsOption?: ServerOptions
  • added: property ServerConfig.open?: boolean
  • added: property ServerConfig.port?: number
  • added: property SharedConfig.env?: DotenvParseOutput
  • added: property SharedConfig.mode?: string
  • added: function resolveOptimizedCacheDir(root: string, pkgPath?: string): string | null
  • removed: function resolveBareModule(root: string, id: string, importer: string): string
  • removed: function resolveNodeModuleEntry(root: string, id: string): [string, any] | undefined
  • changed: function resolveNodeModule(root: string, id: string): string | undefined → function resolveNodeModule(root: string, id: string): NodeModuleInfo | undefined
  • changed: method Resolver.fileToRequest(filePath: string, root: string): string | undefined → method Resolver.fileToRequest?(filePath: string, root: string): string | undefined
  • changed: method Resolver.requestToFile(publicPath: string, root: string): string | undefined → method Resolver.requestToFile?(publicPath: string, root: string): string | undefined
  • added: const jsSrcRE: RegExp
  • added: function resolveBareModuleRequest(root: string, id: string, importer: string): string
  • added: function resolveNodeModuleFile(root: string, id: string): string | undefined
  • changed: function createServer(config?: ServerConfig): Server → function createServer(config: ServerConfig): Server
  • added: const debugCSS: any
  • added: const htmlRewritePlugin: ServerPlugin
  • removed: function normalizeTransforms(transforms: Transform[]): void
  • removed: property Transform.as?: 'js' | 'css'
  • changed: property Transform.test: (path: string, query: Record<string, string | string[] | undefined>) => boolean → property Transform.test: (path: string, query: ParsedQuery) => boolean
  • changed: property Transform.transform: (code: string, isImport: boolean) => string | Promise<string> → property Transform.transform: (code: string, isImport: boolean, isBuild: boolean, path: string, query: ParsedQuery) => string | Promise<string>
  • added: function createCertificate(): any
  • added: const cssPreprocessLangRE: RegExp
  • added: const urlRE: RegExp
  • added: function codegenCss(id: string, css: string, modules?: Record<string, string>): string
  • added: function compileCss(root: string, publicPath: string, { source, filename, scoped, modules, preprocessLang }: SFCAsyncStyleCompileOptions): Promise<SFCStyleCompileResults | string>
  • added: function loadPostcssConfig(root: string): Promise<PostCSSConfigResult | null>
  • changed: function lookupFile(dir: string, formats: string[]): string | undefined → function lookupFile(dir: string, formats: string[], pathOnly?: boolean): string | undefined
  • removed: export * from './resolvePostCssConfig'
  • removed: function loadPostcssConfig(root: string): Promise<Result | null>