All notable changes to this project will be documented in this file.
- Use same
sanitizeconfig in Templates too (#112)
- Allow
usetag by default in sanitize (#109) - Allow old signature in
insertHTMLhelper to facilitate migrations (#110) - Fix
sanitize: returns an empty string rather than of undefined (#111)
- Ajax error handling (#106)
- Skip sanitize empty strings (#108)
- Sanitize only template variables instead of entire output (#101)
- Allow the
insertHTMLhelper to render HTML without sanitization (#102) - Introduce new
sanitizehelper (#103) - Introduce new
insertTemplatehelper (#104)
- XSS prevention in
insertHTMLand the Templates system (#99, #100)
- Introduce new
stylehelper (#95)
- Allow
onhelper to accept options (#90)
toggleClassaccepts a boolean to force add/remove given class (#79)
- Refactor
getParamsandsetParamshelpers (#75) - Remove
setUrlhelper (#75) insertHTMLsupports to render Element instances
- New
backhelper (#72, #73) - Allow to create elements without attributes:
elem('p')
- Fix automatic
preventDefault()conditions (#68)
- Add
findParentandfindParentshelpers (#66) - Automatic
preventDefault()only for submit inputs (#67)
onperformspreventDefault()on click events only for interactive elements (#65)
- Allow
ajaxfunctions to receive params asformData - Support handling array of classes in classes helpers
- Remove
showandhidehelpers - Set
currentElemandcurrentEventwhen using theonhelper - Support
requestSubmitonsubmithelper - Add tests and CI
- New Logo, Branding and Starter Kits
- New helpers:
removeAttrandremoveData - Documentation revamp
- Add Turbo support
findAllreturns an array for single elements
- Add Ajax helpers:
ajax,getandpost serializeworks with objects too- Use
findAllinshow,hideandon