Skip to content

Releases: Illustar0/ZZU.Py

v5.1.0

22 May 14:04
Compare
Choose a tag to compare

v5.1.0 (2025-05-22)

This release is published under the MIT License.

请尽快更新至 v5.1.0 。移动校园从 2025.5.13 开始阻止了所有未进行 RSA 加密的登录请求,旧版本将无法使用。

✨ Features

  • Implement RSA encryption for login credentials (30d8836)

  • Update default app version to 1.0.42 (f18264f)

  • Update login return type to LoginResult (8be5926)

♻️ Refactoring

  • Add pkcs7_unpad function and integrate into sm4_decrypt_ecb (a1fbe7b)

  • Improve imports organization (5c7a80e)

  • Remove unnecessary exception handling in network login request (ecf9dad)

  • Replace login_sync with login_async in API (8d46b47)

🤖 Continuous Integration

  • Rename Continuous Delivery to Release (74a0753)

🧹 Chores

  • Correct PyPI URL in release notes template (ffd6969)

  • Remove CHANGELOG.md (f46a875)


Detailed Changes: v5.0.0...v5.1.0


Installable artifacts are available from:

v5.0.0

09 May 15:00
Compare
Choose a tag to compare

v5.0.0 (2025-05-09)

This release is published under the MIT License.

✨ Features

  • Adding some helper functions (0c18d8f)

  • Follow up on the new campus network Portal authentication encryption (405cd6d)

  • Refactor log management (760b10d)

  • Remove get_default_interface() because the value it obtained was not accurate. (11b91b7)

  • Switched from psutil to lighter-weight ifaddr. (3215dc5)

🪲 Bug Fixes

  • A field error (f2195b5)

  • Correct local address assignment logic (34ee351)

  • Encrypt password using the correct encryption (5c5b15d)

♻️ Refactoring

  • Reorder imports across modules for consistency (f9fb0a5)

🤖 Continuous Integration

  • Update the release workflow to use workflow_dispatch trigger (27b702b)

