summaryrefslogtreecommitdiff
path: root/docs/changelog
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-12-17 10:25:15 +0100
committerGitHub <noreply@github.com>2024-12-17 09:25:15 +0000
commited67220e4b5ae6b3a1bc50f59bd52b5b1dea3a6b (patch)
treed27d36e3707e2339af4f55bf514a95e3d0cd3971 /docs/changelog
parent51020fcf3cd6fbe62d148d2188b9aaac4445bf63 (diff)
Remove deprecated things and compatibility behaviours (#5591)
Diffstat (limited to 'docs/changelog')
-rw-r--r--docs/changelog/0.11.0.md8
-rw-r--r--docs/changelog/0.12.0.md4
-rw-r--r--docs/changelog/earlier.md2
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/changelog/0.11.0.md b/docs/changelog/0.11.0.md
index 2a018e45..27478862 100644
--- a/docs/changelog/0.11.0.md
+++ b/docs/changelog/0.11.0.md
@@ -59,13 +59,13 @@ _Thanks to [@PgBiel](https://github.com/PgBiel) for his work on tables!_
- When context is available, [`counter.display`] now directly returns the result
of applying the numbering instead of yielding opaque content. It should not be
used anymore without context. (Deprecation planned)
-- The [`state.display`] function should not be used anymore, use [`state.get`]
+- The `state.display` function should not be used anymore, use [`state.get`]
instead (Deprecation planned)
- The `location` argument of [`query`], [`counter.final`], and [`state.final`]
should not be used anymore (Deprecation planned)
-- The [`styles`]($measure.styles) argument of the `measure` function should not
- be used anymore (Deprecation planned)
-- The [`style`] function should not be used anymore, use context instead
+- The `styles` argument of the `measure` function should not be used anymore
+ (Deprecation planned)
+- The `style` function should not be used anymore, use context instead
(Deprecation planned)
- The correct context is now also provided in various other places where it is
available, e.g. in show rules, layout callbacks, and numbering functions in
diff --git a/docs/changelog/0.12.0.md b/docs/changelog/0.12.0.md
index 835e2b1c..e8152c53 100644
--- a/docs/changelog/0.12.0.md
+++ b/docs/changelog/0.12.0.md
@@ -380,11 +380,11 @@ description: Changes in Typst 0.12.0
- [`counter.display`] without an established context
- [`counter.final`] with a location
- [`state.final`] with a location
-- [`state.display`]
+- `state.display`
- [`query`] with a location as the second argument
- [`locate`] with a callback function
- [`measure`] with styles
-- [`style`]
+- `style`
## Development
- Added `typst-kit` crate which provides useful APIs for `World` implementors
diff --git a/docs/changelog/earlier.md b/docs/changelog/earlier.md
index cecc56e5..ecf6816d 100644
--- a/docs/changelog/earlier.md
+++ b/docs/changelog/earlier.md
@@ -83,7 +83,7 @@ description: Changes in early, unversioned Typst
- New [`measure`] function
- Measure the layouted size of elements
- - To be used in combination with the new [`style`] function that lets you
+ - To be used in combination with the new `style` function that lets you
generate different content based on the style context something is inserted
into (because that affects the measured size of content)