Explain how to migrate symbols

This commit is contained in:
Laurenz 2025-02-05 14:12:36 +01:00
parent 3c9bef20a3
commit 51bfd6edc0

View File

@ -297,10 +297,12 @@ feature flag.
- `angle.r.double` from `》` to `⟫`
- `angstrom` from U+212B (`Å`) to U+00C5 (`Å`)
- Deprecated
- `sect` and all its variants
- `integral.sect`
- `sect` and all its variants in favor of `inter`
- `integral.sect` in favor of `integral.inter`
- Removed
- `degree.c`, `degree.f`, `ohm.inv`, `kelvin`
- `degree.c` in favor of `°C` (`[$upright(°C)$]` or `[$upright(degree C)$]` in math)
- `degree.f` in favor of `°F` (`[$upright(°F)$]` or `[$upright(degree F)$]` in math)
- `kelvin` in favor of just K (`[$upright(K)$]` in math)
## Deprecations
- The [`path`] function in favor of the [`curve`] function
@ -308,7 +310,8 @@ feature flag.
- [`image.decode`], [`cbor.decode`], [`csv.decode`], [`json.decode`],
[`toml.decode`], [`xml.decode`], [`yaml.decode`] in favor of the top-level
functions directly accepting both paths and bytes
- The `sect` symbol, its variants, and `integral.sect`
- The `sect` and its variants in favor of `inter`, and `integral.sect` in favor
of `integral.inter`
- Fully removed type/str compatibility behavior (e.g. `{int == "integer"}`)
which was temporarily introduced in Typst 0.8 **(Breaking change)**