Changelog

This document records all notable changes to CodeVideoRenderer.

See also

CodeVideoRenderer 1.2.2 Latest

Date: Apr 27, 2026

See details at https://pypi.org/project/codevideorenderer/1.2.2/.

What’s Changed

Changes 🧹

  • Convert all documents (functions, classes, constants) to the reStructuredText format for better compatibility with Sphinx documentation.

  • Change the default value of the formatter_style parameter in the CameraFollowCursorCV class to "material".

CodeVideoRenderer 1.2.1

Date: Mar 22, 2026

See details at https://pypi.org/project/codevideorenderer/1.2.1/.

What’s Changed

Additions 🚀

  • Add the __version__ variable to __init__.py

  • Add the __all__ variable to config.py, renderer.py, typing.py, and utils.py

  • Add the formatter_style parameter to the CameraFollowCursorCV class

  • Add beautification for terminal error messages

  • Add parameter descriptions and type annotations for all functions and classes

  • Add the __getattribute__() function to the CameraFollowCursorCV class to prevent data modification by changing attributes

  • Add the CodeVideoRendererFont font to support Chinese characters

  • Add the NOT_AVAILABLE_CHARACTERS variable to config.py

  • Add the Parameters class to the CameraFollowCursorCV class for managing and retrieving parameters

  • Add version.py to manage package version

Changes 🧹

  • Change the function name format from aaa_bbb (snake_case) to aaaBbb (camelCase)

  • Change the PygmentsLanguage class to a Literal type

  • Refactor the default_progress_bar function into the DefaultProgressBar class

  • Split CameraFollowCursorCVR.py into renderer.py, typing.py, and utils.py

  • Modify the whitespace handling logic to improve rendering speed

  • Make partial modifications to the parameters and descriptions of the CameraFollowCursorCV class

  • Modify some terminal output content

  • Update the value of CODE_OFFSET in config.py

Fixes 🐛

  • Fix the code offset issue caused by @gaojj2000 in #5

  • Fix the code_line_rectangle offset issue that occurs when code offset happens

Deletions 🗑️

  • Remove the DEFAULT_CODE_FORMATTER_STYLE, AVAILABLE_CHARACTERS, and EMPTY_CHARACTER variables from config.py

CodeVideoRenderer 1.1.2

Date: Feb 11, 2026

See details at https://pypi.org/project/codevideorenderer/1.1.2/.

