Skip to content

Releases: gqylpy/systempath

1.2.1

09 Sep 00:43
2405535
Compare
Choose a tag to compare
  1. Fix the problem of chaotic encoding when writing to a JSON file.
  2. Adjust the naming standardization of internal functions.

  1. 修复写入JSON文件时编码混乱的问题。
  2. 调整内部函数命名规范性。

1.2

26 Aug 01:31
Compare
Choose a tag to compare
1.2

Officially release version. 1.2alpha1

1.2alpha1

22 Aug 00:42
edb10bf
Compare
Choose a tag to compare
  1. Added support for read and write operations for specific file types (ini, csv, json, yaml).
  2. To enhance applicability, indirectly referenced the Content.contains method in the File class.
  3. Adjusted the implementation of multiple indirectly referenced methods in the File class.
  4. Added the Path.__len__ method to quickly get the length of the path string.
  5. Exposed the Content.md5 method for use.
  6. To enhance applicability, added two deprecated methods in the File class: create and creates.

  1. 增加了对特定文件类型(ini, csv, json, yaml)的读写操作支持。
  2. 为了提高适用性,在 File 类中间接引用了 Content.contains 方法。
  3. 调整了 File 类中的多个间接引用方法的实现。
  4. 新增了 Path.__len__ 方法,以便快速获取路径字符串的长度。
  5. 暴露了 Content.md5 方法以供使用。
  6. 为了提高适用性,在 File 类中增加了两个标记为弃用的方法: createcreates

What's Changed

Full Changelog: 1.1.5...1.2alpha1

1.1.5

15 Aug 02:22
5ae3fc2
Compare
Choose a tag to compare
  1. Improved the Content.overwrite and Content.append methods, and adjusted the related code structure.
  2. Added two deprecated methods (read and write) in the File class to enhance applicability.
  3. Improved a few type annotations and corrected a code standardization error.

  1. 改进 Content.overwriteContent.append 方法,并调整了相关代码结构。
  2. 为提高适用性,在 File 类中增加了两个(readwrite)标记为弃用的方法。
  3. 改进少量类型注解并纠正了一处代码规范性错误。

1.1.4

14 Aug 01:36
d6d9f20
Compare
Choose a tag to compare
  1. Add a new method Directory.search for recursively searching subpaths containing specific characters.
  2. Add a new method Path.ldirname to support cutting the path from the left side.
  3. Adjust the naming convention of global variables.

  1. 新增方法 Directory.search,用于递归搜索包含特定字符的子路径。
  2. 新增方法 Path.ldirname,支持从左侧切割路径。
  3. 调整全局变量的命名规范性。

What's Changed

Full Changelog: 1.1.3...1.1.4

1.1.3

02 Aug 09:07
9c7a8ec
Compare
Choose a tag to compare
  1. Fix errors in the packaging process and adjust the import method of third-party modules to support packaging.

  1. 修复打包过程中的错误,并调整第三方模块的导入方式以支持打包。

1.1.2

02 Aug 00:51
ce325a3
Compare
Choose a tag to compare
  1. Updated project summary, readme file, and optimized automation workflow to enhance project readability and maintenance efficiency.
  2. Fixed some minor bugs and optimized code structure to improve project stability and maintainability.
  3. Updated dependent libraries to the latest version to ensure project compatibility and security.
  4. Refactored some code to improve execution efficiency and readability.

  1. 更新项目简述,自述文件,以及优化自动化工作流,提升项目可读性和维护效率。
  2. 修复了一些小错误,并优化了代码结构,以提高项目的稳定性和可维护性。
  3. 更新了依赖库到最新版本,确保项目兼容性和安全性。
  4. 重构了部分代码,以提高执行效率和可读性。

What's Changed

Full Changelog: 1.1.1...1.1.2

1.1.1

25 Jul 00:59
36ca371
Compare
Choose a tag to compare
  1. Support direct traversal of file objects and content existence judgment.
  2. Fix the issue of strict mode failure when splicing paths.
  3. Adjusted code formatting to enhance readability.
  4. Added comments in the SystemPath class to improve code maintainability.
  5. Replaced the project's unique dependency library to ensure dependency updates and stability.
  6. Add more detailed documentation in both English and Chinese.

  1. 支持直接遍历文件对象和内容存在性判断。
  2. 修复拼接路径时严格模式失效的问题。
  3. 调整代码格式,提升代码可读性。
  4. SystemPath 类中添加注释,增强代码可维护性。
  5. 更换项目唯一依赖库,以确保依赖更新和稳定。
  6. 添加更详细的中英文文档。

1.1

04 Jun 01:37
0c1dbba
Compare
Choose a tag to compare
1.1
  1. Supports concatenating paths using the / or + operators.
  2. Implements the __fspath__ method to support path representation on the file system, and adjusts numerous code snippets accordingly.
  3. Improves a few type annotations by introducing TypeAlias and Annotated.
  4. Refines some code by using !r in formatted strings to simplify repr() function calls.
  5. Fixes an issue in the Path.chattr and Path.lsattr methods that cause errors when the path type is bytes.
  6. Improves the code snippet handling path type exceptions in dst2abs.
  7. Optimizes the performance of path concatenation operations by reducing unnecessary string allocations.
  8. Removes the annotated method __ne__.
  9. Updates the version of the only dependent library.
  10. Update the project description.

  1. 支持使用运算符 /+ 拼接路径。
  2. 实现 __fspath__ 方法支持文件系统上的路径表示,并为此调整了大量代码片段。
  3. 改进少量类型注解,引入 TypeAliasAnnotated
  4. 改进少量代码,在格式化字符串中使用 !r 简化 repr() 函数调用。
  5. 修复当路径类型为字节类型时 Path.chattrPath.lsattr 方法中引发错误的问题。
  6. 改进 dst2abs 中处理路径类型异常的代码片段。
  7. 通过减少不必要的字符串分配来优化路径连接操作的性能。
  8. 删除注解方法 __ne__
  9. 更新唯一依赖库版本。
  10. 更新项目简述。

1.0.14

20 May 01:01
eae6bfa
Compare
Choose a tag to compare
  1. Optimize the logic block of importing actual code.
  2. Optimize MasqueradeClass.
  3. Fix a line break error.
  4. Improve line break formatting in one place.
  5. Correct a formatting error.

  1. 优化导入真实代码的逻辑块。
  2. 优化 MasqueradeClass
  3. 纠正一处换行错误。
  4. 改进一处换行格式。
  5. 纠正一处格式错误。