Releases: indaco/goaster
v0.2.3
v0.2.3 - 2025-09-28
📦 Build
- deps: bump github.com/a-h/templ from 0.3.924 to 0.3.943 by @dependabot[bot]
- update templ to v0.3.924 by @indaco
💅 Refactor
- templOnceHandle as scoped variables by @indaco
🏡 Chore
- regerate *_templ.go with templ v0.3.924 by @indaco
❤️ New Contributors
- @dependabot[bot] made their first contribution in #7
- @BillBuilt made their first contribution #8
v0.2.2
v0.2.1
v0.2.0
v0.2.0 - 2025-04-01
This release brings several enhancements that improve developer experience, streamline integration, and lay the groundwork for more maintainable usage.
✨ Highlights
-
Zero Setup Required
Thanks to Templ’s render: once, you no longer need to manually include GoasterCSS or GoasterJS in your templates. Styles and scripts are now automatically injected at compile time, simplifying usage and reducing boilerplate.
-
Asset Management with tempo
CSS and JavaScript are now managed and injected using tempo, providing clean build-time control over component assets and simplifying future theming and customization.
-
Builder Pattern Support
A new
ToasterBuilderhas been introduced, offering a fluent, chainable API for configuring toast notifications in a more readable and expressive way.
This release also includes general refactors, improved test coverage, better CI workflows, and updated documentation. See the full changelog below for details. Below is the complete list of changes included in this release.
🚀 Enhancements
- Add
ToasterBuilderfor chainable toaster configuration (602fe21)
🩹 Fixes
- Initialize Icons map in
WithIconifnil(1962337) - demos: Handle errors when rendering toast components' HTML and CSS (e67fbd2)
- devbox: Add installation commands for go-modernize and tempo-cli (310699d)
- constants: Update accent style variant names to use hyphens (2519e6a)
- Update test command to exclude 'examples' instead of 'demos' (fa5db31)
- Expose color space CSS variable (eedd30c)
- CSS variables names in variants (97df0c7)
💅 Refactors
- Simplify
Toasterstruct and related methods (3131123) - Simplify type definitions and add
Stringmethods for toast types (965af77) - Update toast notification constants for clarity and add icons.go (f6c65b6)
- Reorganize constants and remove unused code (42fe468)
- Remove unused toast utility functions from utils.go (08bd475)
- Demos as single web app (d3efd56)
- Move Templ components to the components package (23364df)
- Draft - use tempo cli for assets management and injection (ee864ae)
- Javascript (762fa7e)
- Styles and add CSS color variables (5d86175)
- Enhance Makefile and add Taskfile (be829eb)
📖 Documentation
- CHANGELOG.md: Fix link to compare changes (41561f7)
- Move development setup instructions to CONTRIBUTING.md (4b0b1dc)
- Update README features section for clarity and detail (ebf149a)
- Update README with new component description and badges (4f9401b)
- Update README with new Toaster usage examples and patterns (1549e52)
- css-props: Simplify structure (7f9e7da)
- Update demo image link (4e34543)
- CONTRIBUTING: Update guide with Devbox and manual setup instructions (95cfd88)
- Update example instructions and improve CSS property defaults (2e5b71e)
📦 Build
- Update Go version to 1.23.7 and templ dependency to v0.3.857 (1b6a1fd)
🏡 Chore
- Setup changie (a5065a2)
- Bump templ from v0.2.663 to v0.2.680 (0b23e27)
- Regenerate templ files with v0.2.680 (fe8f96e)
- toast.go: Update comments for clarity in toast.go (48db2de)
- Rename test file for Toaster (01055d5)
- Update devbox schema and package versions (8ec2ae4)
- Enhance pre-commit and pre-push hooks (b42989b)
- Update .gitignore to include .tempo-lastrun file (61663d9)
- Exclude demos and components from tests run (a101b88)
- Rename the demos folder to examples (23f22d9)
- examples: Add accent and accent-dark (407f57f)
- examples: Update animation variables and toaster initialization (6cdc5f9)
- Add setup scripts for Git hooks configuration (c985fe8)
- demos: Add Variants link to homepage navigation menu (7b9ecb8)
✅ Tests
- Add tests for HTML generator and queue functionality (39d346c)
🤖 CI
- Add GitHub Actions workflow for test coverage (f24be86)
- Add Dependabot configuration for Go modules updates (1065512)
- Add workflow for Go testing and linting (a71005a)
- Add GitHub Actions workflow for automated release notes (5a389a6)
- Update test command to exclude demos and components (2200383)
- Update release notes workflow for GitHub releases (bbea477)
- Simplify release notes workflow by using tag version (9cd0806)
❤️ Contributors
- Indaco (@indaco)
v0.1.2
🩹 Fixes
- Swap error and warning level icons (817c84d)
📖 Documentation
- README.md: Update Contributing section (2617e9a)
- README.md: Change devbox button style (b28b91b)
- Update README.md and add docs/css-props.md (dd69dd1)
🏡 Chore
- Regenerate templ files with templ v0.2.663 (43385c1)
- Update from github (601ccf5)
- Update .gitignore (dc0f4f0)
- Makefile: Remove report-card target (3f4e2e8)
- Add gnumake to devbox (c80d689)
- Devbox (ef2e98c)
- Import order (ccad028)
- Theming example (b6daaed)
🎨 Styles
- goaster-css.templ: Set color shades with color-mix (16b8b8f)
- goaster-css.templ: Padding units from rem to em relative sizing (9a4598f)
❤️ Contributors
- Indaco github@mircoveltri.me