What’s Changed

  • Fixed the cursor position error caused by manim uniformly removing leading spaces on each line (see #5 for details).

CodeVideoRenderer 1.1.1

Date: Feb 11, 2026

See details at https://pypi.org/project/codevideorenderer/1.1.1/.

What’s Changed

  • Added compatibility updates for manim==0.19.1 (see #3 for details).

  • Modified type_checker() to adapt to Literal and PygmentsLanguage.

  • Optimized terminal display.

  • Added glow effects.

  • Integrated functions.py into CameraFollowCursorCVR.py.

  • Adapted to OpenGL rendering and resolved related issues when switching to OpenGL rendering (see #4 for details).

  • Added the renderer parameter to CameraFollowCursorCV to configure the renderer.

  • Adopted the timeit module to calculate rendering time and eliminate redundant variables.

  • Removed summary output before rendering the Scene.

  • Deleted unused constants in config.py.

  • Changed the type of the language parameter in CameraFollowCursorCV from str to PygmentsLanguage.

  • Refactored the file structure.

CodeVideoRenderer 1.1.0

Date: Dec 25, 2025

See details at https://pypi.org/project/codevideorenderer/1.1.0/.

What’s Changed

  • Revised camera movement logic.

  • Added opening animation.

  • Fixed the issue where output could not be terminated when output=False was used in render().

CodeVideoRenderer 1.0.9.post2

Date: Nov 24, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.9.post2/.

What’s Changed

  • Adjusted the spacing between the cursor and characters.

CodeVideoRenderer 1.0.9.post1

Date: Nov 17, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.9.post1/.

What’s Changed

  • Fixed partial issues with the type_checker() decorator.

  • Redesigned progress bar style and added a {task.completed}/{task.total} field.

CodeVideoRenderer 1.0.9

Date: Nov 16, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.9/.

What’s Changed

  • Overhauled and rewrote camera movement logic, and added automatic camera scaling.

  • Used rich to print initial data at the start of rendering.

  • Rewrote the rendering progress bar with rich.progress.

  • Refactored type checking and adopted rich.traceback for cleaner error output.

CodeVideoRenderer 1.0.8.post1

Date: Nov 8, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.8.post1/.

What’s Changed

  • Fixed issues in __init__.py.

CodeVideoRenderer 1.0.8

Date: Nov 8, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.8/.

What’s Changed

  • Fixed code offset errors.

  • Reverted the default font to Consolas, as Cascadia Code converts >= to and triggers internal Manim errors.

  • Removed unused constants in /renderer/config.py.

CodeVideoRenderer 1.0.7.post3

Date: Nov 6, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.7.post3/.

What’s Changed

  • Re-uploaded complete source code due to incomplete package upload on pip.

CodeVideoRenderer 1.0.7.post2

Date: Nov 6, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.7.post2/.

What’s Changed

  • Fixed rendering errors triggered by blank lines at the start of code content.

  • Disabled Manim caching to improve rendering speed.

CodeVideoRenderer 1.0.7.post1

Date: Oct 3, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.7.post1/.

What’s Changed

  • Resolved bugs occurring when using the code_file parameter.

CodeVideoRenderer 1.0.7

Date: Oct 3, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.7/.

What’s Changed

  • Updated pip dependency configuration.

  • Changed parameter camera_floating_maximum_value to camera_floating_max_value, screen_scale to camera_scale.

  • Improved error message presentation.

CodeVideoRenderer 1.0.6

Date: Sep 27, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.6/.

What’s Changed

  • Fixed progress bar formatting errors caused by overly long code lines.

  • Refactored the renderer module: optimized the structure and error handling of CodeVideoRenderer (see #1 for details).

CodeVideoRenderer 1.0.5.post2

Date: Sep 25, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.5.post2/.

What’s Changed

  • Fixed version compatibility issues of pip dependencies to ensure full compliance with project requirements.

  • Resolved inconsistent color display of ANSI escape sequences in rendering outputs across different terminals/compilers.

CodeVideoRenderer 1.0.5.post1

Date: Sep 23, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.5.post1/.

What’s Changed

  • Fixed pip installation failures.

CodeVideoRenderer 1.0.5

Date: Sep 20, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.5/.

What’s Changed

  • Added the new output parameter to the render() method to control rendering output behavior.

  • Refactored CodeVideo from a function to a class for better code maintainability and scalability.

CodeVideoRenderer 1.0.4

Date: Sep 6, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.4/.

What’s Changed

  • Fixed calculation errors of rendering duration.

  • Removed the deprecated font parameter.

  • Optimized terminal rendering logs.

  • Improved overall code execution efficiency.

CodeVideoRenderer 1.0.3

Date: Aug 29, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.3/.

What’s Changed

  • Fixed the issue where the cursor failed to pause at the start of new lines.

  • Excluded leading and trailing whitespace of each code line from animation playback to reduce redundant animation duration.

  • Adjusted the background width of the currently highlighted code line.

  • Added the new line_spacing parameter to customize line spacing.

  • Optimized terminal rendering information output.

  • Fine-tuned camera movement logic.

CodeVideoRenderer 1.0.2

Date: Aug 26, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.2/.

CodeVideoRenderer 1.0.1.2

Date: Aug 23, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.1.2/.

CodeVideoRenderer 1.0.1.1

Date: Aug 22, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.1.1/.

CodeVideoRenderer 1.0.1.0

Date: Aug 19, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.1.0/.

CodeVideoRenderer 1.0.0.5

Date: Aug 18, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.0.5/.

CodeVideoRenderer 1.0.0.4

Date: Aug 17, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.0.4/.

CodeVideoRenderer 1.0.0.3

Date: Aug 16, 2025

No information available.

CodeVideoRenderer 1.0.0.2

Date: Aug 16, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.0.2/.

CodeVideoRenderer 1.0.0.1

Date: Aug 16, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.0.1/.

CodeVideoRenderer 1.0.0.0

Date: Aug 15, 2025

See details at https://pypi.org/project/codevideorenderer/1.0.0.0/.