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: vercel/turborepo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.13.1
Choose a base ref
...
head repository: vercel/turborepo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.13.2
Choose a head ref

Commits on Mar 26, 2024

  1. fix(Turborepo): ignore working tree state for fixed git comparisons (#…

    …7838)
    
    ### Description
    
     - Ignore uncommitted changes when both ends of a git commit comparison are specified
     - Update our internal representation of git range comparisons to fix the "from" side, and make the "to" side optional.
     - Slightly change our git range parsing to allow for empty ranges so that we can give a slightly better error message
    
    Fixes #7818
    
    ### Testing Instructions
    
    Tests updated for new internal representation, also added new tests to specify that uncommitted changes are ignored when both sides of the comparison are fixed
    
    
    Closes TURBO-2696
    Greg Soltis authored Mar 26, 2024
    Copy the full SHA
    a20564d View commit details
  2. fix(vt100): fix scrollback underflow (#7844)

    ### Description
    
    Port of doy/vt100-rust#11
    
    Should address part of #7843
    
    ### Testing Instructions
    
    Unit tests, did quick spot check that this scrolling still works.
    
    
    Closes TURBO-2700
    chris-olszewski authored Mar 26, 2024
    Copy the full SHA
    4206e49 View commit details
  3. feat(telemetry): add JS package (#7820)

    ### Description
    
    Adds a `turbo-telemetry` library that enables tracking telemetry events
    from javascript packages.
    
    **Important**
    This shares all telemetry state with turbo core's telemetry. This means
    users only need to disable once across all packages.
    tknickman authored Mar 26, 2024
    Copy the full SHA
    04e2a9f View commit details
  4. fix(ui): account for border when reserving size for logs (#7846)

    ### Description
    
    🤦 I forgot to account for the border that we're adding to task logs.
    
    I believe this will address the odd output seen in [this
    comment](#7843 (comment))
    
    ### Testing Instructions
    Before
    <img width="1143" alt="Screenshot 2024-03-26 at 1 32 41 PM"
    src="https://github.com/vercel/turbo/assets/4131117/79a5f9d8-7a00-4b1d-8df3-4b0d7400bb60">
    
    After
    <img width="1144" alt="Screenshot 2024-03-26 at 1 31 24 PM"
    src="https://github.com/vercel/turbo/assets/4131117/0314b408-80c2-44c4-9fd2-30671dd686c1">
    
    
    Closes TURBO-2701
    chris-olszewski authored Mar 26, 2024
    Copy the full SHA
    f20dd90 View commit details
  5. Turbo tasks: Reuse aggregation context and apply queued updates (#7847)

    This resolves an issue that caused Turbopack to panic with
    https://github.com/vercel/turbo/blob/04e2a9f0cb9439913975a325ce3eb59b46380ff8/crates/turbo-tasks-memory/src/task/aggregation.rs#L211
    
    When marking a task dirty:
    - Reuse the aggregation context instead of creating
    - Apply queued updates
    
    
    Closes PACK-2846
    wbinnssmith authored Mar 26, 2024
    Copy the full SHA
    5f0cd3e View commit details
  6. release(turborepo): 1.13.1-canary.3 (#7848)

    Co-authored-by: Turbobot <turbobot@vercel.com>
    github-actions[bot] and turbobot-temp authored Mar 26, 2024
    Copy the full SHA
    859216f View commit details

Commits on Mar 27, 2024

  1. add concurrency corrected duration (#7840)

    ### Description
    
    * add concurrency corrected duration
    * add CPU time (renamed from duration)
    * add secondary metric to data
    * remove left-over println
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    
    
    Closes PACK-2844
    sokra authored Mar 27, 2024
    Copy the full SHA
    9d7f916 View commit details
  2. fix size_hint on count hash set (#7854)

    ### Description
    
    This fixes too many allocations when collecting from a CountHashSet
    
    
    Closes PACK-2854
    sokra authored Mar 27, 2024
    Copy the full SHA
    6f0058c View commit details
  3. fix(yarn4): properly handle workspace protocol with path (#7817)

    ### Description
    
    Fixes #7732
    
    It seems that Yarn 4 supports using workspace-root relative paths with
    the `workspace:` protocol.
    
    I cannot find
    [any](https://yarnpkg.com/features/workspaces#cross-references)
    [reference](https://yarnpkg.com/protocol/workspace) to this behavior in
    the docs, but confirmed that it's supported by a default `yarn`
    configuration.
    
    ### Testing Instructions
    Added unit test for `workspace:` protocol used with a workspace root
    relative path.
    
    Verify that dependencies declared via a workspace root relative path:
    ```
    [0 olszewski@chriss-mbp] /tmp/yarn4 $ turbo prune web          
    Generating pruned monorepo for web in /private/tmp/yarn4/out
     - Added @repo/eslint-config
     - Added @repo/typescript-config
     - Added web
    [0 olszewski@chriss-mbp] /tmp/yarn4 $ turbo_dev --skip-infer prune web
    Generating pruned monorepo for web in /private/tmp/yarn4/out
     - Added @repo/eslint-config
     - Added @repo/typescript-config
     - Added @repo/ui
     - Added web
    [0 olszewski@chriss-mbp] /tmp/yarn4 $ cat apps/web/package.json | jq '.dependencies'
    {
      "@repo/ui": "workspace:packages/ui",
      "next": "^14.1.1",
      "react": "^18.2.0",
      "react-dom": "^18.2.0"
    }
    ```
    
    Closes TURBO-2691
    chris-olszewski authored Mar 27, 2024
    Copy the full SHA
    09853a2 View commit details

Commits on Mar 28, 2024

  1. feat(turbopack): Support marking packages as side-effect-free (#7731)

    ### Description
    
    This is required to support `experimental.optimizePackageImports` of `next.config.js`.
    
    next.js counterpart: vercel/next.js#63268
    
    Closes PACK-2527
    
    ### Testing Instructions
    
    Look at the test case I added to vercel/next.js#63268
    kdy1 authored Mar 28, 2024
    Copy the full SHA
    ad6b88b View commit details
  2. fix panic in subtract (#7859)

    ### Description
    
    <!--
      ✍️ Write a short summary of your work.
      If necessary, include relevant screenshots.
    -->
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    
    
    Closes PACK-2866
    sokra authored Mar 28, 2024
    Copy the full SHA
    abbc632 View commit details
  3. LSP bun bin support (#7842)

    ### Description
    
    This adds bun's bin folder to the path when looking for global turbo
    as well as attempting to search the bun local bin folder when looking
    for local turbo.
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    
    
    Closes TURBO-2698
    arlyon authored Mar 28, 2024
    Copy the full SHA
    028ec87 View commit details
  4. feat(lockfile): support for parsing pnpm lockfile v7 (#7853)

    ### Description
    
    Pnpm is releasing a new version of the pnpm lockfile. The changes that
    break us are:
     - pnpm/pnpm#7752
     - pnpm/pnpm#7700
    
    Future work will probably looking at dropping support for pnpm v7
    depending on usage numbers.
    
    This PR does not implement `prune` for the latest lockfile, but instead
    will throw an error if one tries to prune a version 7 lockfile.
    
    ### Testing Instructions
    
    Added unit tests that use lockfiles generated by `pnpm@9.0.0-beta.0`
    
    Manual testing with example repository.
    chris-olszewski authored Mar 28, 2024
    Copy the full SHA
    9ae9a3c View commit details
  5. Copy the full SHA
    060a146 View commit details

Commits on Mar 29, 2024

  1. ci(workflow): expands more wasi targets (#7862)

    ### TL;DR
    
    This pull request updates the build flags for the 'turbopack' wasm32-wasi target and increases the number of target packages.
    
    ### What changed?
    
    In the GitHub workflow file for tests, the `cargo check` command for the 'turbopack-wasi' target now specifies the `CARGO_BUILD_TARGET` environment variable. Additionally, in the 'Cargo.toml' file, the list of packages that can be compiled against the wasm32-wasi target has been expanded to include more turbo-task related crates.
    
    ### How to test?
    
    To test these changes, run the GitHub workflows and check whether the 'turbopack' build process and the associated tests succeed.
    
    ### Why make this change?
    
    Updating the build flags and target packages for the wasm32-wasi build process in 'turbopack' may lead to better performance and broader feature support.
    kwonoj authored Mar 29, 2024
    Copy the full SHA
    18a3dd1 View commit details
  2. feat(turbopack): Support marking packages as side-efffect-free (#7863)

    ### Description
    
    This reverts commit 060a146.
    
    ### Testing Instructions
    kdy1 authored Mar 29, 2024
    Copy the full SHA
    85e1e74 View commit details
  3. feat(create-turbo): usage metrics (#7852)

    ### Description
    
    Add anonymous usage telemetry to create-turbo. If you have already opted
    out of turbo telemetry, you have opted out of this telemetry as well.
    tknickman authored Mar 29, 2024
    Copy the full SHA
    f41618a View commit details
  4. fix(pnpm): support new pnpm9 default link-workspace-packages (#7865)

    ### Description
    
    With [PNPM 9](https://github.com/pnpm/pnpm/releases/tag/v9.0.0-alpha.0),
    [link-workspace-packages]() is now defaulting to `false` meaning that
    unless the `workspace` protocol is explicitly used, packages from the
    registry will be preferred over workspace packages.
    
    It's odd to have 3 variants of the PNPM package manager, but that is the
    current state of the world. Unsure of why we changed from a generic
    interface to a enum in the Go->Rust port, but we'll probably want to go
    back to that world to reduce match statement complexity.
    
    ### Testing Instructions
    
    Unit tests for package manager detection. Quick spot check in a
    `create-turbo` repo with workspace deps updates so they don't use
    `workspace` protocol.
    
    
    
    
    Closes TURBO-2733
    chris-olszewski authored Mar 29, 2024
    Copy the full SHA
    941bc0b View commit details

Commits on Mar 30, 2024

  1. add heaptrack trace format (#7849)

    ### Description
    
    allow to load heaptrack files with the turbo-trace-viewer
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    
    
    Closes PACK-2848
    sokra authored Mar 30, 2024
    Copy the full SHA
    e41c412 View commit details

Commits on Apr 1, 2024

  1. (docs): refer to correct Github Actions cache version as described in…

    … example (#7869)
    
    ### Description
    
    <!--
      ✍️ Write a short summary of your work.
      If necessary, include relevant screenshots.
    -->
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    
    Co-authored-by: Chris Olszewski <chris.olszewski@vercel.com>
    KarelVerschraegen and chris-olszewski authored Apr 1, 2024
    Copy the full SHA
    f1d64e9 View commit details
  2. chore(telemetry): track dot env usage (#7876)

    ### Description
    
    Adds tracking for usage of `globalDotEnv` and `dotEnv` in `turbo.json`
    
    ### Testing Instructions
    
    👀 
    
    
    Closes TURBO-2741
    chris-olszewski authored Apr 1, 2024
    Copy the full SHA
    a76ab4c View commit details
  3. Docs: Fix heading (#7873)

    ### Description
    
    <!--
      ✍️ Write a short summary of your work.
      If necessary, include relevant screenshots.
    -->
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    Dragate authored Apr 1, 2024
    Copy the full SHA
    375cacf View commit details
  4. chore: fix lockfile (#7877)

    ### Description
    
    `Cargo.lock` seems to have gotten out of sync causing releases to fail:
    https://github.com/vercel/turbo/actions/runs/8512324406/job/23314678126#step:11:1652
    
    ### Testing Instructions
    
    👀 
    
    
    Closes TURBO-2742
    chris-olszewski authored Apr 1, 2024
    Copy the full SHA
    a33e99f View commit details
  5. release(turborepo): 1.13.1 (#7878)

    Co-authored-by: Turbobot <turbobot@vercel.com>
    github-actions[bot] and turbobot-temp authored Apr 1, 2024
    Copy the full SHA
    35a9bb0 View commit details

Commits on Apr 2, 2024

  1. Update TS module resolutions in examples. (#7872)

    ### Description
    
    Updating so we don't use `"moduleResolution": "node"` in examples. It's
    outdated!
    
    Closes TURBO-2737
    anthonyshew authored Apr 2, 2024
    Copy the full SHA
    6839aa2 View commit details
  2. fix(telemetry): support bad init (#7881)

    ### Description
    
    If something goes wrong with telemetry init (bad file, bad perms etc.)
    we shouldn't error, just proceed without.
    
    Fixes #7880
    
    ### Testing Instructions
    
    <!--
      Give a quick description of steps to test your changes.
    -->
    
    
    Closes TURBO-2744
    tknickman authored Apr 2, 2024
    Copy the full SHA
    6c701ad View commit details
  3. Copy the full SHA
    50fc942 View commit details
Loading