Back to Manim

v0.18.1

docs/source/changelog/0.18.1-changelog.md

0.20.110.6 KB
Original Source

v0.18.1

Date : April 28, 2024

What's Changed

Breaking Changes and Deprecations

  • Removed deprecated manim new command by {user}chopan050 in {pr}3512
  • Removed support for dynamic plugin imports by {user}Viicos in {pr}3524
  • Remove meth:.Mobject.wag by {user}JasonGrace2282 in {pr}3539
  • Remove deprecated parameters and animations by {user}JasonGrace2282 in {pr}3688

New Features

  • Added cap_style feature to VMobject by {user}MathItYT in {pr}3516
  • Allow hiding version splash by {user}jeertmans in {pr}3329
  • Added the ability to pass lists and generators to Scene.play() by {user}MrDiver in {pr}3365
  • Added --preview_command cli flag by {user}JasonGrace2282 in {pr}3615

Fixed Bugs and Enhancements

  • Allow accessing ghost vectors in :class:.LinearTransformationScene by {user}JasonGrace2282 in {pr}3435
  • Optimized get_unit_normal() and replaced np.cross() with custom cross() in manim.utils.space_ops by {user}chopan050 in {pr}3494
  • Implement caching of fonts list to improve runtime performance by {user}MrDiver in {pr}3316
  • Reformatting the --save_sections output to have the format <Scene>_<SecNum>_<SecName><extension> by {user}doaamuham in {pr}3499
  • Account for dtype in the pixel array so the maximum value stays correct in the invert function by {user}jeertmans in {pr}3493
  • Added grid_lines attribute to Rectangle to add individual styling to the grid lines by {user}RobinPH in {pr}3428
  • Fixed rectangle grid properties (#3082) by {user}pauluhlenbruck in {pr}3513
  • Fixed animations with zero runtime length to give a useful error instead of a broken pipe by {user}MrDiver in {pr}3491
  • Fixed stroke width being ignored by StreamLines with a single color by {user}yashm277 in {pr}3436
  • Fixed formatting of MoveAlongPath docs by {user}JasonGrace2282 in {pr}3541
  • Added helpful hints to VGroup.add() error message by {user}vvolhejn in {pr}3561
  • Made earclip_triangulation more robust by {user}hydromelvictor in {pr}3574
  • Refactored TexTemplate by {user}Viicos in {pr}3520
  • Fixed write_subcaption_file error when using OpenGL renderer by {user}yuan-xy in {pr}3546
  • Fixed get_arc_center() returning reference of point by {user}sparshg in {pr}3599
  • Improved handling of specified font name by {user}staghado in {pr}3429
  • Fixing the behavior of .become to not modify target mobject via side effects fix color linking by {user}MrDiver in {pr}3508
  • Fixed bug in :class:.VMobjectFromSVGPath by {user}abul4fia in {pr}3677
  • Fix for windows cp1252 encoding failure (fix test pipeline) by {user}JasonGrace2282 in {pr}3687
  • Fix NameError in try... except by {user}JasonGrace2282 in {pr}3694
  • Fix successive calls of :meth:.LinearTransformationScene.apply_matrix by {user}SirJamesClarkMaxwell in {pr}3675
  • Fixed Mobject.put_start_and_end_on with same start and end point by {user}MontroyJosh in {pr}3718
  • Fixed issue where SpiralIn doesn't show elements by {user}Gixtox in {pr}3589
  • Cleaned Graph layouts and increase flexibility by {user}Nikhil-42 in {pr}3434
  • AnimationGroup: optimized interpolate() and fixed alpha bug on finish() by {user}chopan050 in {pr}3542
  • Fixed warning about missing plugin "" by {user}behackl in {pr}3734

Documentation

  • Typo in indication documentation by {user}jcep in {pr}3477
  • Fixed typo: 360° to 180° in quickstart tutorial by {user}szchixy in {pr}3498
  • Fixed typo in mobject docstring: line -> square by {user}yuan-xy in {pr}3509
  • Explain .Transform vs .ReplacementTransform in quickstart examples by {user}JasonGrace2282 in {pr}3500
  • Fixed formatting in building blocks tutorial by {user}MrDiver in {pr}3515
  • Fixed Indicate docstring typo by {user}Lawqup in {pr}3461
  • Added Documentation to .to_edge and to_corner by {user}TheMathematicFanatic in {pr}3408
  • Added some words about Cairo 1.18 by {user}jeertmans in {pr}3530
  • Fixed typo of get_y_axis_label parameter documentation by {user}yuan-xy in {pr}3547
  • Added note in docstring of ManimColor about class constructors by {user}JasonGrace2282 in {pr}3554
  • Improve documentation section about contributing to docs by {user}chopan050 in {pr}3555
  • Removed duplicated documentation for -s / --save_last_frame CLI flag by {user}Gixtox in {pr}3528
  • Updated Docker instructions to use bash from the PATH by {user}NotWearingPants in {pr}3582
  • Fixed typo in value_tracker.py by {user}yuan-xy in {pr}3594
  • Added ref_class for BooleanOperations in Example Gallery by {user}JasonGrace2282 in {pr}3598
  • Changed Vector3 to Vector3D in contributing docs by {user}JasonGrace2282 in {pr}3639
  • Added some examples for Mobject/VMobject methods by {user}JasonGrace2282 in {pr}3641
  • Fixed broken link to Poetry's installation guide in the documentation by {user}biinnnggggg in {pr}3692
  • Fixed minor grammatical errors found in the index page of the documentation by {user}biinnnggggg in {pr}3690
  • Fixed typo on page about translations by {user}biinnnggggg in {pr}3696
  • Fixed outdated description of CLI option in Manim's Output Settings by {user}HairlessVillager in {pr}3674
  • Mention pixi in installation guide by {user}pavelzw in {pr}3678
  • Updated typing guidelines by {user}JasonGrace2282 in {pr}3704
  • Updated documentation and typings for ParametricFunction by {user}danielzsh in {pr}3703
  • Fixed docstring markup in Rotate by {user}TheCrowned in {pr}3721
  • Improve consistency in axis label example by {user}amrear in {pr}3730

Maintenance and Testing

  • Fixed wrong path in action building downloadable docs by {user}behackl in {pr}3450
  • Add type hints to _config by {user}Viicos in {pr}3440
  • Update dependency constraints, fix deprecation warnings by {user}Viicos in {pr}3376
  • Update Docker base image to python3.12-slim (#3458) by {user}PikaBlue107 in {pr}3459
  • Fixed line_join to joint_type in example_scenes/basic.py by {user}szchixy in {pr}3510
  • Fixed :attr:.Mobject.animate type-hint to allow LSP autocomplete by {user}JasonGrace2282 in {pr}3543
  • Finish TODO's in contributing/typings.rst by {user}JasonGrace2282 in {pr}3545
  • Fixed use of Mobject's deprecated get_*() and set_*() methods in Cairo tests by {user}JasonGrace2282 in {pr}3549
  • Added support for Manim type aliases in Sphinx docs and added new TypeAliases by {user}chopan050 in {pr}3484
  • Fixed typing of Animation by {user}dandavison in {pr}3568
  • Added some TODOs for future use of ManimFrame by {user}chopan050 in {pr}3553
  • Fixed typehint of :attr:InternalPoint2D_Array by {user}JasonGrace2282 in {pr}3592
  • Fixed error in Windows CI pipeline by {user}behackl in {pr}3611
  • Fixed type hint of indication.py by {user}yuan-xy in {pr}3613
  • Revert vector type aliases to NumPy ndarrays by {user}chopan050 in {pr}3595
  • Run poetry lock --no-update by {user}JasonGrace2282 in {pr}3621
  • Code Cleanup: removing unused imports and global variables by {user}JasonGrace2282 in {pr}3620
  • Fixed type hint of Vector direction parameter by {user}JasonGrace2282 in {pr}3640
  • Flake8 rule C901 is about McCabe code complexity by {user}cclauss in {pr}3673
  • Updated year in license by {user}JasonGrace2282 in {pr}3689
  • Automated copyright updating for docs by {user}JasonGrace2282 in {pr}3708
  • Fixed some typehints in mobject.py by {user}JasonGrace2282 in {pr}3668
  • Search for type aliases if TYPE_CHECKING by {user}JasonGrace2282 in {pr}3671
  • Follow-up to graph layout cleanup: improvements for tests and typing by {user}behackl in {pr}3728
  • GH Actions: Changed from macos-latest to macos-13 by {user}JasonGrace2282 in {pr}3729
  • Fixed return type inconsistency for get_anchors() by {user}JinchuLi2002 in {pr}3214
  • Prepared new release: v0.18.1 by {user}behackl in {pr}3719

Dependency Version Changes

  • Bump jupyter-server from 2.9.1 to 2.11.2 by {user}dependabot in {pr}3497
  • Bump github/codeql-action from 2 to 3 by {user}dependabot in {pr}3567
  • Bump actions/upload-artifact from 3 to 4 by {user}dependabot in {pr}3566
  • Bump actions/setup-python from 4 to 5 by {user}dependabot in {pr}3565
  • updated several packages (pillow, jupyterlab, notebook, jupyterlab-lsp, jinja2, gitpython) by {user}behackl in {pr}3593
  • Update jupyter.rst by {user}abul4fia in {pr}3630
  • Bump black from 23.12.1 to 24.3.0 by {user}dependabot in {pr}3649
  • Bump cryptography from 42.0.0 to 42.0.4 by {user}dependabot in {pr}3629
  • Bump actions/cache from 3 to 4 by {user}dependabot in {pr}3607
  • Bump FedericoCarboni/setup-ffmpeg from 2 to 3 by {user}dependabot in {pr}3608
  • Bump ssciwr/setup-mesa-dist-win from 1 to 2 by {user}dependabot in {pr}3609
  • Bump idna from 3.6 to 3.7 by {user}dependabot in {pr}3693
  • Bump pillow from 10.2.0 to 10.3.0 by {user}dependabot in {pr}3672
  • [pre-commit.ci] pre-commit autoupdate by {user}pre-commit-ci in {pr}3332
  • Updated sphinx deps by {user}JasonGrace2282 in {pr}3720

New Contributors

  • {user}Lawqup made their first contribution in {pr}3461
  • {user}jcep made their first contribution in {pr}3477
  • {user}szchixy made their first contribution in {pr}3498
  • {user}PikaBlue107 made their first contribution in {pr}3459
  • {user}yuan-xy made their first contribution in {pr}3509
  • {user}MathItYT made their first contribution in {pr}3516
  • {user}doaamuham made their first contribution in {pr}3499
  • {user}RobinPH made their first contribution in {pr}3428
  • {user}pauluhlenbruck made their first contribution in {pr}3513
  • {user}yashm277 made their first contribution in {pr}3436
  • {user}TheMathematicFanatic made their first contribution in {pr}3408
  • {user}vvolhejn made their first contribution in {pr}3561
  • {user}hydromelvictor made their first contribution in {pr}3574
  • {user}dandavison made their first contribution in {pr}3568
  • {user}Gixtox made their first contribution in {pr}3528
  • {user}staghado made their first contribution in {pr}3429
  • {user}biinnnggggg made their first contribution in {pr}3692
  • {user}HairlessVillager made their first contribution in {pr}3674
  • {user}SirJamesClarkMaxwell made their first contribution in {pr}3675
  • {user}danielzsh made their first contribution in {pr}3703
  • {user}TheCrowned made their first contribution in {pr}3721
  • {user}MontroyJosh made their first contribution in {pr}3718
  • {user}amrear made their first contribution in {pr}3730

Full Changelog: https://github.com/ManimCommunity/manim/compare/v0.18.0.post0...v0.18.1