# FlexUnits.jl 0.3.0, Support for Unitful-like inference

**URL:** https://discourse.julialang.org/t/flexunits-jl-0-3-0-support-for-unitful-like-inference/134903
**Category:** Package Announcements
**Created:** [January 6, 2026, 2:00am UTC](https://discourse.julialang.org/t/flexunits-jl-0-3-0-support-for-unitful-like-inference/134903 "2026-01-06T02:00:04Z")
**Posts on this page:** 1
**Showing post:** 41

<div class="post-metadata">

### Author: ![Deduction42](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/deduction42/32/9206_2.png) [@Deduction42](https://discourse.julialang.org/u/Deduction42)
#### Post date: [March 8, 2026, 10:59pm UTC](https://discourse.julialang.org/t/flexunits-jl-0-3-0-support-for-unitful-like-inference/134903/41 "2026-03-08T22:59:30Z")

</div>

Just an update to anyone who ran into this thread (as it generated a lot of discussion and hits), a newer version of this package was [released](https://discourse.julialang.org/t/ann-flexunits-jl-0-4-mixed-unit-linear-algebra-support/135649). It’s a breaking release because I ultimately decided to subtype `Quantity` as `Number` in order to align better with existing conventions and achieve compatibility with linear algebra and DifferentialEquations.jl.

A new type called `FlexQuant` functions like the old `Quantity` in that it can contain any object as a value and does not subtype to `Number`. Users generally don’t have to worry about this, because multiplication and the `quantity` function will select the desired output type automatically. If you wish to support both types (for example, with dispatch), you can use `QuantUnion`.

---

_[View the full topic](https://discourse.julialang.org/t/flexunits-jl-0-3-0-support-for-unitful-like-inference/134903)._
