Maliang

Latest version: v3.0.3

Safety actively analyzes 723685 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 17

1.0.1

----------

🕓 *Release Date / 发布日期 : 2024-09-06*

🟢 **Added / 新增**

* A new mechanism has been added to determine whether `grid` is enabled or not, so that the grid color can be automatically adapted to the theme
新增了 `grid` 是否开启的判定机制,使得网格颜色可以自动对主题进行适配

🟡 **Changed / 变更**

* Now requires `matplotlib` version `>= 3.7.0`

1.0

1.0.0

----------

🕓 *Release Date / 发布日期 : 2024-08-07*

🟤 **Refactored / 重构**

* Completed the project detached from `tkintertools` and refactored to be compatible
完成了项目从 `tkintertools` 的分离,并重构以兼容

0.618

* The widget `RadioButton` has a new initialization parameter `default` to control its default state
控件 `RadioButton` 新增初始化参数 `default` 来控制其默认的状态

* Experimental support for color strings in RGBA format has been added to the Color subpackage
颜色子包新增对 RGBA 格式的颜色字符串的实验性支持

🟣 **Fixed / 修复**

* Fixed an bug where the animation classes `MoveWidget` and `MoveComponent` were not moving objects to the correct position when they were called repeatedly
修复了动画类 `MoveWidget` 和 `MoveComponent` 在被反复调用的情况下无法将对象移动到正确位置的问题

* Fixed an bug where the animation class `ScaleFontSize` did not scale the font size correctly
修复了动画类 `ScaleFontSize` 无法正确缩放字体大小的问题

* Fixed and enhanced a bug with the centering function of container widgets such as `Toplevel`
修复并增强了容器控件 `Toplevel` 等在居中功能上的问题

🔵 **Optimized / 优化**

* Optimized the way to get the style file, the widget can set a relative name to reduce the amount of code, and the relative name starts with a decimal point
优化了样式文件的获取方式,小组件可以设置相对名称来减少代码量,相对名称以小数点开头

* The theme mechanism is optimized, there is no longer a need to write a tag in the style file, and the mapping relationship between the color parameters of the item and the keywords of the style file can be written in the definition of `Shape`, so as to reduce the redundant content in the style file and improve the compatibility between the style files
主题机制优化,样式文件中不再需要写出 tag,可在 `Shape` 的定义中写明 Item 的颜色参数与样式文件关键字的映射关系,以此缩减样式文件中的冗余内容,提高各样式文件之间的兼容性

* Optimized the appearance of some widgets
优化部分控件外观

* Improved cross-platform compatibility
提高了跨平台的兼容性

* Improved 3D submodule compatibility with the new version of `tkintertools`
提高了 3D 子模块对新版 `tkintertools` 兼容性

* Change the constants `FONT` and `SIZE` to dynamic values, so that font modifications can take effect globally
将常量 `FONT` 和 `SIZE` 改成动态取值,便于字体修改可以全局生效

🟡 **Changed / 变更**

* The animation class `Gradient` no longer converts an empty color string to black when it accepts it, but simply throws an exception
动画类 `Gradient` 在接受空颜色字符串时不再将其转化为黑色,而是直接抛出异常

* The implementation code for the 3D subpackage has been moved from file `three/__init__.py` to file `three/engine.py`
3D 子包的实现代码从文件 `three/__init__.py` 移动到了文件 `three/engine.py`

* The submodule `style` has been changed to the sub-package `style` and its contents have been reorganized
子模块 `style` 变更为子包 `style`,其内容进行了重新的整理

🔴 **Removed / 移除**

* Remove the useless class from the submodule `images` of the subpackage `standard`
移除子包 `standard` 的子模块 `images` 中无用的类

* Remove the function `color` from the color subpack (There are other better implementations)
移除颜色子包中的函数 `color`(已有其他更好的实现)

🟤 **Refactored / 重构**

* Some of the code has been refactored
重构了部分代码

0.2

0.1

Changelog / 更新日志
===================

> [!TIP]
> This changelog has the following 7 types of updates, each of which is represented by 7 different colors
> 此更新日志有以下 7 中类型的更新内容,分别用 7 中不同颜色来表示
>
> * 🟢 **Added / 新增**
> * 🔴 **Removed / 移除**
> * 🟡 **Changed / 变更**
> * 🔵 **Optimized / 优化**
> * 🟣 **Fixed / 修复**
> * 🟠 **Deprecated / 弃用**
> * 🟤 **Refactored / 重构**

Page 17 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.