Releases: gqylpy/systempath
Releases · gqylpy/systempath
1.2.2
- Improve the semantics of a few comments.
- Adjust the structure of a few code blocks.
- 改进少量注释语义。
- 调整少量代码块结构。
What's Changed
- 1.2.2 by @2018-11-27 in #21
Full Changelog: 1.2.1...1.2.2
1.2.1
- Fix the problem of chaotic encoding when writing to a JSON file.
- Adjust the naming standardization of internal functions.
- 修复写入JSON文件时编码混乱的问题。
- 调整内部函数命名规范性。
1.2
1.2alpha1
- Added support for read and write operations for specific file types (ini, csv, json, yaml).
- To enhance applicability, indirectly referenced the
Content.contains
method in theFile
class. - Adjusted the implementation of multiple indirectly referenced methods in the
File
class. - Added the
Path.__len__
method to quickly get the length of the path string. - Exposed the
Content.md5
method for use. - To enhance applicability, added two deprecated methods in the
File
class:create
andcreates
.
- 增加了对特定文件类型(ini, csv, json, yaml)的读写操作支持。
- 为了提高适用性,在
File
类中间接引用了Content.contains
方法。 - 调整了
File
类中的多个间接引用方法的实现。 - 新增了
Path.__len__
方法,以便快速获取路径字符串的长度。 - 暴露了
Content.md5
方法以供使用。 - 为了提高适用性,在
File
类中增加了两个标记为弃用的方法:create
和creates
。
What's Changed
- 1.2alpha1 by @2018-11-27 in #19
Full Changelog: 1.1.5...1.2alpha1
1.1.5
- Improved the
Content.overwrite
andContent.append
methods, and adjusted the related code structure. - Added two deprecated methods (
read
andwrite
) in theFile
class to enhance applicability. - Improved a few type annotations and corrected a code standardization error.
- 改进
Content.overwrite
和Content.append
方法,并调整了相关代码结构。 - 为提高适用性,在
File
类中增加了两个(read
和write
)标记为弃用的方法。 - 改进少量类型注解并纠正了一处代码规范性错误。
1.1.4
- Add a new method
Directory.search
for recursively searching subpaths containing specific characters. - Add a new method
Path.ldirname
to support cutting the path from the left side. - Adjust the naming convention of global variables.
- 新增方法
Directory.search
,用于递归搜索包含特定字符的子路径。 - 新增方法
Path.ldirname
,支持从左侧切割路径。 - 调整全局变量的命名规范性。
What's Changed
- 1.1.4 by @2018-11-27 in #17
Full Changelog: 1.1.3...1.1.4
1.1.3
- Fix errors in the packaging process and adjust the import method of third-party modules to support packaging.
- 修复打包过程中的错误,并调整第三方模块的导入方式以支持打包。
1.1.2
- Updated project summary, readme file, and optimized automation workflow to enhance project readability and maintenance efficiency.
- Fixed some minor bugs and optimized code structure to improve project stability and maintainability.
- Updated dependent libraries to the latest version to ensure project compatibility and security.
- Refactored some code to improve execution efficiency and readability.
- 更新项目简述,自述文件,以及优化自动化工作流,提升项目可读性和维护效率。
- 修复了一些小错误,并优化了代码结构,以提高项目的稳定性和可维护性。
- 更新了依赖库到最新版本,确保项目兼容性和安全性。
- 重构了部分代码,以提高执行效率和可读性。
What's Changed
- 1.1.2 by @2018-11-27 in #15
Full Changelog: 1.1.1...1.1.2
1.1.1
- Support direct traversal of file objects and content existence judgment.
- Fix the issue of strict mode failure when splicing paths.
- Adjusted code formatting to enhance readability.
- Added comments in the
SystemPath
class to improve code maintainability. - Replaced the project's unique dependency library to ensure dependency updates and stability.
- Add more detailed documentation in both English and Chinese.
- 支持直接遍历文件对象和内容存在性判断。
- 修复拼接路径时严格模式失效的问题。
- 调整代码格式,提升代码可读性。
- 在
SystemPath
类中添加注释,增强代码可维护性。 - 更换项目唯一依赖库,以确保依赖更新和稳定。
- 添加更详细的中英文文档。
1.1
- Supports concatenating paths using the
/
or+
operators. - Implements the
__fspath__
method to support path representation on the file system, and adjusts numerous code snippets accordingly. - Improves a few type annotations by introducing
TypeAlias
andAnnotated
. - Refines some code by using
!r
in formatted strings to simplifyrepr()
function calls. - Fixes an issue in the
Path.chattr
andPath.lsattr
methods that cause errors when the path type is bytes. - Improves the code snippet handling path type exceptions in
dst2abs
. - Optimizes the performance of path concatenation operations by reducing unnecessary string allocations.
- Removes the annotated method
__ne__
. - Updates the version of the only dependent library.
- Update the project description.
- 支持使用运算符
/
或+
拼接路径。 - 实现
__fspath__
方法支持文件系统上的路径表示,并为此调整了大量代码片段。 - 改进少量类型注解,引入
TypeAlias
和Annotated
。 - 改进少量代码,在格式化字符串中使用
!r
简化repr()
函数调用。 - 修复当路径类型为字节类型时
Path.chattr
和Path.lsattr
方法中引发错误的问题。 - 改进
dst2abs
中处理路径类型异常的代码片段。 - 通过减少不必要的字符串分配来优化路径连接操作的性能。
- 删除注解方法
__ne__
。 - 更新唯一依赖库版本。
- 更新项目简述。