Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: voidzero-dev/oxc-angular-compiler
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.20
Choose a base ref
...
head repository: voidzero-dev/oxc-angular-compiler
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.21
Choose a head ref
  • 11 commits
  • 125 files changed
  • 7 contributors

Commits on Mar 29, 2026

  1. Configuration menu
    Copy the full SHA
    a8140e3 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update npm packages (#188)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    5bf51ed View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. chore(deps): update rust crates (#189)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    c2fd8f4 View commit details
    Browse the repository at this point in the history
  2. chore(deps): update dependency typescript to v6 (#190)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    290ef12 View commit details
    Browse the repository at this point in the history
  3. fix: preserve multi-byte UTF-8 characters in CSS encapsulation (#192)

    The CSS encapsulation code used `bytes[i] as char` to copy characters,
    which treats each byte of a multi-byte UTF-8 sequence as a separate
    Latin-1 codepoint. This corrupted non-ASCII characters (e.g. bullet •)
    that appear after Sass compiles CSS escape sequences like `\2022`.
    
    Replace all 13 instances with `push_utf8_char()` which reads the UTF-8
    character width from the leading byte and copies the full character.
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Brooooooklyn and claude authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    8d11968 View commit details
    Browse the repository at this point in the history
  4. fix(vite): simplify linker transform filter for Vite/Rolldown compati…

    …bility (#193)
    
    The complex regex in the transform filter (`[\\/]`, `(?:\?.*)?$`) was not
    reliably evaluated by Vite 8's Rolldown-backed filter mechanism, preventing
    the linker from processing excluded node_modules packages like PrimeNG.
    Without linking, Angular falls back to JIT which fails with NG0303 for
    non-standalone components.
    
    Split filtering into two stages: a simple `/node_modules/` static filter
    that any Vite version can evaluate, and precise extension + content checks
    inside the handler using JavaScript's native regex engine.
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Brooooooklyn and claude authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    9b7132e View commit details
    Browse the repository at this point in the history
  5. fix(injectable): don't default providedIn to 'root' when not specified (

    #194)
    
    @Injectable() and @Injectable({}) were incorrectly defaulting providedIn
    to 'root'. Angular's actual behavior is to omit providedIn entirely when
    it's not explicitly specified, as confirmed by the official compliance tests.
    ashley-hunter authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    db8978f View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2026

  1. fix(vite): stop swallowing HMR updates for non-component resources (#197

    )
    
    * fix(vite): stop swallowing HMR updates for non-component resources
    
    The plugin's handleHotUpdate was returning [] for all CSS/HTML files,
    preventing Vite from processing global stylesheets and notifying
    PostCSS/Tailwind of content changes. Now only component resource files
    (tracked in resourceToComponent) are swallowed; non-component files
    flow through Vite's normal HMR. Also emits a synthetic watcher event
    when component templates change so Tailwind can rescan for new classes.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * fix review: remove synthetic watcher emit, fix test setup
    
    - Remove server.watcher.emit('change', file) for component resources:
      Vite treats HTML changes with no module graph entries as full reloads,
      which would regress template HMR behavior.
    - Fix test to call config() with command='serve' so watchMode=true and
      resourceToComponent is actually populated during transform. Tests now
      use real temp files and assert exact return values.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * fix: resolve oxlint type-check errors in HMR tests
    
    Use .call() with plugin context for handleHotUpdate to satisfy TS2684,
    and remove invalid 'type' property from mock ModuleNode to fix TS2345.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * fix: prune stale resourceToComponent entries and fix Windows CI
    
    - Prune old resource→component mappings before re-registering during
      transform, so renamed/removed templateUrl/styleUrls no longer cause
      handleHotUpdate to swallow updates for files that are no longer
      component resources.
    - Replace real fs.watch with no-op in tests to avoid EPERM errors on
      Windows when temp files are cleaned up. resourceToComponent is
      populated before watchFn runs, so test coverage is preserved.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * fix: re-add pruned resources to Vite watcher
    
    When a component drops a resource from templateUrl/styleUrls, the file
    was already unwatched from Vite's chokidar watcher by the custom
    fs.watch setup. Pruning the resourceToComponent entry made the file
    invisible to both systems. Now re-add pruned files to Vite's watcher
    so they can flow through normal HMR if used elsewhere (e.g., as a
    global stylesheet). Also skip pruning resources that are still in the
    new dependency set.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Brooooooklyn and claude authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    f9c0863 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ca88d4 View commit details
    Browse the repository at this point in the history
  3. fix: update code for oxc 0.123 API changes (Atom -> Ident)

    * chore(deps): update oxc
    
    * fix: update code for oxc 0.123 API changes (Atom -> Ident)
    
    Agent-Logs-Url: https://github.com/voidzero-dev/oxc-angular-compiler/sessions/e30e0210-0bc0-4fde-89cf-53e615179571
    
    Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
    
    * fix: resolve type mismatch errors with --all-features
    
    Fix HashMap/HashSet lookups where Ident keys require proper type conversions
    
    Agent-Logs-Url: https://github.com/voidzero-dev/oxc-angular-compiler/sessions/a7e20639-8c1f-41cd-9213-7290a72152ec
    
    Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
    
    * chore: run cargo fmt to fix formatting issues
    
    Agent-Logs-Url: https://github.com/voidzero-dev/oxc-angular-compiler/sessions/bd85e1c3-dac8-400f-905a-65ef81ad4ae1
    
    Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
    Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
    3 people authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    855d4f5 View commit details
    Browse the repository at this point in the history
  4. 0.0.21

    Brooooooklyn committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    98651d7 View commit details
    Browse the repository at this point in the history
Loading