Skip to content

Deprecating the Dimensions property in favor of QuantityInfo.BaseDimensions (v5) - #1610

Merged
angularsen merged 1 commit into
angularsen:maintenance/v5from
lipchev:deprecate-iquantity-baseunits
Sep 21, 2025
Merged

Deprecating the Dimensions property in favor of QuantityInfo.BaseDimensions (v5)#1610
angularsen merged 1 commit into
angularsen:maintenance/v5from
lipchev:deprecate-iquantity-baseunits

Conversation

@lipchev

Copy link
Copy Markdown
Collaborator
  • IQuantity: deprecating the Dimensions property in favor of QuantityInfo.BaseDimensions
  • TQuantity: deprecating the Dimensions property in favor of TQuantity.BaseDimensions

…Info.BaseDimensions
- TQuantity: deprecating the Dimensions property in favor of TQuantity.BaseDimensions
@lipchev

Copy link
Copy Markdown
CollaboratorAuthor

@angularsen If you agree that we don't need this as an instance member (either on the interface or in the concrete implementations) - we could make it [Obsolete] in v5 and remove it in v6.

@angularsen

Copy link
Copy Markdown
Owner

Yeah, I like this.
Let's obsolete + remove if feasible.

@lipchevlipchev changed the title Deprecating the Dimensions property in favor of QuantityInfo.BaseDimensionsDeprecating the Dimensions property in favor of QuantityInfo.BaseDimensions (v5)Aug 19, 2025
angularsen pushed a commit that referenced this pull request Aug 22, 2025
@angularsen
angularsen merged commit fd93b4c into angularsen:maintenance/v5Sep 21, 2025
1 check passed
@angularsen

Copy link
Copy Markdown
Owner

mergifyBot pushed a commit to TekuSP/framework-dotnet that referenced this pull request Jul 20, 2026
Bump UnitsNet and UnitsNet.NumberExtensions (#44)
Updated [UnitsNet](https://github.com/angularsen/UnitsNet) from 5.75.0 to 5.75.1.
<details>
<summary>Release notes</summary>
_Sourced from [UnitsNet's releases](https://github.com/angularsen/UnitsNet/releases)._
## 5.75.1
## What's Changed
* Deprecating the Multiply/Divide methods for the Temperature by @​lipchev in angularsen/UnitsNet#1589
* Making the methods from UnitMath that exist in System.Linq as [Obsolete] by @​lipchev in angularsen/UnitsNet#1593
* Deprecating the Dimensions property in favor of QuantityInfo.BaseDimensions (v5) by @​lipchev in angularsen/UnitsNet#1610
* v5: Fix MolarFlow per-hour abbreviations by @​angularsen in angularsen/UnitsNet#1683
**Full Changelog**: angularsen/UnitsNet@UnitsNet/5.75.0...UnitsNet/5.75.1
Commits viewable in [compare view](angularsen/UnitsNet@UnitsNet/5.75.0...UnitsNet/5.75.1).
</details>
Updated [UnitsNet.NumberExtensions](https://github.com/angularsen/UnitsNet) from 5.75.0 to 5.75.1.
<details>
<summary>Release notes</summary>
_Sourced from [UnitsNet.NumberExtensions's releases](https://github.com/angularsen/UnitsNet/releases)._
## 5.75.1
## What's Changed
* Deprecating the Multiply/Divide methods for the Temperature by @​lipchev in angularsen/UnitsNet#1589
* Making the methods from UnitMath that exist in System.Linq as [Obsolete] by @​lipchev in angularsen/UnitsNet#1593
* Deprecating the Dimensions property in favor of QuantityInfo.BaseDimensions (v5) by @​lipchev in angularsen/UnitsNet#1610
* v5: Fix MolarFlow per-hour abbreviations by @​angularsen in angularsen/UnitsNet#1683
**Full Changelog**: angularsen/UnitsNet@UnitsNet/5.75.0...UnitsNet/5.75.1
Commits viewable in [compare view](angularsen/UnitsNet@UnitsNet/5.75.0...UnitsNet/5.75.1).
</details>
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lipchev@angularsen