Skip to content

v2.0 - Typing improvements and usability enhancements

Compare
Choose a tag to compare
@MaddyGuthridge MaddyGuthridge released this 10 Feb 07:30
· 141 commits to main since this release

✨ NEW ✨

  • PyHTML now accepts generators as children to elements
  • Type constraints have been added to arguments for tags, preventing common mistakes (breaking change)
  • The input tag has been modified to make editor suggestions more intelligent

✏️ CHANGES ✏️

  • The formmethod attribute is specified for all input(type='submit') elements where formaction is also specified (breaking change)