# Julia 1.14: how to support \`+%\` in packages?

**URL:** <https://discourse.julialang.org/t/julia-1-14-how-to-support-in-packages/143425>\
**Category:** Performance\
**Created:** [December 1, 2026, 3:45pm UTC](https://discourse.julialang.org/t/julia-1-14-how-to-support-in-packages/143425 "2026-12-01T15:45:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthias314](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Post date:** [December 1, 2026, 3:45pm UTC](https://discourse.julialang.org/t/julia-1-14-how-to-support-in-packages/143425/1 "2026-12-01T15:45:42Z")

</div>

Julia 1.14 has new [wrapping operators](https://github.com/JuliaLang/julia/pull/50790) `+%`, `-%`, `*%`. I’m wondering how to support them in packages.

Imagine that I have a package that should also work with earlier versions of Julia. I want to support wrapping operators because users running Julia 1.14 should be able to use them for types defined in my package, or because I’m using methods from `Base` that internally rely on these new operators in Julia 1.14.

Example: `BigInt(x::Integer)` internally uses `-%(x)`. BigIntegers.jl uses this constructor to convert the integer types it defines to `BigInt` (see [here](https://discourse.julialang.org/t/julia-1-14-new-sizeof-breaks-packages/143360/3)).

Now the catch is this: If the `[compat]` section of my Project.toml lists a Julia version below 1.14, then I’m not allowed to use the new wrapping operators in my package, not even if I’m running Julia 1.14:

```julia-auto
julia> 1 +% 2
ERROR: ParseError:
# Error @ REPL[1]:1:2
1 +% 2
#└ ── wrapping arithmetic operators `+%`, `-%`, and `*%` not supported in Julia version 1.13 < 1.14

```

(For some reason, the error message always says “1.13”, even if an earlier version is given in the Project.toml.)

So what do I do to support wrapping operators?

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [December 1, 2026, 3:51pm UTC](https://discourse.julialang.org/t/julia-1-14-how-to-support-in-packages/143425/2 "2026-12-01T15:51:34Z")

</div>

likely answer is to hold of until you want to bump your min version to 1.14 or higher

---

<div class="post-metadata">

**Author:** ![Keno](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/keno/32/285_2.png) [@Keno](https://discourse.julialang.org/u/Keno)\
**Post date:** [December 1, 2026, 4:19pm UTC](https://discourse.julialang.org/t/julia-1-14-how-to-support-in-packages/143425/3 "2026-12-01T16:19:26Z")

</div>

You can set the syntax version to 1.14 without bumping the compat and do

```julia-auto
if VERSION >= v"1.14"
include("wrapping_operators.jl")
end

```
