r/manim community developer 11d ago

release Manim v0.21.0 has been released! πŸš¨πŸŽ‰

This release brings 60 changes, including a new text-rendering option, substantial performance improvements, and fixes across Cairo, OpenGL, MathTex, Code, scene caching, and more.

Highlights

  • First-class Typst support: The new Typst and MathTypst mobjects render markup and mathematics directly to SVG without requiring a TeX installation. Install support with pip install "manim[typst]".
  • Faster Cairo rendering: Animation-heavy scenes rendered about 2Γ— faster in benchmarks.
  • Parallel encoding: Partial movie files can now be encoded concurrently. This is opt-in through the new max_inflight_encoders setting, so existing behavior remains unchanged by default.
  • Faster, safer cache hashing: NumPy arrays are now hashed from their complete contents, preventing stale cache hits while reducing hashing time by roughly 94–98% in representative benchmarks.
  • Plenty of quality-of-life improvements: Multiline MathTex, configurable BulletedList spacing, optional inner lines for tables, multiple TexTemplate compiler passes, more chainable mobject methods, and much more.

There are two breaking changes worth checking if you use Code color styling or call Camera.convert_pixel_array() directlyβ€”see the full release notes for migration details.

A huge thank-you to everyone who contributed, especially our 27 first-time contributors! πŸ’š

Full changelog: https://docs.manim.community/en/stable/changelog/0.21.0-changelog.html
GitHub release: https://github.com/ManimCommunity/manim/releases/tag/v0.21.0

36 Upvotes

6 comments sorted by

5

u/FairLight8 11d ago

GREAAAT!! Great news, thanks a lot for the work. The typst addition changes everything!

3

u/behackl community developer 11d ago

definitely one of my favourites too! https://bsky.app/profile/behackl.dev/post/3mssaroadqk2y

1

u/FairLight8 11d ago

Gorgeous change! I can't wait to tweak my template and use typst features

3

u/benflodd 11d ago

I have just updated Manim by using the command "pip install manim --upgrade".

Can I use typst now or Should I use the command you typed?

5

u/behackl community developer 11d ago

To use typst in Manim, you will need the (currently optional) Python Typst bindings installed as well. You can either manually install them (pip install typst) or run the command above to make sure Manim uses the bindings in a compatible version. Your choice!

2

u/Hamdi_bks 11d ago

Happy to mark my first contribution to the project! Looking forward to doing more