Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v3.0] Refine errors and warnings #4579

Merged
merged 5 commits into from Jul 30, 2022
Merged

[v3.0] Refine errors and warnings #4579

merged 5 commits into from Jul 30, 2022

Commits on Jul 30, 2022

  1. [v3.0] New hashing algorithm that "fixes (nearly) everything" (#4543)

    * Initial new hashing idea
    
    * Simplify external import path generation
    
    197 broken tests left
    
    * Use correct file names in chunk info
    
    197 broken tests left
    
    * Implement first draft for hashing algorithm
    
    189 broken tests left
    
    * Remove active deprecations
    
    this.emitAsset
    this.emitChunk
    this.getAssetFileName
    this.getChunkFileName
    import.meta.ROLLUP_ASSET_URL_
    import.meta.ROLLUP_CHUNK_URL_
    
    * Reduce render parameters
    
    * Always scan all chunks for hashes
    
    * Fix asset emission and remaining tests
    
    * Reintroduce augmentChunkHash and get OutputChunk by converting RenderedChunk
    
    * Provide chunk graph in renderChunk
    
    * Handle hash collisions
    
    * Remove deprecated hacky asset emission
    
    * Allow to configure hash sizes per file
    
    * Update documentation
    
    * Extend tests
    
    * Minor improvements
    
    * Improve documentation about hashing
    
    * Replace hash in sourcemap file
    
    * Provide ChunkInfo in banner/footer/intro/outro
    
    * Extract hashing logic
    
    * Clean up hashing logic
    
    * Add ExternalChunk wrapper
    
    * Store inputBase on Chunk
    
    * Store snippets on Chunk
    
    * Align chunk interfaces
    
    * Reduce this. property access
    
    * Move dynamicImportFunction warning to options normalization
    
    * Restructure rendering logic
    
    * Do not run on Node 10
    
    * Update documentation
    
    * Try to fix Windows tests
    
    * Improve coverage
    
    * Remove graph background colors
    
    3.0.0-0
    lukastaegert committed Jul 30, 2022
    Copy the full SHA
    0cf7989 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f867ea4 View commit details
    Browse the repository at this point in the history
  3. [v3.0] New hashing algorithm that "fixes (nearly) everything" (#4543)

    * Initial new hashing idea
    
    * Simplify external import path generation
    
    197 broken tests left
    
    * Use correct file names in chunk info
    
    197 broken tests left
    
    * Implement first draft for hashing algorithm
    
    189 broken tests left
    
    * Remove active deprecations
    
    this.emitAsset
    this.emitChunk
    this.getAssetFileName
    this.getChunkFileName
    import.meta.ROLLUP_ASSET_URL_
    import.meta.ROLLUP_CHUNK_URL_
    
    * Reduce render parameters
    
    * Always scan all chunks for hashes
    
    * Fix asset emission and remaining tests
    
    * Reintroduce augmentChunkHash and get OutputChunk by converting RenderedChunk
    
    * Provide chunk graph in renderChunk
    
    * Handle hash collisions
    
    * Remove deprecated hacky asset emission
    
    * Allow to configure hash sizes per file
    
    * Update documentation
    
    * Extend tests
    
    * Minor improvements
    
    * Improve documentation about hashing
    
    * Replace hash in sourcemap file
    
    * Provide ChunkInfo in banner/footer/intro/outro
    
    * Extract hashing logic
    
    * Clean up hashing logic
    
    * Add ExternalChunk wrapper
    
    * Store inputBase on Chunk
    
    * Store snippets on Chunk
    
    * Align chunk interfaces
    
    * Reduce this. property access
    
    * Move dynamicImportFunction warning to options normalization
    
    * Restructure rendering logic
    
    * Do not run on Node 10
    
    * Update documentation
    
    * Try to fix Windows tests
    
    * Improve coverage
    
    * Remove graph background colors
    
    3.0.0-0
    lukastaegert committed Jul 30, 2022
    Copy the full SHA
    c78fdc8 View commit details
    Browse the repository at this point in the history
  4. Rework warnings and errors

    * Refine some error messages
    * Reduce number of different props of errors
    * All errors are declared in error.ts
    * Use name RollupError for errors that do not have a cause
    lukastaegert committed Jul 30, 2022
    Copy the full SHA
    941763b View commit details
    Browse the repository at this point in the history
  5. Extend documentation

    lukastaegert committed Jul 30, 2022
    Copy the full SHA
    e61eb25 View commit details
    Browse the repository at this point in the history