🧹 Chores

  • Add release note template (8148935)

  • deps: Update astral-sh/setup-uv action to v6 (PR#10, 88716b1)

  • deps: Update python-semantic-release/publish-action action to v9.21.1 (PR#11, d56d36a)

  • deps: Update python-semantic-release/python-semantic-release action to v9.21.1 (PR#12, 0fe7403)


Detailed Changes: v4.1.0...v5.0.0


Installable artifacts are available from:

v4.1.0

18 Mar 08:04
Compare
Choose a tag to compare

v4.1.0 (2025-03-18)

This release is published under the MIT License.

Bug Fixes

  • Corrected some error request bodies (e003214)

Documentation

Features

  • Automatically obtain cur_semester_id and biz_type_id and use them as default values (5b7c6e3)

  • Support obtain semester data (1c1e223)

  • Support query of empty classrooms (f05ef9b)

Allows to query empty classrooms by date and building id

Closes #9

Refactoring


Detailed Changes: v4.0.0...v4.1.0

v4.0.0

08 Mar 09:07
Compare
Choose a tag to compare

v4.0.0 (2025-03-08)

This release is published under the MIT License.

Bug Fixes

  • Allow specifying semester_id for get_courses() (faa0388)

In fact, the semester_id is different for each semester, which means that get_courses() can only get the course schedule for the first semester of the 2024-2025 academic year. This commit fixes this problem.

BREAKING CHANGE: get_courses() required parameters changed

get_courses() now requires two parameters: start_date and semester_id

Documentation

Features

  • Allows obtaining userToken via public API (aff8a3c)

  • Make login() return a dictionary (5c6963c)

login() now returns a dictionary instead of a tuple

BREAKING CHANGE: login() return value changed

  • Use pydantic to provide type annotations (e02d25c)

Detailed Changes: v3.0.0...v4.0.0

v3.0.0

05 Mar 14:59
Compare
Choose a tag to compare

v3.0.0 (2025-03-05)

This release is published under the MIT License.

Documentation

  • Correct and complete some documents (220f1da)

Features

  • Use SimpleCookie as the incoming type (286be07)

It is obvious that SimpleCookie is a more suitable parameter type than dict.

BREAKING CHANGE: no longer accepting dict type cookies

Please use SimpleCookie

Breaking Changes

  • No longer accepting dict type cookies

Detailed Changes: v2.1.0...v3.0.0

v2.1.0

03 Mar 13:24
Compare
Choose a tag to compare

v2.1.0 (2025-03-03)

This release is published under the MIT License.

Bug Fixes

  • Forgot to delete the httpx top-level API (4a94ff5)

  • Prevent program exit from being blocked (cdebda4)

  • Wrong location_type in headers (30017fa)

Features

  • Automatically refresh ecard_access_token (d7770d9)

  • More detailed exceptions (da19688)

  • Perform permission check before operation (6378e4a)

Performance Improvements

  • Reduce duplication of code (53b6844)

Reduce duplication of code and use some more elegant approach

  • Remove unused functions (b07c0af)

Removed get_area_dict(), get_building_dict(), and get_unit_dict(), and integrated their functionality into get_room_dict()

DEPRECATED: all get_*_dict() except get_room_dict() are deprecated

The code for get_*_dict() is highly duplicated, so their functionality has been merged into get_room_dict(). From now on you should only use get_room_dict()

Refactoring


Detailed Changes: v2.0.1...v2.1.0

v2.0.1

02 Mar 14:25
Compare
Choose a tag to compare

v2.0.1 (2025-03-02)

This release is published under the MIT License.

Bug Fixes

  • Unable to generate document (b29393a)

Detailed Changes: v2.0.0...v2.0.1

v2.0.0

02 Mar 13:56
Compare
Choose a tag to compare

v2.0.0 (2025-03-02)

This release is published under the MIT License.

Chores

uv is really too fast!

  • Update build command (85ee7fc)

  • Update renovate config (ec18baf)

  • Update version_toml (96c3a3f)

  • deps: Update python-semantic-release/publish-action action to v9.19.1 (#2, 6b98903)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

  • deps: Update python-semantic-release/publish-action action to v9.20.0 (#5, ed0a9f3)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

  • deps: Update python-semantic-release/publish-action action to v9.21.0 (#7, 1364b87)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

  • deps: Update python-semantic-release/python-semantic-release action to v9.19.1 (#3, 3dd61a9)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

  • deps: Update python-semantic-release/python-semantic-release action to v9.20.0 (#6, b8db4f7)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

  • deps: Update python-semantic-release/python-semantic-release action to v9.21.0 (#8, 6d8550a)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Continuous Integration

Features

Refactored the network processing module to allow logging in via cookies, as well as reformatted the code and added some logging

  • Bump app version (16e9544)

  • Initial exception handling (94faba3)

  • Support for getting the default room (d0d7437)

Now get_remaining_energy() and recharge_energy() can automatically get the default room of the account, so room is no longer a required parameter

BREAKING CHANGE: room parameter position adjustment

Since the room parameter is no longer necessary, the position of the room parameter of recharge_energy() has been adjusted

Refactoring

Breaking Changes

  • Room parameter position adjustment

Detailed Changes: v1.0.2...v2.0.0

v1.0.2

09 Feb 09:51
Compare
Choose a tag to compare

v1.0.2 (2025-02-09)


Detailed Changes: v1.0.1...v1.0.2

v1.0.1

09 Feb 09:08
Compare
Choose a tag to compare

v1.0.1 (2025-02-09)

Bug Fixes

  • Fix a field error that caused the version to fail to be published (e7615ca)

Signed-off-by: Illustar0 [email protected]

Signed-off-by: Illustar0 [email protected]

Chores

Signed-off-by: Illustar0 [email protected]


Detailed Changes: v1.0.0...v1.0.1