Skip to content

Releases: COMP1010UNSW/pyhtml-enhanced

v1.1.0 - Support for Python 3.9

25 Nov 09:11
Compare
Choose a tag to compare

✨ NEW ✨

  • Python 3.9 is now supported, so UNSW's CSE systems should no-longer freak out when installing the library
  • PyHTML now gives a hint in the error message when users forget to stringify it before returning it to Flask

✏️ CHANGES ✏️

  • Some dead code has been removed
  • The module documentation is now significantly more helpful
  • The library now uses a more markdown-friendly copy of the CC-BY-SA-2.5 license

⚙️ UNDER THE HOOD ⚙️

  • The library now uses doctests to ensure that the examples in the README are correct
  • It also has some end-to-end tests for Flask, since that is the primary use case in COMP1010

v1.0.4 - Improved documentation

06 Nov 04:50
Compare
Choose a tag to compare

✏️ CHANGED ✏️

  • Suggestions are now included for more form, input, and button attributes
  • Attribute suggestions have been added for td, and th elements

v1.0.3 - More refinements

03 Oct 13:09
Compare
Choose a tag to compare

🔧 FIXED 🔧

  • Fix the same issue as before, it didn't work for self-closing tags
  • This is why I need to remember to check coverage before publishing releases

v1.0.2 - Refinements

03 Oct 12:59
Compare
Choose a tag to compare

✏️ CHANGED ✏️

  • Default values for attributes are documented

🔧 FIXED 🔧

  • Overrides of attributes with default values in secondary calls didn't work

v1.0.1 - Bug fix

03 Oct 08:34
Compare
Choose a tag to compare

🔧 FIXED 🔧

  • Fixed an issue where attributes could be overwritten by default properties

v1.0.0 - Full release with near feature parity

29 Sep 07:14
d02dc56
Compare
Choose a tag to compare

✨ NEW ✨

  • Uninstantiated tags are now instantiated and rendered if they are a children of another element
  • Lists of child elements are flattened
  • Giving value=True will correctly render boolean attributes
  • Default attribute values are given for some tag types
  • Documentation now includes details about suggested attributes
  • Now with 100% test coverage (at least of the distributed code)

✏️ CHANGED ✏️

  • Tag properties are now (correctly) named attributes
  • Elements are also rendered when calling repr()
  • Contents of comment tags are indented for readability

🔧 FIXED 🔧

  • Attribute names that overlap with reserved keywords can now be accessed using a suffix (not just prefix) underscore (eg for_)

v0.2.1 - Fix incorrect link parsing

13 Sep 03:53
Compare
Choose a tag to compare
  • Links were sometimes parsed incorrectly, leading to 404s on occasion.

v0.2 - Fix broken documentation links

12 Sep 23:50
Compare
Choose a tag to compare

Links within descriptions are reformatted to make them link to MDN correctly.

v0.1.0 - Initial Release

08 Sep 13:54
Compare
Choose a tag to compare

Initial release of pyhtml-enhanced