Upgrading hyperframe 1 to 2
Breaking1.1.1 → 2.2.0Breaking1Changed1
Fetching 3 releases from GitHub…2 / 3
BreakingUpgrade verdict
1 breaking change.
In plain terms
- If the library reads a frame type it does not recognize, it now reports a specific error that also tells you the frame type and body length.
Must act 1 item needs code or config changes
What you must change
Breaking1
parse_frame_header now raises UnknownFrameError, a ValueError subclass, when it encounters an unknown frame.
parse_frame_headerUnknownFrameErrorValueError