0.9.0
This update brings a lot of fixes and adds missing attributes for certain elements. Plus HTMX support! (content update by @RandomHashTags )
Additions
- HTMX support via global attributes (view README on how to use)
- experimental
lookupFilesattribute for html macros - added missing
shapeattribute toarea - added missing
command&commandforattributes tobutton - added 5 missing attributes to
form(action, enctype, method, novalidate, target) - added 9 missing attributes to
object(archive, border, classid, codebase, codetype, data, declare, standby, usemap) - added missing
requiredattribute totextarea - added
ariaattributeglobal attribute
Fixes
downloadattribute behavior foracontrolslistattribute behavior foraudioallowattribute behavior foriframerelattribute behavior fora,area,form, &linkhttpEquivattribute behavior formetaautocorrectattribute behavior fortextareaattributionSrcattribute behavior fora,img, &script(and renamed toattributionsrc)
Changes
- empty string attribute value is now kept instead of being completely removed (don't assign the attribute if you don't want it)
- renamed
roleenum inHTMLElementAttribute.Extratoariaroleand added more roles
Other
- organized imports
- README updates
Full Changelog: 0.8.0...0.9.0
This should be the last major update before the 1.0.0 release. Just want to make sure nothing hazardous still exists and the library is feature complete.