Skip to content

Hisock Version 3.0 Alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@SSS-Says-Snek SSS-Says-Snek released this 24 Mar 17:54

Full Changelog: 2.0.2...3.0a

It's been even longer since the last release! I just realized I had some commits that hadn't made its way over to a new release, so here's version 3. I originally hoped to have a bigger release, but this will do for now. There are a handful of breaking changes and bug fixes here, so listen up!

BREAKING CHANGES

  • dicts are being phased out in place of ClientInfo. The codebase now uses ClientInfo extensively in the API, and projects are strongly recommended to follow in that pursuit.
  • There have been some name changes for kwargs: I do not remember why I did that.
  • Type casting has been completely revamped! Previously, in order to convey information, programmers utilized type hints to let hisock automatically know how to cast bytes to and from things. Now, it is automatically done for you! Now, type hints do NOT affect the outcome (although you should still type hint your codebase!) Note that this system is new, and there may be bugs.

IMPROVED

  • Your usual doc improvements
  • Minor codebase changes
  • Hisock transitioned away from setup.py to pyproject.toml! This marks the transition into newer and more standard python technology.

BUG FIXES

  • Fix bug regarding hisock's inability to send large amounts of data. Now, data above ~50kB at once can actually be sent without potentially crashing.

This is still an alpha release, so if there are bugs, please let us know. Otherwise, see you (maybe) next time!