Skip to content

Upgrading @angular/compiler-cli 0.6 to 2

Unknown0.6.4 โ†’ 2.4.10

UnknownUpgrade verdict

DepDelta hasn't looked for this range's notes 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.
Unknown for releases without notes

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

Drops parse5.

Installs 7 packages in all (was 10).

No longer installs amdefine.

Moves @angular/tsc-wrapped 0.3.0 โ†’ 0.5.2, source-map 0.1.32, 0.4.4 โ†’ 0.5.7, source-map-support 0.3.3 โ†’ 0.4.18, tsickle 0.1.7 โ†’ 0.2.6. Your build may pick other versions.

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

  • removed: export { NodeReflectorHostContext } from './src/reflector_host'
  • removed: export { ReflectorHost } from './src/reflector_host'
  • removed: export { ReflectorHostContext } from './src/reflector_host'
  • removed: export { StaticReflector } from './src/static_reflector'
  • removed: export { StaticReflectorHost } from './src/static_reflector'
  • removed: export { StaticSymbol } from './src/static_reflector'
  • added: export { AotCompilerHost as StaticReflectorHost } from '@angular/compiler'
  • added: export { AotCompilerHost } from '@angular/compiler'
  • added: export { CompilerHost } from './src/compiler_host'
  • added: export { CompilerHostContext } from './src/compiler_host'
  • added: export { Extractor } from './src/extractor'
  • added: export { ModuleResolutionHostAdapter } from './src/compiler_host'
  • added: export { NgTools_InternalApi_NG_2 as __NGTOOLS_PRIVATE_API_2 } from './src/ngtools_api'
  • added: export { NodeCompilerHostContext } from './src/compiler_host'
  • added: export { StaticReflector } from '@angular/compiler'
  • added: export { StaticSymbol } from '@angular/compiler'
  • added: export { VERSION } from './src/version'
  • changed: constructor CodeGenerator(options: AngularCompilerOptions, program: ts.Program, host: ts.CompilerHost, staticReflector: StaticReflector, compiler: compiler.OfflineCompiler, reflectorHost: ReflectorHost) โ†’ constructor CodeGenerator(options: AngularCompilerOptions, program: ts.Program, host: ts.CompilerHost, compiler: compiler.AotCompiler, ngCompilerHost: CompilerHost)
  • changed: static method CodeGenerator.create(options: AngularCompilerOptions, cliOptions: NgcCliOptions, program: ts.Program, compilerHost: ts.CompilerHost, reflectorHostContext?: ReflectorHostContext, resourceLoader?: compiler.ResourceLoader, reflectorHost?: ReflectorHost): CodeGenerator โ†’ static method CodeGenerator.create(options: AngularCompilerOptions, cliOptions: NgcCliOptions, program: ts.Program, tsCompilerHost: ts.CompilerHost, compilerHostContext?: CompilerHostContext, ngCompilerHost?: CompilerHost): CodeGenerator
  • added: class CompilerHost implements AotCompilerHost
  • added: class CompilerHostContextAdapter
  • added: class ModuleResolutionHostAdapter extends CompilerHostContextAdapter implements CompilerHostContext
  • added: class NodeCompilerHostContext extends CompilerHostContextAdapter implements CompilerHostContext
  • added: constructor CompilerHost(program: ts.Program, options: AngularCompilerOptions, context: CompilerHostContext)
  • added: constructor ModuleResolutionHostAdapter(host: ts.ModuleResolutionHost)
  • added: interface CompilerHostContext extends ts.ModuleResolutionHost
  • added: method CompilerHost.calculateEmitPath(filePath: string): string
  • added: method CompilerHost.fileNameToModuleName(importedFile: string, containingFile: string): string
  • added: method CompilerHost.getCanonicalFileName(fileName: string): string
  • added: method CompilerHost.getMetadataFor(filePath: string): ModuleMetadata[]
  • added: method CompilerHost.getOutputFileName(sourceFilePath: string): string
  • added: method CompilerHost.isSourceFile(filePath: string): boolean
  • added: method CompilerHost.loadResource(filePath: string): Promise<string>
  • added: method CompilerHost.loadSummary(filePath: string): string | null
  • added: method CompilerHost.moduleNameToFileName(m: string, containingFile: string): string | null
  • added: method CompilerHost.readMetadata(filePath: string, dtsFilePath: string): ModuleMetadata[]
  • added: method CompilerHostContext.assumeFileExists(fileName: string): void
  • added: method CompilerHostContext.readResource(fileName: string): Promise<string>
  • added: method CompilerHostContextAdapter.assumeFileExists(fileName: string): void
  • added: method ModuleResolutionHostAdapter.fileExists(fileName: string): boolean
  • added: method ModuleResolutionHostAdapter.readFile(fileName: string): string
  • added: method ModuleResolutionHostAdapter.readResource(s: string): Promise<string>
  • added: method NodeCompilerHostContext.directoryExists(directoryName: string): boolean
  • added: method NodeCompilerHostContext.fileExists(fileName: string): boolean
  • added: method NodeCompilerHostContext.readFile(fileName: string): string
  • added: method NodeCompilerHostContext.readResource(s: string): Promise<string>
  • added: property ModuleResolutionHostAdapter.directoryExists: ((directoryName: string) => boolean) | undefined
  • added: protected method CompilerHost.getSourceFile(filePath: string): ts.SourceFile
  • added: protected property CompilerHost.basePath: string
  • added: protected property CompilerHost.context: CompilerHostContext
  • added: protected property CompilerHost.metadataCollector: MetadataCollector
  • added: protected property CompilerHost.options: AngularCompilerOptions
  • added: protected property CompilerHost.program: ts.Program
  • added: protected property CompilerHost.resolveModuleNameHost: CompilerHostContext
  • added: protected property CompilerHostContextAdapter.assumedExists: { [fileName: string]: boolean }
  • removed: class Extractor
  • removed: constructor Extractor(program: ts.Program, host: ts.CompilerHost, staticReflector: StaticReflector, messageBundle: compiler.MessageBundle, reflectorHost: ReflectorHost, metadataResolver: CompileMetadataResolver, directiveNormalizer: DirectiveNormalizer, compiler: compiler.OfflineCompiler)
  • removed: method Extractor.extract(): Promise<compiler.MessageBundle>
  • removed: property Extractor.host: ts.CompilerHost
  • removed: static method Extractor.create(options: tsc.AngularCompilerOptions, translationsFormat: string, program: ts.Program, compilerHost: ts.CompilerHost, htmlParser: compiler.I18NHtmlParser, reflectorHostContext?: ReflectorHostContext): Extractor
  • added: class Extractor
  • added: constructor Extractor(options: tsc.AngularCompilerOptions, ngExtractor: compiler.Extractor, host: ts.CompilerHost, ngCompilerHost: CompilerHost, program: ts.Program)
  • added: method Extractor.extract(formatName: string): Promise<void>
  • added: method Extractor.extractBundle(): Promise<compiler.MessageBundle>
  • added: method Extractor.getExtension(formatName: string): string
  • added: method Extractor.serialize(bundle: compiler.MessageBundle, ext: string): string
  • added: property Extractor.host: ts.CompilerHost
  • added: static method Extractor.create(options: tsc.AngularCompilerOptions, program: ts.Program, tsCompilerHost: ts.CompilerHost, compilerHostContext?: CompilerHostContext, ngCompilerHost?: CompilerHost): Extractor
  • added: function main(args: any, consoleError?: (s: string) => void): Promise<number>
  • added: class NgTools_InternalApi_NG_2
  • added: index NgTools_InternalApi_NG_2_LazyRouteMap[route: string]: string
  • added: interface NgTools_InternalApi_NG2_CodeGen_Options
  • added: interface NgTools_InternalApi_NG2_ExtractI18n_Options
  • added: interface NgTools_InternalApi_NG2_ListLazyRoutes_Options
  • added: interface NgTools_InternalApi_NG_2_LazyRouteMap
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.angularCompilerOptions: AngularCompilerOptions
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.basePath: string
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.compilerOptions: ts.CompilerOptions
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.host: ts.CompilerHost
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.i18nFile: string
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.i18nFormat: string
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.locale: string
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.program: ts.Program
  • added: property NgTools_InternalApi_NG2_CodeGen_Options.readResource: (fileName: string) => Promise<string>
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.angularCompilerOptions: AngularCompilerOptions
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.basePath: string
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.compilerOptions: ts.CompilerOptions
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.host: ts.CompilerHost
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.i18nFormat: string
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.program: ts.Program
  • added: property NgTools_InternalApi_NG2_ExtractI18n_Options.readResource: (fileName: string) => Promise<string>
  • added: property NgTools_InternalApi_NG2_ListLazyRoutes_Options.angularCompilerOptions: AngularCompilerOptions
  • added: property NgTools_InternalApi_NG2_ListLazyRoutes_Options.entryModule: string
  • added: property NgTools_InternalApi_NG2_ListLazyRoutes_Options.host: ts.CompilerHost
  • added: property NgTools_InternalApi_NG2_ListLazyRoutes_Options.program: ts.Program
  • added: static method NgTools_InternalApi_NG_2.codeGen(options: NgTools_InternalApi_NG2_CodeGen_Options): Promise<void>
  • added: static method NgTools_InternalApi_NG_2.extractI18n(options: NgTools_InternalApi_NG2_ExtractI18n_Options): Promise<void>
  • added: static method NgTools_InternalApi_NG_2.listLazyRoutes(options: NgTools_InternalApi_NG2_ListLazyRoutes_Options): NgTools_InternalApi_NG_2_LazyRouteMap
  • added: class RouteDef
  • added: function listLazyRoutesOfModule(entryModule: string, host: AotCompilerHost, reflector: StaticReflector): LazyRouteMap
  • added: interface LazyRoute
  • added: method RouteDef.toString(): string
  • added: property LazyRoute.absoluteFilePath: string
  • added: property LazyRoute.routeDef: RouteDef
  • added: property RouteDef.className: string
  • added: property RouteDef.path: string
  • added: static method RouteDef.fromString(entry: string): RouteDef
  • added: type LazyRouteMap = { [route: string]: LazyRoute }
  • added: class PathMappedCompilerHost extends CompilerHost
  • added: constructor PathMappedCompilerHost(program: ts.Program, options: AngularCompilerOptions, context: CompilerHostContext)
  • added: method PathMappedCompilerHost.fileNameToModuleName(importedFile: string, containingFile: string): string
  • added: method PathMappedCompilerHost.getCanonicalFileName(fileName: string): string
  • added: method PathMappedCompilerHost.getMetadataFor(filePath: string): ModuleMetadata[]
  • added: method PathMappedCompilerHost.moduleNameToFileName(m: string, containingFile: string): string
  • removed: class PathMappedReflectorHost extends ReflectorHost
  • removed: constructor PathMappedReflectorHost(program: ts.Program, compilerHost: ts.CompilerHost, options: AngularCompilerOptions, context?: ReflectorHostContext)
  • removed: method PathMappedReflectorHost.getCanonicalFileName(fileName: string): string
  • removed: method PathMappedReflectorHost.getImportPath(containingFile: string, importedFile: string): string
  • removed: method PathMappedReflectorHost.getMetadataFor(filePath: string): ModuleMetadata
  • removed: protected method PathMappedReflectorHost.resolve(m: string, containingFile: string): string
  • removed: type AssetUrl = typeof _._AssetUrl
  • removed: type CompileMetadataResolver = typeof _._CompileMetadataResolver
  • removed: type DirectiveNormalizer = typeof _._DirectiveNormalizer
  • removed: type DomElementSchemaRegistry = typeof _._DomElementSchemaRegistry
  • removed: type HtmlParser = typeof _._HtmlParser
  • removed: type ImportGenerator = typeof _._ImportGenerator
  • removed: type InterpolationConfig = typeof _._InterpolationConfig
  • removed: type Lexer = typeof _._Lexer
  • removed: type NgModuleCompiler = typeof _._NgModuleCompiler
  • removed: type ParseError = typeof _._ParseError
  • removed: type Parser = typeof _._Parser
  • removed: type StyleCompiler = typeof _._StyleCompiler
  • removed: type TemplateParser = typeof _._TemplateParser
  • removed: type TypeScriptEmitter = typeof _._TypeScriptEmitter
  • removed: type ViewCompiler = typeof _._ViewCompiler
  • removed: var AssetUrl: typeof _.AssetUrl
  • removed: var CompileMetadataResolver: typeof _.CompileMetadataResolver
  • removed: var DirectiveNormalizer: typeof _.DirectiveNormalizer
  • removed: var DomElementSchemaRegistry: typeof _.DomElementSchemaRegistry
  • removed: var HtmlParser: typeof _.HtmlParser
  • removed: var ImportGenerator: typeof _.ImportGenerator
  • removed: var InterpolationConfig: typeof _.InterpolationConfig
  • removed: var Lexer: typeof _.Lexer
  • removed: var NgModuleCompiler: typeof _.NgModuleCompiler
  • removed: var ParseError: typeof _.ParseError
  • removed: var Parser: typeof _.Parser
  • removed: var StyleCompiler: typeof _.StyleCompiler
  • removed: var TemplateParser: typeof _.TemplateParser
  • removed: var TypeScriptEmitter: typeof _.TypeScriptEmitter
  • removed: var ViewCompiler: typeof _.ViewCompiler
  • removed: type Console = typeof r._Console
  • removed: type GetterFn = typeof r._GetterFn
  • removed: type MethodFn = typeof r._MethodFn
  • removed: type ReflectionCapabilities = typeof r._ReflectionCapabilities
  • removed: type ReflectorReader = typeof r._ReflectorReader
  • removed: type SetterFn = typeof r._SetterFn
  • removed: var Console: typeof r.Console
  • removed: var ReflectionCapabilities: typeof r.ReflectionCapabilities
  • removed: var ReflectorReader: typeof r.ReflectorReader
  • removed: var reflector: typeof r.reflector
  • removed: class NodeReflectorHostContext implements ReflectorHostContext
  • removed: class ReflectorHost implements StaticReflectorHost, ImportGenerator
  • removed: constructor NodeReflectorHostContext(host: ts.CompilerHost)
  • removed: constructor ReflectorHost(program: ts.Program, compilerHost: ts.CompilerHost, options: AngularCompilerOptions, context?: ReflectorHostContext)
  • removed: interface ReflectorHostContext
  • removed: method NodeReflectorHostContext.assumeFileExists(fileName: string): void
  • removed: method NodeReflectorHostContext.directoryExists(directoryName: string): boolean
  • removed: method NodeReflectorHostContext.fileExists(fileName: string): boolean
  • removed: method NodeReflectorHostContext.readFile(fileName: string): string
  • removed: method ReflectorHost.angularImportLocations(): { coreDecorators: string; diDecorators: string; diMetadata: string; diOpaqueToken: string; animationMetadata: string; provider: string }
  • removed: method ReflectorHost.findDeclaration(module: string, symbolName: string, containingFile: string, containingModule?: string): StaticSymbol
  • removed: method ReflectorHost.getCanonicalFileName(fileName: string): string
  • removed: method ReflectorHost.getImportPath(containingFile: string, importedFile: string): string
  • removed: method ReflectorHost.getMetadataFor(filePath: string): ModuleMetadata
  • removed: method ReflectorHost.getStaticSymbol(declarationFile: string, name: string, members?: string[]): StaticSymbol
  • removed: method ReflectorHost.readMetadata(filePath: string): any
  • removed: method ReflectorHostContext.assumeFileExists(fileName: string): void
  • removed: method ReflectorHostContext.directoryExists(directoryName: string): boolean
  • removed: method ReflectorHostContext.fileExists(fileName: string): boolean
  • removed: method ReflectorHostContext.readFile(fileName: string): string
  • removed: protected method ReflectorHost.normalizeAssetUrl(url: string): string
  • removed: protected method ReflectorHost.resolve(m: string, containingFile: string): string
  • removed: protected method ReflectorHost.resolveAssetUrl(url: string, containingFile: string): string
  • removed: protected method ReflectorHost.resolveExportedSymbol(filePath: string, symbolName: string): StaticSymbol
  • removed: protected property ReflectorHost.basePath: string
  • removed: protected property ReflectorHost.compilerHost: ts.CompilerHost
  • removed: protected property ReflectorHost.context: ReflectorHostContext
  • removed: protected property ReflectorHost.metadataCollector: MetadataCollector
  • removed: protected property ReflectorHost.options: AngularCompilerOptions
  • removed: protected property ReflectorHost.program: ts.Program
  • removed: class StaticAndDynamicReflectionCapabilities
  • removed: constructor StaticAndDynamicReflectionCapabilities(staticDelegate: StaticReflector)
  • removed: method StaticAndDynamicReflectionCapabilities.annotations(type: any): any[]
  • removed: method StaticAndDynamicReflectionCapabilities.factory(type: any): Function
  • removed: method StaticAndDynamicReflectionCapabilities.getter(name: string): GetterFn
  • removed: method StaticAndDynamicReflectionCapabilities.hasLifecycleHook(type: any, lcInterface: any, lcProperty: string): boolean
  • removed: method StaticAndDynamicReflectionCapabilities.importUri(type: any): string
  • removed: method StaticAndDynamicReflectionCapabilities.interfaces(type: any): any[]
  • removed: method StaticAndDynamicReflectionCapabilities.isReflectionEnabled(): boolean
  • removed: method StaticAndDynamicReflectionCapabilities.method(name: string): MethodFn
  • removed: method StaticAndDynamicReflectionCapabilities.parameters(type: any): any[][]
  • removed: method StaticAndDynamicReflectionCapabilities.propMetadata(typeOrFunc: any): { [key: string]: any[] }
  • removed: method StaticAndDynamicReflectionCapabilities.resolveEnum(enumIdentifier: any, name: string): any
  • removed: method StaticAndDynamicReflectionCapabilities.resolveIdentifier(name: string, moduleUrl: string, runtime: any): any
  • removed: method StaticAndDynamicReflectionCapabilities.setter(name: string): SetterFn
  • removed: static method StaticAndDynamicReflectionCapabilities.install(staticDelegate: StaticReflector): void
  • removed: class StaticReflector implements ReflectorReader
  • removed: class StaticSymbol
  • removed: constructor StaticReflector(host: StaticReflectorHost)
  • removed: constructor StaticSymbol(filePath: string, name: string, members?: string[])
  • removed: interface StaticReflectorHost
  • removed: method StaticReflector.annotations(type: StaticSymbol): any[]
  • removed: method StaticReflector.getModuleMetadata(module: string): { [key: string]: any }
  • removed: method StaticReflector.hasLifecycleHook(type: any, lcInterface: any, lcProperty: string): boolean
  • removed: method StaticReflector.importUri(typeOrFunc: StaticSymbol): string
  • removed: method StaticReflector.parameters(type: StaticSymbol): any[]
  • removed: method StaticReflector.propMetadata(type: StaticSymbol): { [key: string]: any }
  • removed: method StaticReflector.resolveEnum(enumIdentifier: any, name: string): any
  • removed: method StaticReflector.resolveIdentifier(name: string, moduleUrl: string, runtime: any): any
  • removed: method StaticReflector.simplify(context: StaticSymbol, value: any): any
  • removed: method StaticReflectorHost.angularImportLocations(): { coreDecorators: string; diDecorators: string; diMetadata: string; diOpaqueToken: string; animationMetadata: string; provider: string }
  • removed: method StaticReflectorHost.findDeclaration(modulePath: string, symbolName: string, containingFile?: string): StaticSymbol
  • removed: method StaticReflectorHost.getMetadataFor(modulePath: string): { [key: string]: any }
  • removed: method StaticReflectorHost.getStaticSymbol(declarationFile: string, name: string, members?: string[]): StaticSymbol
  • removed: property StaticSymbol.filePath: string
  • removed: property StaticSymbol.members: string[]
  • removed: property StaticSymbol.name: string
  • added: const VERSION: Version