Skip to content

Fixed issue in agentzero::__construct() where the returned type for…#12

Merged
hexydec merged 3 commits intomainfrom
hotfix/tests-failing
Apr 27, 2026
Merged

Fixed issue in agentzero::__construct() where the returned type for…#12
hexydec merged 3 commits intomainfrom
hotfix/tests-failing

Conversation

@hexydec
Copy link
Copy Markdown
Owner

@hexydec hexydec commented Apr 27, 2026

… version values could be an int, whereas they are stored as strings, they are now converted.

Fixed bug in versions::get() where if the specified version was out of range of the earliest version we have data for, and the major version was the same, it would incorrect return that it was the latest version. It now checks the string against the earliest version to see if it lower, and if so marks it as legacy. Updated tests.

hexydec added 3 commits April 27, 2026 16:50
… version values could be an int, whereas they are stored as strings, they are now converted.

Fixed bug in `versions::get()` where if the specified version was out of range of the earliest version we have data for, and the major version was the same, it would incorrect return that it was the latest version. It now checks the string against the earliest version to see if it lower, and if so marks it as `legacy`.
Updated tests.
@hexydec hexydec merged commit 3b9c353 into main Apr 27, 2026
1 of 2 checks passed
@hexydec hexydec deleted the hotfix/tests-failing branch April 27, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant