This change adds a new components.JoinAttrs component, which is useful for joining attribute values (such as the often requested class attribute merging).
Also, contributors added some missing/new HTML elements and attributes. Thanks!
Also, some performance improvements, which should help with less memory allocation especially in newer Go versions.
What's Changed
- add Scope attribute helper by @alanpearce in #249
- Update README.md with example to clarify attribute and element name conflicts by @mhpenta in #252
- Upgrade to golangci/golangci-lint-action@v7 by @markuswustenberg in #254
- Bump golangci/golangci-lint-action from 7 to 8 by @dependabot[bot] in #256
- Add "search" HTML element by @theandrew168 in #257
- Add
components.JoinAttrsby @markuswustenberg in #262 - Bump actions/checkout from 4 to 5 by @dependabot[bot] in #263
- Test Go 1.25 in CI by @markuswustenberg in #264
- Reduce number of allocations for rendering elements and attributes by @markuswustenberg in #265
New Contributors
- @alanpearce made their first contribution in #249
- @mhpenta made their first contribution in #252
- @theandrew168 made their first contribution in #257
Full Changelog: v1.1.0...v1.2.0