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: alecthomas/chroma
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.18.0
Choose a base ref
...
head repository: alecthomas/chroma
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.19.0
Choose a head ref
  • 10 commits
  • 67 files changed
  • 8 contributors

Commits on May 22, 2025

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

Commits on May 27, 2025

  1. Add Core lexer (#1083)

    soc authored May 27, 2025
    Configuration menu
    Copy the full SHA
    bc60826 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2025

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

Commits on Jun 6, 2025

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

Commits on Jun 7, 2025

  1. chore(deps): update all non-major dependencies (#1082)

    This PR contains the following updates:
    
    | Package | Type | Update | Change | Age | Adoption | Passing |
    Confidence |
    |---|---|---|---|---|---|---|---|
    | [esbuild](https://redirect.github.com/evanw/esbuild) | | patch |
    `0.25.4` -> `0.25.5` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/esbuild/0.25.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/esbuild/0.25.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/esbuild/0.25.4/0.25.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/esbuild/0.25.4/0.25.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    |
    [github.com/alecthomas/chroma/v2](https://redirect.github.com/alecthomas/chroma)
    | require | minor | `v2.17.2` -> `v2.18.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2falecthomas%2fchroma%2fv2/v2.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2falecthomas%2fchroma%2fv2/v2.17.2/v2.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.17.2/v2.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://redirect.github.com/golang/go) | | patch | `1.24.3` ->
    `1.24.4` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/go/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/go/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/go/1.24.3/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/go/1.24.3/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [go](https://go.dev/)
    ([source](https://redirect.github.com/golang/go)) | toolchain | patch |
    `1.24.3` -> `1.24.4` |
    [![age](https://developer.mend.io/api/mc/badges/age/golang-version/go/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/golang-version/go/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/golang-version/go/1.24.3/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/golang-version/go/1.24.3/1.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    | [watchexec](https://redirect.github.com/watchexec/watchexec) | | patch
    | `2.3.1` -> `2.3.2` |
    [![age](https://developer.mend.io/api/mc/badges/age/hermit/watchexec/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/watchexec/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/watchexec/2.3.1/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/watchexec/2.3.1/2.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>evanw/esbuild (esbuild)</summary>
    
    ###
    [`v0.25.5`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0255)
    
    [Compare
    Source](https://redirect.github.com/evanw/esbuild/compare/v0.25.4...v0.25.5)
    
    - Fix a regression with `browser` in `package.json`
    ([#&#8203;4187](https://redirect.github.com/evanw/esbuild/issues/4187))
    
    The fix to
    [#&#8203;4144](https://redirect.github.com/evanw/esbuild/issues/4144) in
    version 0.25.3 introduced a regression that caused `browser` overrides
    specified in `package.json` to fail to override relative path names that
    end in a trailing slash. That behavior change affected the
    `[email protected]` package. This regression has been fixed, and now has test
    coverage.
    
    - Add support for certain keywords as TypeScript tuple labels
    ([#&#8203;4192](https://redirect.github.com/evanw/esbuild/issues/4192))
    
    Previously esbuild could incorrectly fail to parse certain keywords as
    TypeScript tuple labels that are parsed by the official TypeScript
    compiler if they were followed by a `?` modifier. These labels included
    `function`, `import`, `infer`, `new`, `readonly`, and `typeof`. With
    this release, these keywords will now be parsed correctly. Here's an
    example of some affected code:
    
        ```ts
        type Foo = [
          value: any,
          readonly?: boolean, // This is now parsed correctly
        ]
        ```
    
    - Add CSS prefixes for the `stretch` sizing value
    ([#&#8203;4184](https://redirect.github.com/evanw/esbuild/issues/4184))
    
    This release adds support for prefixing CSS declarations such as `div {
    width: stretch }`. That CSS is now transformed into this depending on
    what the `--target=` setting includes:
    
        ```css
        div {
          width: -webkit-fill-available;
          width: -moz-available;
          width: stretch;
        }
        ```
    
    </details>
    
    <details>
    <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary>
    
    ###
    [`v2.18.0`](https://redirect.github.com/alecthomas/chroma/releases/tag/v2.18.0)
    
    [Compare
    Source](https://redirect.github.com/alecthomas/chroma/compare/v2.17.2...v2.18.0)
    
    ##### Changelog
    
    -
    [`7f0057b`](https://redirect.github.com/alecthomas/chroma/commit/7f0057b)
    feat: support for dark mode in chromad
    -
    [`d87cb47`](https://redirect.github.com/alecthomas/chroma/commit/d87cb47)
    chore(deps): update all non-major dependencies
    ([#&#8203;1077](https://redirect.github.com/alecthomas/chroma/issues/1077))
    -
    [`79dde77`](https://redirect.github.com/alecthomas/chroma/commit/79dde77)
    Added IBM RPG lexer
    ([#&#8203;1078](https://redirect.github.com/alecthomas/chroma/issues/1078))
    -
    [`1b932ec`](https://redirect.github.com/alecthomas/chroma/commit/1b932ec)
    chore: disable gorilla/csrf upgrades temporarily
    
    </details>
    
    <details>
    <summary>golang/go (go)</summary>
    
    ###
    [`v1.24.4`](https://redirect.github.com/golang/go/compare/go1.24.3...go1.24.4)
    
    </details>
    
    <details>
    <summary>watchexec/watchexec (watchexec)</summary>
    
    ###
    [`v2.3.2`](https://redirect.github.com/watchexec/watchexec/releases/tag/v2.3.2):
    CLI v2.3.2
    
    [Compare
    Source](https://redirect.github.com/watchexec/watchexec/compare/watchexec-v2.3.1...watchexec-v2.3.2)
    
    Change the `--wrap-process` default on Mac to pre-1.24 behaviour
    (`session`, instead of `group`).
    
    Please chime in
    [#&#8203;864](https://redirect.github.com/watchexec/watchexec/issues/864)
    if that breaks your usage.
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
    Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
    defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config
    help](https://redirect.github.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR was generated by [Mend Renovate](https://mend.io/renovate/).
    View the [repository job
    log](https://developer.mend.io/github/alecthomas/chroma).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNi4wIiwidXBkYXRlZEluVmVyIjoiNDAuNDAuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 7, 2025
    Configuration menu
    Copy the full SHA
    6ffb465 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2025

  1. Add MoonScript lexer (#1091)

    This change...
    
    * Generates a MoonScript lexer with the `pygments2chroma_xml.py` script
    using Pygments version 2.19.1
    * Replaces `rexexp2`-incompatible Python-style patterns with [compatible
    ones][1]:
        - Capture group pattern `?P<name>` with .NET-style `?<name>`
        - Named back reference `?P=name` with ECMAScript-style `\k<name>`
    * Removes `and`, `or`, and `not` from the Keyword rule, since they are
    also listed under the OperatorWord rule
    * Fixes incorrect string escape rules discovered while writing the test
    data
    * Adds test data for the lexer
    
    [1]:
    <https://github.com/dlclark/regexp2?tab=readme-ov-file#compare-regexp-and-regexp2>
    omnivelociraptor authored Jun 20, 2025
    Configuration menu
    Copy the full SHA
    970eacc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd5c4a8 View commit details
    Browse the repository at this point in the history
  3. fix: add lexer compile time validation for group by

    So that if there's a mismatch between capture groups and emitters, it
    will error early.
    alecthomas committed Jun 20, 2025
    Configuration menu
    Copy the full SHA
    a5ceb28 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2025

  1. chore: add uv

    alecthomas committed Jun 21, 2025
    Configuration menu
    Copy the full SHA
    484750a View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2025

  1. feat: WASM playground

    alecthomas committed Jun 30, 2025
    Configuration menu
    Copy the full SHA
    adeac8f View commit details
    Browse the repository at this point in the history
Loading