Skip to content

Releases: Kile/rpg_map

v0.1.0-release

05 Jul 10:56

Choose a tag to compare

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

05 Jul 10:24

Choose a tag to compare

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 have x and y exposed which it does now
  • Travel did not have computed_path exposed even though it was documented as an attribute. It is a useful attribute so now it is exposed.
  • examples/readme.py now includes code for all generated images in the README rather than just the final example image.
  • Some println formatting changes were done to comply with newer versions of clippy.

Additions

  • examples/readme.py is now run by GitHub actions on commits to re-generate the README images so any changes are immediately reflected in example images.
  • A clear_extras method was added to Map to reset internal attributes that are set with things like with_obstacles. This allows easier re-usability of the same Map object 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

16 Apr 13:43

Choose a tag to compare

Bug fixes:

  • The assets on PyPi were not displayed so they were converted to hyperlinks in the README
  • MapType.Hidden would 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

15 Apr 15:42

Choose a tag to compare

This fixes a number of bugs in the first release as well as adding docs, GitHub Actions and tests.

Bugs fixed:

  • PathDisplayType made 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