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: angularsen/UnitsNet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: angularsen/UnitsNet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: maintenance/v5
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 289 files changed
  • 2 contributors

Commits on Jul 25, 2025

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

Commits on Jul 26, 2025

  1. 🔧Set assembly file version to match nuget version (v5) (#1581)

    Fixes #1557
    
    The assembly file version was incorrectly set to the same as
    `<AssemblyVersion>`, which is fixed to the major version for strong
    naming.
    
    ### Changes
    - Explicitly configure `<FileVersion>` to match the nuget package
    version
    angularsen authored Jul 26, 2025
    Configuration menu
    Copy the full SHA
    21ef845 View commit details
    Browse the repository at this point in the history
  2. UnitsNet: 5.75.0

    angularsen committed Jul 26, 2025
    Configuration menu
    Copy the full SHA
    597686a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0085cdd View commit details
    Browse the repository at this point in the history
  4. ci: 💚Fix deploying nugets

    Replace conditional with environment checks.
    angularsen committed Jul 26, 2025
    Configuration menu
    Copy the full SHA
    3851b07 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2025

  1. Deprecating the Multiply/Divide methods for the Temperature (#1589)

    As discussed in #1587, these are supposed to go away in `v6`
    lipchev authored Aug 2, 2025
    Configuration menu
    Copy the full SHA
    4b86df5 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2025

  1. Making the methods from UnitMath that exist in System.Linq as [Obsole…

    …te] (#1593)
    
    Making the `Min` / `Max` of an `IEnumerable` and their selector
    overloads `[Obsolete]` in `v5` (to be removed in `v6`).
    lipchev authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    72a4dd1 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2025

  1. Deprecating the Dimensions property in favor of QuantityInfo.BaseDime…

    …nsions (v5) (#1610)
    
    - `IQuantity`: deprecating the `Dimensions` property in favor of
    `QuantityInfo.BaseDimensions`
    - `TQuantity`: deprecating the `Dimensions` property in favor of
    `TQuantity.BaseDimensions`
    lipchev authored Sep 21, 2025
    Configuration menu
    Copy the full SHA
    fd93b4c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2026

  1. v5: Fix MolarFlow per-hour abbreviations (#1683)

    ## Motivation
    
    Backport of #1682 for the v5 maintenance branch.
    
    Issue #1663 reports that the generated abbreviations for MolarFlow
    per-hour units are shifted by one kilo prefix:
    
    - `MolarFlowUnit.MolePerHour` formats/parses as `kmol/h`
    - `MolarFlowUnit.KilomolePerHour` formats/parses as `kkmol/h`
    
    The root cause is that `MolePerHour` has `Prefixes: [ "Kilo" ]`, but its
    base abbreviation in `MolarFlow.json` was already written as `kmol/h`.
    The prefix generator then prepended another `k` for the generated
    `KilomolePerHour` unit.
    
    ## Changes
    
    - Change `MolePerHour` abbreviation from `kmol/h` to `mol/h`.
    - Regenerate MolarFlow resources and generated tests.
    - Generated abbreviations now match the other molar-flow units:
      - `MolePerHour`: `mol/h`
      - `KilomolePerHour`: `kmol/h`
    
    ## Validation
    
    - `dotnet run --project CodeGen -p:NuGetAudit=false`
    - `dotnet test UnitsNet.Tests -f net48 --filter
    "FullyQualifiedName~MolarFlowTests" -p:NuGetAudit=false`
    - `dotnet test UnitsNet.Tests -f net9.0 -p:NuGetAudit=false`
    
    Note: plain restore/codegen on this maintenance branch is currently
    blocked by an unrelated NuGet audit warning for `NuGet.Protocol` 6.12.1,
    so validation used `NuGetAudit=false` to avoid changing dependencies in
    this bugfix PR.
    
    Refs #1663.
    angularsen authored Jul 17, 2026
    Configuration menu
    Copy the full SHA
    332218e View commit details
    Browse the repository at this point in the history
  2. UnitsNet: 5.75.1

    angularsen committed Jul 17, 2026
    Configuration menu
    Copy the full SHA
    950a0e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db2a304 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3b6adf View commit details
    Browse the repository at this point in the history
Loading