about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarkus Wüstenberg2024-10-11 10:47:37 +0200
committerGitHub2024-10-11 10:47:37 +0200
commite53dba6a6cdbf05d0577e0fa0d61d3c141a641db (patch)
tree21faf46a952cbf5a654905a8d9ce8a78af3be234
parent853044729768d3a52d1aba5c9e081737a5088b11 (diff)
downloadgomponents-e53dba6a6cdbf05d0577e0fa0d61d3c141a641db.tar.lz
gomponents-e53dba6a6cdbf05d0577e0fa0d61d3c141a641db.tar.zst
gomponents-e53dba6a6cdbf05d0577e0fa0d61d3c141a641db.zip
Release v1 (#226)
v1.0.0-beta1 gave no problems with my other gomponents libraries, that
of others, and some of my large projects, so releasing v1!

No more breaking changes! 😁
-rw-r--r--README.md8
-rw-r--r--internal/examples/app/go.mod4
-rw-r--r--internal/examples/app/go.sum4
-rw-r--r--internal/examples/app/go.work2
-rw-r--r--internal/examples/app/go.work.sum1
-rw-r--r--internal/examples/app/html/home.go2
6 files changed, 10 insertions, 11 deletions
diff --git a/README.md b/README.md
index b4c5f85..1e83814 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ They render to HTML 5, and make it easy for you to build reusable components.
 So you can focus on building your app instead of learning yet another templating language.
 
 ```shell
-go get maragu.dev/gomponents@v1.0.0-beta1
+go get maragu.dev/gomponents
 ```
 
 Made with ✨sparkles✨ by [maragu](https://www.maragu.dev/).
@@ -38,16 +38,14 @@ Check out [www.gomponents.com](https://www.gomponents.com) for an introduction.
   - `Map` for mapping data to components and `Group` for grouping components,
   - and `If`/`Iff` for conditional rendering.
 - No external dependencies
+- Mature and stable, no breaking changes
 
 ## Usage
 
 ```shell
-go get maragu.dev/gomponents@v1.0.0-beta1
+go get maragu.dev/gomponents
 ```
 
-The preferred way to use gomponents is with so-called dot-imports (note the dot before the imports),
-to give you that smooth, native HTML feel:
-
 ```go
 package main
 
diff --git a/internal/examples/app/go.mod b/internal/examples/app/go.mod
index a234275..83e51cf 100644
--- a/internal/examples/app/go.mod
+++ b/internal/examples/app/go.mod
@@ -1,5 +1,5 @@
 module app
 
-go 1.23.1
+go 1.23.2
 
-require maragu.dev/gomponents v0.22.1-0.20241003092644-fe24f0575214
+require maragu.dev/gomponents v1.0.0-beta1
diff --git a/internal/examples/app/go.sum b/internal/examples/app/go.sum
index 6a8ac6d..d3b1274 100644
--- a/internal/examples/app/go.sum
+++ b/internal/examples/app/go.sum
@@ -1,2 +1,2 @@
-maragu.dev/gomponents v0.22.1-0.20241003092644-fe24f0575214 h1:bNGcux5RpG5WWQby69VsE0GexUxryln8ltlfdaf06oI=
-maragu.dev/gomponents v0.22.1-0.20241003092644-fe24f0575214/go.mod h1:oEDahza2gZoXDoDHhw8jBNgH+3UR5ni7Ur648HORydM=
+maragu.dev/gomponents v1.0.0-beta1 h1:I51NqKfrtQC4GxuWShqW5CT5BrfToMEueLD76IhdSXs=
+maragu.dev/gomponents v1.0.0-beta1/go.mod h1:oEDahza2gZoXDoDHhw8jBNgH+3UR5ni7Ur648HORydM=
diff --git a/internal/examples/app/go.work b/internal/examples/app/go.work
index 5d58b63..5e890c3 100644
--- a/internal/examples/app/go.work
+++ b/internal/examples/app/go.work
@@ -1,4 +1,4 @@
-go 1.23.1
+go 1.23.2
 
 use (
 	.
diff --git a/internal/examples/app/go.work.sum b/internal/examples/app/go.work.sum
new file mode 100644
index 0000000..5c5a195
--- /dev/null
+++ b/internal/examples/app/go.work.sum
@@ -0,0 +1 @@
+maragu.dev/gomponents v1.0.0-beta1/go.mod h1:oEDahza2gZoXDoDHhw8jBNgH+3UR5ni7Ur648HORydM=
diff --git a/internal/examples/app/html/home.go b/internal/examples/app/html/home.go
index c06aa66..5743d38 100644
--- a/internal/examples/app/html/home.go
+++ b/internal/examples/app/html/home.go
@@ -11,7 +11,7 @@ func HomePage(items []string) Node {
 
 		P(Text("This is a gomponents example app!")),
 
-		P(Raw(`Have a look at the <a href="https://maragu.dev/gomponents/tree/main/internal/examples/app">source code</a> to see how it’s structured.`)),
+		P(Raw(`Have a look at the <a href="https:/github.com/maragudk/gomponents/tree/main/internal/examples/app">source code</a> to see how it’s structured.`)),
 
 		Ul(Map(items, func(s string) Node {
 			return Li(Text(s))