MAJOR RELEASE
This is the first release in the 2.1 series, and has BREAKING CHANGES from the 2.0 series.
Please see the migration guide in the documentation for more details:
https://pyglet.readthedocs.io/en/latest/programming_guide/migration.html
Changes
-------
- Changed default argument order to bring consistency to text Labels and Layouts.
- For API consistency with other modules, Shapes now use degrees for all applicable objects.
- Controller events dispatch `Vec2`s for analog sticks and directional-pad movement.
- The `pyglet.canvas` module has been renamed to `pyglet.display`.
Features
--------
- More control over DPI scaling for Hi-DPI displays (see pyglet.options.dpi_scaling).
- Objects in the math module (Vec2/3/4, Mat3/4, Quaternion) are now all immutable and hashable.
- Shapes now offer a Z property for basic depth sorting.