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: TypeStrong/ts-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.5.7
Choose a base ref
...
head repository: TypeStrong/ts-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.6.0
Choose a head ref
  • 5 commits
  • 3,845 files changed
  • 5 contributors

Commits on Apr 3, 2026

  1. feat: upgrade comparison / execution test packs to TS 6 (#1685)

    * feat: upgrade execution tests to TS 6
    
    * fix: execution test for TS 5.9.2
    
    * chore: only test optionsCaching on ts 5.6+
    
    * chore: start preparing comparison tests for TS 6
    
    * chore: generate comparison tests stub
    
    * chore: update snapshots
    
    * fix: snapshots
    
    * fix: remove unused snapshots
    johnnyreilly authored Apr 3, 2026
    Configuration menu
    Copy the full SHA
    586e3b8 View commit details
    Browse the repository at this point in the history
  2. feat: remove TS version from comparison tests (#1692)

    (cherry picked from commit 6f3d5e4)
    johnnyreilly authored Apr 3, 2026
    Configuration menu
    Copy the full SHA
    972a428 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2026

  1. Configuration menu
    Copy the full SHA
    e714be1 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2026

  1. feat: add webpack 4 support to ts-loader v9 (#1697)

    * feat: widen webpack peer support
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/74b74f2d-76ad-4022-9635-77d0c5acce76
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: plan isWebpack5 refactor
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/e322b7ed-e010-4d60-9a2d-3672c9d55324
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: propagate webpack major version through instance flow
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/55527c90-acbb-42e1-b384-95f6fdfe9283
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: use instance.isWebpack5 consistently for strategy decisions
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/84c8d79e-30f1-46f5-baf3-bc669466d3ba
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: localize webpack5 detection to instance setup
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/faa27c75-efcd-4e5a-8062-443dce3bf610
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: use module methods directly in webpack5 error cleanup
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/5d863b98-4c30-478e-8205-7c3a7387b0f1
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * Apply suggestion from @johnnyreilly
    
    * refactor: consolidate webpack5 build dependency registration
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/f0ead9d8-6749-4f8c-9b23-a5989c21dcbe
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: add getLoaderOptions webpack 4 changes
    
    * fix: resolve src/index.ts webpack4 loader options regression
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/e3bff588-a014-408c-b189-25f3f9f840ae
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: make loader-utils optional peer for webpack4 path
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/7890d2b2-6ade-4dc1-9ea6-6bf89c4a60de
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: investigate and address failing webpack4 and comparison tests
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/584f3756-84fa-48c5-b740-30f99f1002d6
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: loaderOptions separate file
    
    * refactor: use isWebpack5 in after-compile module mapping
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/6940b64c-bb0d-431f-b8cf-7e83f58ff811
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: derive and reuse isWebpack5 in index loader
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/45ce3f0d-3ab9-47ff-8520-23271ab092af
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * refactor: pass isWebpack5 into instance creation flow
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/80f981d4-a9e6-4dce-8da0-93e82749d5f2
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: restore comparison outputs and normalize ts-loader module errors
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/018a7a6f-9335-4dc8-a21d-32da8f812c6b
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: inline require
    
    * chore: reduce number of tested versions
    
    * chore: exclude test to see if fixes webpack 4
    
    * chore: introduce minimum webpack version
    
    * chore: lockfile
    
    * fix: build
    
    * fix: check is object
    
    * chore: upgrade eslint
    
    * fix: tidy
    
    * Revert "chore: lockfile"
    
    This reverts commit 7878c8f.
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: restore module error guard in after-compile
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/72a9d59f-c15a-451b-a293-48ee4ddae4e6
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: drop unintended yarn.lock changes
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/72a9d59f-c15a-451b-a293-48ee4ddae4e6
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/72a9d59f-c15a-451b-a293-48ee4ddae4e6
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: pin @types/eslint to unblock CI type checks
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/6c6888a9-7744-4fee-b616-05f505226581
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: comment some stuff
    
    * fix: restore moduleHasErrors guard in after-compile
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/caa59e7e-b86c-4051-9d2e-f6f6bea4b768
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: revert unintended yarn.lock changes
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/caa59e7e-b86c-4051-9d2e-f6f6bea4b768
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: update progress after moduleHasErrors reply
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/caa59e7e-b86c-4051-9d2e-f6f6bea4b768
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: revert unintended lockfile re-add
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/caa59e7e-b86c-4051-9d2e-f6f6bea4b768
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * docs(changelog): add 9.6.0 entry for webpack 4 support feature
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/5ab3e8ae-31b4-4a96-917d-adcd027e3593
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: revert unintended yarn.lock changes
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/5ab3e8ae-31b4-4a96-917d-adcd027e3593
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * chore: input fiddling
    
    * fix: make isWebpack5 a shared constant
    
    * fix: add back webpack 5 check
    
    * chore: lock file
    
    * fix: stabilize nodeModulesMeaningfulErrorWhenImportingTs comparison output
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/df34fd80-1718-4769-8f01-fbc15f96c807
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: restore lockfile resolution to unblock comparison tests
    
    Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/22ab19a4-eb4b-4cf6-8efc-423776e48f2d
    
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    
    * fix: do not use feature detection
    
    * fix: invalid output for test
    
    * fix: remove hallucinations
    
    * chore: update eslint
    
    * fix: remove more hallucinations / add min ts version to matrix
    
    * fix: webpack 4
    
    * chore: drop old
    
    * fix: make loader-utils * as a peerDependencies
    
    * fix: watchRun should cater for webpack 4 dates
    
    * fix: webpack 4 errors
    
    * fix: lint
    
    * fix: loaderSource -> details
    
    * fix: WebpackError wouldn't work for webpack 4
    
    * fix: nits
    
    * fix: whoops
    
    * fix: do not use SourceMapConsumer if correct version not available
    
    * chore: experiment removing resourceResolveData
    
    * fix: guard module.addError for webpack 4
    
    * feat: add common addErrorToModule
    
    * chore: CHANGELOG
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
    Co-authored-by: John Reilly <johnny_reilly@hotmail.com>
    3 people authored May 27, 2026
    Configuration menu
    Copy the full SHA
    d088b15 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2026

  1. chore: version 9.6.0

    acutmore authored May 29, 2026
    Configuration menu
    Copy the full SHA
    eee9e02 View commit details
    Browse the repository at this point in the history
Loading