You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release brings several enhancements that improve developer experience, streamline integration, and lay the groundwork for more maintainable usage.
6
+
7
+
### ✨ Highlights
8
+
9
+
-**Zero Setup Required**
10
+
11
+
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.
12
+
13
+
-**Asset Management with tempo**
14
+
15
+
CSS and JavaScript are now managed and injected using [tempo](https://github.com/indaco/tempo), providing clean build-time control over component assets and simplifying future theming and customization.
16
+
17
+
-**Builder Pattern Support**
18
+
19
+
A new `ToasterBuilder` has been introduced, offering a fluent, chainable API for configuring toast notifications in a more readable and expressive way.
20
+
21
+
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.
22
+
23
+
### 🚀 Enhancements
24
+
25
+
- Add `ToasterBuilder` for chainable toaster configuration ([602fe21](https://github.com/indaco/goaster/commit/602fe21))
26
+
27
+
### 🩹 Fixes
28
+
29
+
- Initialize Icons map in `WithIcon` if `nil` ([1962337](https://github.com/indaco/goaster/commit/1962337))
30
+
-**demos:** Handle errors when rendering toast components' HTML and CSS ([e67fbd2](https://github.com/indaco/goaster/commit/e67fbd2))
31
+
-**devbox:** Add installation commands for go-modernize and tempo-cli ([310699d](https://github.com/indaco/goaster/commit/310699d))
32
+
-**constants:** Update accent style variant names to use hyphens ([2519e6a](https://github.com/indaco/goaster/commit/2519e6a))
33
+
- Update test command to exclude 'examples' instead of 'demos' ([fa5db31](https://github.com/indaco/goaster/commit/fa5db31))
34
+
- Expose color space CSS variable ([eedd30c](https://github.com/indaco/goaster/commit/eedd30c))
35
+
- CSS variables names in variants ([97df0c7](https://github.com/indaco/goaster/commit/97df0c7))
36
+
37
+
### 💅 Refactors
38
+
39
+
- Simplify `Toaster` struct and related methods ([3131123](https://github.com/indaco/goaster/commit/3131123))
40
+
- Simplify type definitions and add `String` methods for toast types ([965af77](https://github.com/indaco/goaster/commit/965af77))
41
+
- Update toast notification constants for clarity and add icons.go ([f6c65b6](https://github.com/indaco/goaster/commit/f6c65b6))
42
+
- Reorganize constants and remove unused code ([42fe468](https://github.com/indaco/goaster/commit/42fe468))
43
+
- Remove unused toast utility functions from utils.go ([08bd475](https://github.com/indaco/goaster/commit/08bd475))
44
+
- Demos as single web app ([d3efd56](https://github.com/indaco/goaster/commit/d3efd56))
45
+
- Move Templ components to the components package ([23364df](https://github.com/indaco/goaster/commit/23364df))
46
+
- Draft - use tempo cli for assets management and injection ([ee864ae](https://github.com/indaco/goaster/commit/ee864ae))
Copy file name to clipboardExpand all lines: CHANGELOG.md
+156-1Lines changed: 156 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,159 @@ All notable changes to this project will be documented in this file.
5
5
The format adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
6
6
and is generated by [changelogen](https://github.com/unjs/changelogen) and managed with [Changie](https://github.com/miniscruff/changie).
7
7
8
-
No releases yet, this file will be updated when generating your first release.
This release brings several enhancements that improve developer experience, streamline integration, and lay the groundwork for more maintainable usage.
13
+
14
+
### ✨ Highlights
15
+
16
+
-**Zero Setup Required**
17
+
18
+
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.
19
+
20
+
-**Asset Management with tempo**
21
+
22
+
CSS and JavaScript are now managed and injected using [tempo](https://github.com/indaco/tempo), providing clean build-time control over component assets and simplifying future theming and customization.
23
+
24
+
-**Builder Pattern Support**
25
+
26
+
A new `ToasterBuilder` has been introduced, offering a fluent, chainable API for configuring toast notifications in a more readable and expressive way.
27
+
28
+
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.
29
+
30
+
### 🚀 Enhancements
31
+
32
+
- Add `ToasterBuilder` for chainable toaster configuration ([602fe21](https://github.com/indaco/goaster/commit/602fe21))
33
+
34
+
### 🩹 Fixes
35
+
36
+
- Initialize Icons map in `WithIcon` if `nil` ([1962337](https://github.com/indaco/goaster/commit/1962337))
37
+
-**demos:** Handle errors when rendering toast components' HTML and CSS ([e67fbd2](https://github.com/indaco/goaster/commit/e67fbd2))
38
+
-**devbox:** Add installation commands for go-modernize and tempo-cli ([310699d](https://github.com/indaco/goaster/commit/310699d))
39
+
-**constants:** Update accent style variant names to use hyphens ([2519e6a](https://github.com/indaco/goaster/commit/2519e6a))
40
+
- Update test command to exclude 'examples' instead of 'demos' ([fa5db31](https://github.com/indaco/goaster/commit/fa5db31))
41
+
- Expose color space CSS variable ([eedd30c](https://github.com/indaco/goaster/commit/eedd30c))
42
+
- CSS variables names in variants ([97df0c7](https://github.com/indaco/goaster/commit/97df0c7))
43
+
44
+
### 💅 Refactors
45
+
46
+
- Simplify `Toaster` struct and related methods ([3131123](https://github.com/indaco/goaster/commit/3131123))
47
+
- Simplify type definitions and add `String` methods for toast types ([965af77](https://github.com/indaco/goaster/commit/965af77))
48
+
- Update toast notification constants for clarity and add icons.go ([f6c65b6](https://github.com/indaco/goaster/commit/f6c65b6))
49
+
- Reorganize constants and remove unused code ([42fe468](https://github.com/indaco/goaster/commit/42fe468))
50
+
- Remove unused toast utility functions from utils.go ([08bd475](https://github.com/indaco/goaster/commit/08bd475))
51
+
- Demos as single web app ([d3efd56](https://github.com/indaco/goaster/commit/d3efd56))
52
+
- Move Templ components to the components package ([23364df](https://github.com/indaco/goaster/commit/23364df))
53
+
- Draft - use tempo cli for assets management and injection ([ee864ae](https://github.com/indaco/goaster/commit/ee864ae))
0 commit comments