Releases: Kile/rpg_map
Releases · Kile/rpg_map
v0.1.0-release
Minor version bumps from v0.1.0 (and I also forgot to adjust the version number in the code so it did not release on PyPi)
v0.1.0
Version 0.1.0
This version includes some minor changes I have been meaning for a while.
Changes:
PathPoint, while previously exposed, was not type hinted in the stub. It is now fully documented in the stub file. It also did not havexandyexposed which it does nowTraveldid not havecomputed_pathexposed even though it was documented as an attribute. It is a useful attribute so now it is exposed.examples/readme.pynow includes code for all generated images in theREADMErather than just the final example image.- Some
printlnformatting changes were done to comply with newer versions of clippy.
Additions
examples/readme.pyis now run by GitHub actions on commits to re-generate theREADMEimages so any changes are immediately reflected in example images.- A
clear_extrasmethod was added toMapto reset internal attributes that are set with things likewith_obstacles. This allows easier re-usability of the sameMapobject rather than having to discard if you want to have obstacles shown at first and then removed.
Full Changelog: v0.0.3...v0.1.0
v0.0.3
Bug fixes:
- The assets on PyPi were not displayed so they were converted to hyperlinks in the README
MapType.Hiddenwould not reveal the current position in a path
Changes:
- Dots, obstacles and the grid now take priority over the path pixels instead of being drawn before the path was applied.
- Added a bunch more tests and added workaround for issue with half transparent pixels for tests
- Removed the code that replaced references to images in the README for readthedocs as they are hyperlinks now
- Added code that generates the example before the steps for the example
- Added a bunch of potential errors to
Travel::new/Travel.__init__for various scenarios
The main thing missing before a v0.1.0 release is duplicated attributes in the readthedocs documentation which I am still figuring out how to get rid of. Better enum support for stub files would also be useful, waiting on Jij-Inc/pyo3-stub-gen#86.
Full Changelog: v0.0.2...v0.0.3
v0.0.2
This fixes a number of bugs in the first release as well as adding docs, GitHub Actions and tests.
Bugs fixed:
PathDisplayTypemade no sense and did not work correctly
Other:
- Added actions that build docs, a stub file, runs tests and builds the package ready for a push to PyPi
- Added comments to rust functions to document attributes etc which are also reflected in the docs