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: knope-dev/changesets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: knope-dev/changesets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref

Commits on Jun 24, 2024

  1. Copy the full SHA
    85f8141 View commit details

Commits on Jul 25, 2024

  1. chore(deps): update rust to v1.80.0 (#70)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jul 25, 2024
    Copy the full SHA
    c707262 View commit details

Commits on Aug 3, 2024

  1. chore(deps): update rust crate tempfile to v3.11.0 (#71)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 3, 2024
    Copy the full SHA
    6e45988 View commit details

Commits on Aug 4, 2024

  1. chore(deps): update dependency knope to v0.17.0 (#72)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 4, 2024
    Copy the full SHA
    f296027 View commit details

Commits on Aug 7, 2024

  1. chore(deps): update rust crate tempfile to v3.12.0 (#73)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 7, 2024
    Copy the full SHA
    7dbde7b View commit details

Commits on Aug 8, 2024

  1. chore(deps): update rust to v1.80.1 (#74)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 8, 2024
    Copy the full SHA
    6894b09 View commit details

Commits on Aug 18, 2024

  1. chore(deps): update dependency knope to v0.18.0 (#75)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 18, 2024
    Copy the full SHA
    4d9ee9f View commit details
  2. chore(deps): lock file maintenance (#69)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Dylan Anthony <43723790+dbanty@users.noreply.github.com>
    renovate[bot] and dbanty authored Aug 18, 2024
    Copy the full SHA
    1928fe6 View commit details

Commits on Aug 19, 2024

  1. Copy the full SHA
    773b2d9 View commit details

Commits on Aug 26, 2024

  1. Copy the full SHA
    3e087f9 View commit details

Commits on Sep 2, 2024

  1. Copy the full SHA
    9f5e906 View commit details

Commits on Sep 5, 2024

  1. chore(deps): update rust to v1.81.0 (#79)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 5, 2024
    Copy the full SHA
    5140582 View commit details

Commits on Sep 15, 2024

  1. chore(deps): update dependency knope to v0.18.1 (#81)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 15, 2024
    Copy the full SHA
    33929cd View commit details

Commits on Sep 28, 2024

  1. chore(deps): update rust crate tempfile to v3.13.0 (#82)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 28, 2024
    Copy the full SHA
    30dab09 View commit details

Commits on Oct 7, 2024

  1. chore(deps): update actions/checkout digest to eef6144 (#83)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 7, 2024
    Copy the full SHA
    1758fab View commit details

Commits on Oct 17, 2024

  1. chore(deps): update rust to v1.82.0 (#84)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 17, 2024
    Copy the full SHA
    a48f6d0 View commit details

Commits on Oct 23, 2024

  1. chore(deps): update actions/checkout digest to 11bd719 (#85)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 23, 2024
    Copy the full SHA
    defa75b View commit details

Commits on Nov 8, 2024

  1. chore(deps): update rust crate tempfile to v3.14.0 (#86)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 8, 2024
    Copy the full SHA
    70bf716 View commit details

Commits on Nov 28, 2024

  1. chore(deps): update rust to v1.83.0 (#87)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 28, 2024
    Copy the full SHA
    a270b1c View commit details

Commits on Jan 1, 2025

  1. chore(deps): update dependency knope to v0.18.2 (#88)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 1, 2025
    Copy the full SHA
    94a43bd View commit details

Commits on Jan 3, 2025

  1. chore(deps): update rust crate tempfile to v3.15.0 (#89)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 3, 2025
    Copy the full SHA
    fdcd379 View commit details

Commits on Jan 9, 2025

  1. chore(deps): update rust to v1.84.0 (#90)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 9, 2025
    Copy the full SHA
    9e685b6 View commit details

Commits on Jan 21, 2025

  1. chore(deps): update dependency knope to v0.18.3 (#91)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 21, 2025
    Copy the full SHA
    767ca87 View commit details

Commits on Jan 28, 2025

  1. chore(deps): update rust crate tempfile to v3.16.0 (#92)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 28, 2025
    Copy the full SHA
    b574b26 View commit details

Commits on Jan 30, 2025

  1. chore(deps): update rust to v1.84.1 (#93)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 30, 2025
    Copy the full SHA
    8f1013a View commit details

Commits on Feb 16, 2025

  1. chore(deps): update rust crate tempfile to v3.17.0 (#94)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 16, 2025
    Copy the full SHA
    42f52f3 View commit details

Commits on Feb 17, 2025

  1. chore(deps): update rust crate tempfile to v3.17.1 (#95)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 17, 2025
    Copy the full SHA
    6e9742d View commit details

Commits on Mar 6, 2025

  1. chore(deps): update rust crate tempfile to v3.18.0 (#97)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 6, 2025
    Copy the full SHA
    7228523 View commit details

Commits on Mar 8, 2025

  1. Don't normalize file names for existing change files (#98)

    Co-authored-by: Dylan Anthony <dbanty@users.noreply.github.com>
    dbanty and dbanty authored Mar 8, 2025
    Copy the full SHA
    a63949c View commit details
  2. Copy the full SHA
    2a7a568 View commit details
  3. chore(deps): lock file maintenance (#80)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 8, 2025
    Copy the full SHA
    3994e39 View commit details
  4. chore(deps): update rust to v1.85.0 (#96)

    * chore(deps): update rust to v1.85.0
    
    * chore: implement new lints
    
    * chore: implement new lints
    
    * chore: implement new lints
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Dylan Anthony <dbanty@users.noreply.github.com>
    renovate[bot] and dbanty authored Mar 8, 2025
    Copy the full SHA
    8ea4614 View commit details
  5. Copy the full SHA
    9f6a8c8 View commit details
  6. Copy the full SHA
    f2c3144 View commit details
  7. Release 0.4.0 (#99)

    Co-authored-by: knope-bot-test[bot] <150975753+knope-bot-test[bot]@users.noreply.github.com>
    knope-bot-test[bot] authored Mar 8, 2025
    Copy the full SHA
    5b95223 View commit details
26 changes: 9 additions & 17 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -5,26 +5,18 @@
"github>Turbo87/renovate-config//rust/updateToolchain"
],
"platformAutomerge": true,
"lockFileMaintenance": { "enabled": true },
"lockFileMaintenance": {
"enabled": true
},
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
],
"regexManagers": [
{
"fileMatch": [
"release.yml",
"prerelease.yml",
"release_dry_run.yml"
],
"matchStrings": [
"version:\\s*(?<currentValue>.*)"
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
],
"depNameTemplate": "knope",
"datasourceTemplate": "crate",
"versioningTemplate": "semver"
"automerge": true
}
]
}
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -10,21 +10,21 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: Swatinem/rust-cache@v2
- run: cargo test

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: Swatinem/rust-cache@v2
- run: cargo clippy

check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: |
rustup override set nightly
rustup update nightly
26 changes: 0 additions & 26 deletions .github/workflows/prerelease.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
publish-crate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: Swatinem/rust-cache@v2
- uses: katyo/publish-crates@v2
with:
26 changes: 0 additions & 26 deletions .github/workflows/release.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/release_dry_run.yml

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## 0.4.0 (2025-03-08)

### Breaking Changes

- Update edition to 2024 and MSRV to 1.85

#### Stop normalizing paths for existing files

If you already have a change file,
potentially created by another tool,
this library renormalizing the file name can cause unexpected errors (for example, when writing _back_ to the file).

Internally, `Change::from_file`, `Change::from_file_name_and_content`,
and `ChangeSet::from_directory` all now use `UniqueId::exact`.

When creating a _new_ change file (not opening an existing one),
you should construct a `Change { ... }` yourself and use `UniqueId::normalize` to get the previous behavior.

#### Removed `From<AsRef<str>>` for `UniqueId`

Instead, use either `UniqueId::normalize` or `UniqueId::exact` to specify if you'd like the value to be transformed.
108 changes: 73 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "changesets"
authors = ["Dylan Anthony"]
edition = "2021"
rust-version = "1.70"
edition = "2024"
rust-version = "1.85"
description = "A library for parsing and creating changeset files"
readme = "README.md"
repository = "https://github.com/knope-dev/changesets"
license = "MIT OR Apache-2.0"
keywords = ["changeset", "changelog", "semantic", "versioning", "release"]
categories = ["development-tools"]
version = "0.3.0"
version = "0.4.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Loading