-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
8,104 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# v0.18.0 | ||
|
||
2023 年 11 月 11 日 | ||
|
||
### 重大变更 | ||
|
||
- [#3020](https://github.com/ManimCommunity/manim/pull/3020):重写Manim的颜色系统 | ||
|
||
此更改删除了`colour`作为 Manim 依赖项的库,并用新添加的[`ManimColor`]().这还添加了数百种新的预定义颜色,请参阅 参考资料[`utils.color`]()获取更多详细信息。如果您`colour`之前直接与该模块进行过交互,那么这应该只是一个重大更改。通用界面保持稳定。 | ||
|
||
### 强调 | ||
|
||
- [#3299](https://github.com/ManimCommunity/manim/pull/3299) : 添加了新的CLI 子命令`manim checkhealth` | ||
|
||
这添加了一个新的命令行界面子命令,可用于检查 Manim 的本地安装是否已正确配置,以及所有必需(和可选)依赖项是否可用。要尝试它,请通过 或运行它。`manim checkhealth``python -m manim checkhealth` | ||
|
||
- [#3427](https://github.com/ManimCommunity/manim/pull/3427):新功能:文档中渲染的示例现在可以直接通过活页夹运行 | ||
|
||
这会在我们文档中的示例下方添加一个“进行交互”按钮,该按钮建立与活页夹的连接,以便可以直接从浏览器修改和重新呈现示例。 | ||
|
||
- [#3086](https://github.com/ManimCommunity/manim/pull/3086):引入了一个新的`typing`类型提示模块 | ||
|
||
这还向代码库的组成部分添加了各种类型提示。 | ||
|
||
- [#3322](https://github.com/ManimCommunity/manim/pull/3322) : 实现了辅助 LaTeX 文件的自动删除,默认启用 | ||
|
||
这会自动删除在编译 LaTeX 文档(如`.aux`或`.dvi`文件)期间创建的辅助文件。此行为可以通过新引入的`no_latex_cleanup`配置键(`False`默认情况下)进行控制。在命令行上,可以通过`--no_latex_cleanup` CLI 标志禁用自动删除。 | ||
|
||
- [#3395](https://github.com/ManimCommunity/manim/pull/3395):添加了对 Python 3.12 的支持 | ||
|
||
### 新功能 | ||
|
||
- [#3361](https://github.com/ManimCommunity/manim/pull/3361):添加了三个新的速率函数 | ||
|
||
这会在 SmoothStep sigmoid 函数的基础上添加速率函数[`smoothstep()`](), [`smootherstep()`]()。 [`smoothererstep()`]() | ||
|
||
- [#3264](https://github.com/ManimCommunity/manim/pull/3264):添加了新的对象[`LabeledLine`]()和[`LabeledArrow`]() | ||
|
||
### 增强功能 | ||
|
||
- [#3190](https://github.com/ManimCommunity/manim/pull/3190):使[`CurvesAsSubmobjects`]()mobjects兼容[`input_to_graph_point()`]() | ||
- [#3226](https://github.com/ManimCommunity/manim/pull/3226) : 避免使用 mobject 作为默认参数[`ArcBrace`]() | ||
- [#3366](https://github.com/ManimCommunity/manim/pull/3366):在中添加值和单位之间的间距[`DecimalNumber`]() | ||
|
||
这会添加新的关键字参数`unit_buff_per_font_unit`(默认值:0,为了向后兼容)。将其设置为某个正数会在数值和显示单位之间创建额外的空间。 | ||
|
||
### 修复了错误 | ||
|
||
- [#3205](https://github.com/ManimCommunity/manim/pull/3205)`angle` : 修复了in的类型提示[`Arc`]() | ||
- [#3210](https://github.com/ManimCommunity/manim/pull/3210):[`DecimalNumber`]()使用`show_ellipsis=True`OpenGL 渲染器修复 | ||
- [#3211](https://github.com/ManimCommunity/manim/pull/3211)[`Axes`]() :修复了OpenGL 渲染器的自定义标签的显示问题 | ||
- [#3298](https://github.com/ManimCommunity/manim/pull/3298):修复了展开动画[`ManimBanner`]() | ||
- [#3306](https://github.com/ManimCommunity/manim/pull/3306) : 修复了 IPython 终端历史记录和使用场景的嵌入式 shell 实例化[`Scene.interactive_embed()`]() | ||
- [#3315](https://github.com/ManimCommunity/manim/pull/3315) : 修复了参数类型的问题[`Scene.add_subcaption()`]() | ||
- [#3423](https://github.com/ManimCommunity/manim/pull/3423) : 修复了多部分[`Tex`]()mobject的不正确的子对象计数 | ||
|
||
这解决了公式未完全显示的各种问题,就像.`MathTex("1", "^{", "0")` | ||
|
||
- [#3284](https://github.com/ManimCommunity/manim/pull/3284):`LinearTransformationSceneExample`在 Jupyter 笔记本中修复 | ||
- [#3302](https://github.com/ManimCommunity/manim/pull/3302):修复了比较中的拼写错误`OpenGLVMobject.interpolate()` | ||
- [#3340](https://github.com/ManimCommunity/manim/pull/3340):修复了旋转边界框的错误计算[`ImageMobject`]() | ||
- [#3343](https://github.com/ManimCommunity/manim/pull/3343)[`TexTemplate.add_to_preamble()`]() : 修复and的返回值[`TexTemplate.add_to_document()`]() | ||
- [#3282](https://github.com/ManimCommunity/manim/pull/3282) : 确保[`ArrowVectorField.get_vector()`]()不修改传递的输入 | ||
- [#3392](https://github.com/ManimCommunity/manim/pull/3392):修复了拉长刻度线的行为[`NumberLine`]() | ||
- [#3430](https://github.com/ManimCommunity/manim/pull/3430):修复了 CSV 阅读器在文档构建期间在渲染摘要中添加空列表的问题 | ||
- [#3404](https://github.com/ManimCommunity/manim/pull/3404) : 正确地引发空输入异常[`AddTextLetterByLetter`]() | ||
|
||
### 与文档相关的更改 | ||
|
||
- [#3219](https://github.com/ManimCommunity/manim/pull/3219):启用社交卡以获取文档链接 | ||
- [#3274](https://github.com/ManimCommunity/manim/pull/3274):替换了 Python 3.7 作为最低要求版本的错误提及 | ||
- [#3297](https://github.com/ManimCommunity/manim/pull/3297):改进的箭头尖端 sowcase 示例[`ArrowTip`]() | ||
- [#3312](https://github.com/ManimCommunity/manim/pull/3312):添加了文档[`always_redraw()`]() | ||
- [#3218 :改进了](https://github.com/ManimCommunity/manim/pull/3218)[深度潜水指南]()中的语法[]() | ||
- [#3251](https://github.com/ManimCommunity/manim/pull/3251) : 添加 Fedora 的 LaTeX 安装说明 | ||
- [#3290](https://github.com/ManimCommunity/manim/pull/3290):更新了 MacOS 安装所需的依赖项 | ||
- [#3325](https://github.com/ManimCommunity/manim/pull/3325):添加了函数的文档[`mobject_update_utils`]() | ||
|
||
这会将文档字符串和类型提示添加到[`always_rotate()`](), [`always_shift()`](),[`turn_animation_into_updater()`]() | ||
|
||
- [#3353](https://github.com/ManimCommunity/manim/pull/3353):添加了文档[`Mobject.center()`]() | ||
- [#3355](https://github.com/ManimCommunity/manim/pull/3355) : 暂时启用`htmlzip`ReadTheDocs 上的构建 | ||
- [#3377 :修复了](https://github.com/ManimCommunity/manim/pull/3377)[深潜指南]()中的拼写错误[]() | ||
- [#3389](https://github.com/ManimCommunity/manim/pull/3389) : 删除了 LaTeX 表达式中多余的大括号 | ||
- [#3417](https://github.com/ManimCommunity/manim/pull/3417):`htmlzip`用将可下载文档附加到 GitHub 版本的工作流程替换了 ReadTheDocs 构建 | ||
|
||
### 有关测试系统的更改 | ||
|
||
- [#3416](https://github.com/ManimCommunity/manim/pull/3416) : 修复了在开罗 1.18.0 上运行的测试 | ||
- [#3257](https://github.com/ManimCommunity/manim/pull/3257) : 修复有关诗歌的配置错误 | ||
- [#3419](https://github.com/ManimCommunity/manim/pull/3419):修复了基于 CI 运行程序的 Cairo 缓存 | ||
|
||
### 代码质量改进和类似的重构 | ||
|
||
- [#3229](https://github.com/ManimCommunity/manim/pull/3229):使 docbuild 错误更容易调试,并修复了更改的异常类中的错误 | ||
- [#3231](https://github.com/ManimCommunity/manim/pull/3231):修复了报告的错误`flake8` | ||
- [#3232](https://github.com/ManimCommunity/manim/pull/3232) : 升级 ReadTheDocs 构建环境以使用更新的映像 | ||
- [#3286](https://github.com/ManimCommunity/manim/pull/3286):优化[`Axes.coords_to_point()`]() | ||
- [#3224](https://github.com/ManimCommunity/manim/pull/3224) : 将最后几次出现的替换`os.path`为`pathlib.Path` | ||
- [第3236章](https://github.com/ManimCommunity/manim/pull/3236)回归自我[`AbstractImageMobject.set_resampling_algorithm()`]() | ||
- [#3253](https://github.com/ManimCommunity/manim/pull/3253) : 将龙卷风从 6.3.1 提升到 6.3.2 | ||
- [#3272](https://github.com/ManimCommunity/manim/pull/3272) : 将 docker/build-push-action 从 3 提升到 4 | ||
- [#3287](https://github.com/ManimCommunity/manim/pull/3287) : 将加密从 41.0.1 提升到 41.0.2 | ||
- [#3350](https://github.com/ManimCommunity/manim/pull/3350):添加了缺少的依赖项`typing-extensions` | ||
- [#3431](https://github.com/ManimCommunity/manim/pull/3431) : 将 teatimeguest/setup-texlive-action 从 2 提高到 3 | ||
- [#3433](https://github.com/ManimCommunity/manim/pull/3433):凹凸依赖性 | ||
- [#3399](https://github.com/ManimCommunity/manim/pull/3399) : 更新了几个依赖项 | ||
- [#3397](https://github.com/ManimCommunity/manim/pull/3397):几个 GitHub 操作更新 | ||
- [#3405](https://github.com/ManimCommunity/manim/pull/3405):更新了 manimpango 版本以修复有关类型严格性的错误 | ||
- [#3421](https://github.com/ManimCommunity/manim/pull/3421):改进创建树形图时输入检查的顺序 | ||
|
||
### 新版本 | ||
|
||
- [#3439](https://github.com/ManimCommunity/manim/pull/3439):准备新版本:v0.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.