Skip to content

Commit 537ecc9

Browse files
Prepare new release: v0.13.0 (#2353)
* bump version number * something in our changelog script broke? * generated changelog, first pass * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * exclude Crowdin updates from changelog * changelog generation, second pass * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * changelog generation, third pass * generated changelog, fourth pass * changelog generation, fifth pass Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 2949710 commit 537ecc9

File tree

5 files changed

+226
-7
lines changed

5 files changed

+226
-7
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ authors:
44
-
55
name: "The Manim Community Developers"
66
cff-version: "1.1.0"
7-
date-released: 2021-11-02
7+
date-released: 2021-12-04
88
license: MIT
99
message: "We acknowledge the importance of good software to support research, and we note that research becomes more valuable when it is communicated effectively. To demonstrate the value of Manim, we ask that you cite Manim in your work."
1010
title: Manim – Mathematical Animation Framework
1111
url: "https://www.manim.community/"
12-
version: "v0.12.0"
12+
version: "v0.13.0"
1313
...

docs/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Changelog
55

66
.. toctree::
77

8+
changelog/0.13.0-changelog
89
changelog/0.12.0-changelog
910
changelog/0.11.0-changelog
1011
changelog/0.10.0-changelog
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
*******
2+
v0.13.0
3+
*******
4+
5+
:Date: December 04, 2021
6+
7+
Contributors
8+
============
9+
10+
A total of 27 people contributed to this
11+
release. People with a '+' by their names authored a patch for the first
12+
time.
13+
14+
* Alex Lembcke
15+
* Benjamin Hackl
16+
* Christopher Besch
17+
* Darylgolden
18+
* Filip +
19+
* John Ingles +
20+
* Laith Bahodi
21+
* Lucas Ricci +
22+
* Marcin Serwin +
23+
* Mysaa
24+
* Naveen M K
25+
* Ricky +
26+
* Viicos
27+
* ask09ok +
28+
* citrusmunch +
29+
* icedcoffeeee
30+
* mostlyaman +
31+
* vmiezys +
32+
* zhujisheng +
33+
34+
35+
The patches included in this release have been reviewed by
36+
the following contributors.
37+
38+
* Alex Lembcke
39+
* Benjamin Hackl
40+
* Christopher Besch
41+
* Darylgolden
42+
* Filip
43+
* Hugues Devimeux
44+
* Jan-Hendrik Müller
45+
* Laith Bahodi
46+
* Lucas Ricci
47+
* Naveen M K
48+
* Oliver
49+
* Ryan McCauley
50+
* Viicos
51+
* ask09ok
52+
* icedcoffeeee
53+
* mostlyaman
54+
55+
Pull requests merged
56+
====================
57+
58+
A total of 39 pull requests were merged for this release.
59+
60+
Highlights
61+
----------
62+
63+
* `#2313 <https://github.com/ManimCommunity/manim/pull/2313>`__: Finalized translation process and documentation
64+
65+
66+
Deprecated classes and functions
67+
--------------------------------
68+
69+
* `#2331 <https://github.com/ManimCommunity/manim/pull/2331>`__: Removed deprecations up to ``v0.12.0``
70+
- Removed ``distance`` parameters from :class:`~.ThreeDCamera` (replacement: ``focal_distance``)
71+
- Removed ``min_distance_to_new_point`` parameter from :class:`~.TracedPath`
72+
- Removed ``positive_space_ratio`` and ``dash_spacing`` parameters from :class:`~.DashedVMobject`
73+
- Removed ``<method>_in_place`` methods from :mod:`.mobject`
74+
- Removed ``ReconfigurableScene``
75+
- Removed ``SampleSpaceScene``
76+
77+
* `#2312 <https://github.com/ManimCommunity/manim/pull/2312>`__: Replaced all occurrences of ``set_submobjects``
78+
79+
80+
New features
81+
------------
82+
83+
* `#2314 <https://github.com/ManimCommunity/manim/pull/2314>`__: Added basic support for adding subcaptions via :meth:`.Scene.add_subcaption`
84+
- New method :meth:`.Scene.add_subcaption`
85+
- New keyword arguments ``subcaption``, ``subcaption_duration``, ``subcaption_offset`` for :meth:`.Scene.play`
86+
87+
* `#2267 <https://github.com/ManimCommunity/manim/pull/2267>`__: Implemented :meth:`.CoordinateSystem.plot_antiderivative_graph`
88+
89+
90+
Enhancements
91+
------------
92+
93+
* `#2347 <https://github.com/ManimCommunity/manim/pull/2347>`__: Moved ``manim_directive.py`` to ``manim.utils.docbuild``
94+
95+
96+
* `#2340 <https://github.com/ManimCommunity/manim/pull/2340>`__: Added documentation for :mod:`.animation.growing` and improved :class:`.SpinInFromNothing`
97+
98+
99+
* `#2343 <https://github.com/ManimCommunity/manim/pull/2343>`__: Replaced current tree layout algorithm with SageMath's for improved layout of large trees
100+
101+
102+
* `#2351 <https://github.com/ManimCommunity/manim/pull/2351>`__: Added missing ``**kwargs`` parameter to :meth:`.Table.add_highlighted_cell`
103+
104+
105+
* `#2344 <https://github.com/ManimCommunity/manim/pull/2344>`__: Resized SVG logos, fit content to canvas
106+
107+
108+
Fixed bugs
109+
----------
110+
111+
* `#2359 <https://github.com/ManimCommunity/manim/pull/2359>`__: Resolved ``ValueError`` when calling ``manim cfg write``
112+
113+
114+
* `#2276 <https://github.com/ManimCommunity/manim/pull/2276>`__: Fixed bug with alignment of z-axis in :class:`~.ThreeDAxes`
115+
116+
117+
* `#2325 <https://github.com/ManimCommunity/manim/pull/2325>`__: Several improvements to handling of ``quality`` argument
118+
119+
120+
* `#2335 <https://github.com/ManimCommunity/manim/pull/2335>`__: Fixed bug with zooming camera and :class:`~.PointCloud`
121+
122+
123+
* `#2328 <https://github.com/ManimCommunity/manim/pull/2328>`__: Fixed bug causing incorrect RGBA values to be passed to cairo
124+
125+
126+
* `#2292 <https://github.com/ManimCommunity/manim/pull/2292>`__: Fixed positioning of :class:`~.Flash`
127+
128+
129+
* `#2262 <https://github.com/ManimCommunity/manim/pull/2262>`__: Fixed wrong cell coordinates with :meth:`.Table.get_cell` after scaling
130+
131+
132+
* `#2280 <https://github.com/ManimCommunity/manim/pull/2280>`__: Fixed :class:`~.DecimalNumber` color when number of displayed digits changes
133+
134+
135+
Documentation-related changes
136+
-----------------------------
137+
138+
* `#2354 <https://github.com/ManimCommunity/manim/pull/2354>`__: Port over docs and typings from ``mobject.py`` and ``vectorized_mobject.py`` to their OpenGL counterparts
139+
140+
141+
* `#2350 <https://github.com/ManimCommunity/manim/pull/2350>`__: Added mention of Manim sideview extension for VS Code
142+
143+
144+
* `#2342 <https://github.com/ManimCommunity/manim/pull/2342>`__: Removed :meth:`~.CoordinateSystem.get_graph` usage from :class:`~.Axes` example
145+
146+
147+
* `#2216 <https://github.com/ManimCommunity/manim/pull/2216>`__: Edited and added new sections to the quickstart tutorial
148+
149+
150+
* `#2279 <https://github.com/ManimCommunity/manim/pull/2279>`__: Added documentation for discontinuous functions
151+
152+
153+
* `#2319 <https://github.com/ManimCommunity/manim/pull/2319>`__: Swapped ``dotL`` and ``dotR`` in :meth:`.Mobject.interpolate` example
154+
155+
156+
* `#2230 <https://github.com/ManimCommunity/manim/pull/2230>`__: Copyedited building blocks tutorial
157+
158+
159+
* `#2310 <https://github.com/ManimCommunity/manim/pull/2310>`__: Clarified that Manim does not support Python 3.10 yet in the documentation
160+
161+
162+
* `#2294 <https://github.com/ManimCommunity/manim/pull/2294>`__: Made documentation front page more concise and rearranged order of tutorials
163+
164+
165+
* `#2287 <https://github.com/ManimCommunity/manim/pull/2287>`__: Replace link to old interactive notebook
166+
167+
168+
Changes concerning the testing system
169+
-------------------------------------
170+
171+
* `#2346 <https://github.com/ManimCommunity/manim/pull/2346>`__: Made ``frames_comparsion`` decorator for frame testing a proper module of the library
172+
173+
174+
* `#2318 <https://github.com/ManimCommunity/manim/pull/2318>`__: Added tests for ``remover`` keyword argument of :class:`~.AnimationGroup`
175+
176+
177+
* `#2301 <https://github.com/ManimCommunity/manim/pull/2301>`__: Added a test for :meth:`.ThreeDScene.add_fixed_in_frame_mobjects`
178+
179+
180+
* `#2274 <https://github.com/ManimCommunity/manim/pull/2274>`__: Optimized some tests to reduce duration
181+
182+
183+
* `#2272 <https://github.com/ManimCommunity/manim/pull/2272>`__: Added test for :class:`~.Broadcast`
184+
185+
186+
Code quality improvements and similar refactors
187+
-----------------------------------------------
188+
189+
* `#2327 <https://github.com/ManimCommunity/manim/pull/2327>`__: Corrected type hint for ``labels`` keyword argument of :class:`~.Graph`
190+
191+
192+
* `#2329 <https://github.com/ManimCommunity/manim/pull/2329>`__: Remove unintended line break in README
193+
194+
195+
* `#2305 <https://github.com/ManimCommunity/manim/pull/2305>`__: Corrected type hint ``discontinuities`` argument for :class:`~.ParametricFunction`
196+
197+
198+
* `#2300 <https://github.com/ManimCommunity/manim/pull/2300>`__: Add contact email for PyPi
199+
200+
201+
New releases
202+
------------
203+
204+
* `#2353 <https://github.com/ManimCommunity/manim/pull/2353>`__: Prepare new release: ``v0.13.0``
205+
206+
207+
Unclassified changes
208+
--------------------
209+
210+
* `#2348 <https://github.com/ManimCommunity/manim/pull/2348>`__: Updated translation source files

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "manim"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
description = "Animation engine for explanatory math videos."
55
authors = ["The Manim Community Developers <[email protected]>", "3b1b <[email protected]>"]
66
license="MIT"

scripts/dev_changelog.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,12 @@ def get_pr_nums(lst, cur):
146146
f"{lst}..{cur}",
147147
)
148148
split_commits = list(
149-
filter(lambda x: "pre-commit autoupdate" not in x, commits.split("\n")),
149+
filter(
150+
lambda x: not any(
151+
["pre-commit autoupdate" in x, "New Crowdin updates" in x]
152+
),
153+
commits.split("\n"),
154+
),
150155
)
151156
commits = "\n".join(split_commits)
152157
issues = re.findall(r"^.*\(\#(\d+)\)$", commits, re.M)
@@ -158,10 +163,13 @@ def get_pr_nums(lst, cur):
158163

159164
def get_summary(body):
160165
pattern = '<!--changelog-start-->([^"]*)<!--changelog-end-->'
161-
has_changelog_pattern = re.search(pattern, body)
162-
if has_changelog_pattern:
166+
try:
167+
has_changelog_pattern = re.search(pattern, body)
168+
if has_changelog_pattern:
163169

164-
return has_changelog_pattern.group()[22:-21].strip()
170+
return has_changelog_pattern.group()[22:-21].strip()
171+
except:
172+
print(f"Error parsing body for changelog: {body}")
165173

166174

167175
@click.command(

0 commit comments

Comments
 (0)