From 29f4785ae020c1aa2a592c9fff805918bce33b40 Mon Sep 17 00:00:00 2001 From: Bruno Bernard Date: Sat, 21 Mar 2026 22:31:59 +0400 Subject: [PATCH 1/2] feat: Update module version from v2 to v3 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 8e59ff8..8346c55 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/romsar/gonertia/v2 +module github.com/romsar/gonertia/v3 go 1.23 From 8006bf56eab4d3f61afd33d15cb93bf143970208 Mon Sep 17 00:00:00 2001 From: Bruno Bernard Date: Sat, 21 Mar 2026 22:56:29 +0400 Subject: [PATCH 2/2] docs: update to v3 in docs --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 457adac..48db731 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,14 @@ This package based on the official Laravel adapter for Inertia.js [inertiajs/ine - [x] Helpers for validation errors - [x] Examples - [x] SSR -- [x] Inertia 2.0 compatibility +- [x] Inertia 3.0 compatibility ## Installation Install using `go get` command: ```shell -go get github.com/romsar/gonertia/v2 +go get github.com/romsar/gonertia/v3 ``` ## Usage @@ -46,7 +46,7 @@ import ( "log" "net/http" - inertia "github.com/romsar/gonertia" + inertia "github.com/romsar/gonertia/v3" ) func main() { @@ -169,7 +169,7 @@ props := inertia.Props{ } ``` -#### Once props ([learn more](https://inertiajs.com/docs/v2/data-props/once-props)) +#### Once props ([learn more](https://inertiajs.com/docs/v3/data-props/once-props)) Gonertia supports light version of Once props (feel free to send a pr with support of other features). @@ -417,7 +417,7 @@ import ( "log" "net/http" - inertia "github.com/romsar/gonertia/v2" + inertia "github.com/romsar/gonertia/v3" ) func main() {