Skip to content

Commit 2e66443

Browse files
authored
Merge pull request #307 from x-izumin/chore/v0.6.0-guide
Add v0.6.0 migration guide
2 parents 4d40488 + c31aa3a commit 2e66443

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,25 @@
1818

1919
[![asciicast](https://asciinema.org/a/176280.png)](https://asciinema.org/a/176280)
2020

21+
## :warning: Migrate 0.5.x -> 0.6.x :warning:
22+
23+
github.com/**izumin5210**/grapi has been renamed to github.com/**x-izumin**/grapi.
24+
Additionally, github.com/izumin5210/gex undergoes the same change.
25+
Nothing other than those has been changed.
26+
27+
<details>
28+
<summary>:memo: How to migrate</summary>
29+
30+
1. Get the new versions from the new repositories
31+
- `go get -u github.com/x-izumin/[email protected]`
32+
- `go get -u github.com/x-izumin/[email protected]`
33+
2. Replace every occurrence of `izumin5210/gex` or `izumin5210/grapi` with `x-izumin/gex` or `x-izumin/grapi` in your codebase.
34+
- `gsed -i -e 's|izumin5210/gex|x-izumin/gex|g;s|izumin5210/grapi|x-izumin/grapi|g' $(find . -type f -name '*.go')`
35+
3. Tidy up
36+
- `go mod tidy`
37+
38+
</details>
39+
2140
## :warning: Migrate 0.4.x -> 0.5.x :warning:
2241
[grapiserver](https://godoc.org/github.com/izumin5210/grapi/pkg/grapiserver) will not handle os signals from v0.5.x.
2342
We recommend to use [`appctx.Global()`](https://godoc.org/github.com/srvc/appctx#Global) if you want to handle them.

0 commit comments

Comments
 (0)