mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-08-06 14:19:52 +08:00

* refactor(lib): change how manim API is imported * chore(lib): delete old files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip: moving all commands * adding animations * fix tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix mypy * fixes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * trying to fix docs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip: docs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * make it work * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip test * tests are working * improving docs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix index * docs: nicer shift * docs: nicer quickstart example * fix tests * change tests * move coverage to test workflow * fix(tests): remove resolve * strict resolve * change local path test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * documented changes * cleanup docs * cleanup files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix(ci): set type --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
5.1 KiB
5.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v5 (Unreleased)
Prior to v5, there was no real CHANGELOG other than the GitHub releases, with most of the content automatically generated by GitHub from merged pull requests.
In an effort to better document changes, this CHANGELOG document is now created.
Added
- Added the following option aliases to
manim-slides present
:-F
and--full-screen
forfullscreen
,-H
for--hide-mouse
, and-S
for--screen-number
. #243 - Added a full screen key binding (defaults to F) in the presenter. #243
- Added support for including code from a file in Manim Slides Sphinx directive. #261
- Added the
manim_slides.slide.animation
module and created theWipe
andZoom
classes, that return a new animation. #285 - Added two environ variables,
MANIM_API
andFORCE_MANIM_API
, to specify theMANIM_API
to be used:manim
andmanimce
will importmanim
, whilemanimgl
andmanimlib
will importmanimlib
. If one of the two APIs is already imported, useFORCE_MANIM_API=1
to override this. #285 - Added a working
ThreeDSlide
class compatible withmanimlib
. #285
Changed
- Automatically concatenate all animations from a slide into one. This is a breaking change because the config file format is different from the previous one. For migration help, see associated PR. #242
- Changed the player interface to only use PySide6, and not a combination of PySide6 and OpenCV. A few features have been removed (see removed section), but the new player should be much easier to maintain and more performant, than its predecessor. #243
- Changed the slide config format to exclude unecessary information.
StypeType
is removed in favor to one booleanloop
field. This is a breaking change and one should re-render the slides to apply changes. #243 - Renamed key bindings in the config. This is a breaking change and one
should either manually rename them (see list below) or re-init a config.
List of changes:
CONTINUE
toNEXT
,BACK
toPREVIOUS
, andREWIND
toREPLAY
. #243 - Conversion to HTML now uses Jinja2 templating. The template file has been modified accordingly, and old templates will not work anymore. This is a breaking change. #271
- Bumped RevealJS' default version to v4.6.1, and added three new themes. #272
- Changed the logger such that
make_logger
is called at module import, and we do not use Manim's logger anymore. #285 - Changed
Slide.wipe
andSlide.zoom
to automatically callself.play
. This is a breaking change as callingself.play(self.wipe(...))
now raises an error (becauseNone
is not an animation). #285 - Changed the
manim_slides.slide
module to contain submodules, i.e.,slide.manim
,slide.manimlib
,slide.animation
. Onlyslide.animation
is part of the public API. Rules for choosing the Manim API (eithermanim
ormanimlib
) has changed, and defaults to the currently imported module, with a preference formanim
. #285
Fixed
- Patched enums in
manim_slides/convert.py
to correctly callstr
's__str__
method, and not theEnum
one. This bug was discovered by @alexanderskulikov in #253, caused by Python 3.11's change in howEnum
work. #257. - Fixed potential non-existing parent path issue in
manim convert
's destination path. #262