Releases: oxyno-zeta/golang-graphql-example
Releases · oxyno-zeta/golang-graphql-example
v3.24.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.23.0_to_v3.24.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.23.0_to_v3.24.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.23.0_to_v3.24.0.patch
- Apply patch with command:
git apply --reject patch_v3.23.0_to_v3.24.0.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.23.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.22.1_to_v3.23.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.22.1_to_v3.23.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.22.1_to_v3.23.0.patch
- Apply patch with command:
git apply --reject patch_v3.22.1_to_v3.23.0.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Upgrade your tools
go install github.com/99designs/gqlgen@v0.17.25
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2
- Regenerate GraphQL
make code/graphql
- Remove patch file
v3.22.1
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.22.0_to_v3.22.1.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.22.0_to_v3.22.1.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.22.0_to_v3.22.1.patch
- Apply patch with command:
git apply --reject patch_v3.22.0_to_v3.22.1.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.22.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.21.0_to_v3.22.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.21.0_to_v3.22.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.21.0_to_v3.22.0.patch
- Apply patch with command:
git apply --reject patch_v3.21.0_to_v3.22.0.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.21.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.20.0_to_v3.21.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.20.0_to_v3.21.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.20.0_to_v3.21.0.patch
- Apply patch with command:
git apply --reject patch_v3.20.0_to_v3.21.0.patch
- Run this command:
rm -Rf backend/.run
rm -Rf .run
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Run gqlgen
make code/graphql
- Remove patch file
v3.20.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.19.0_to_v3.20.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.19.0_to_v3.20.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.19.0_to_v3.20.0.patch
- Apply patch with command:
git apply --reject patch_v3.19.0_to_v3.20.0.patch
- Run this command:
rm -Rf .github
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.19.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.18.0_to_v3.19.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.18.0_to_v3.19.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.18.0_to_v3.19.0.patch
- Apply patch with command:
git apply --reject patch_v3.18.0_to_v3.19.0.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.18.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.17.1_to_v3.18.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.17.1_to_v3.18.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.17.1_to_v3.18.0.patch
- Apply patch with command:
git apply --reject patch_v3.17.1_to_v3.18.0.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.17.1
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.17.0_to_v3.17.1.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.17.0_to_v3.17.1.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.17.0_to_v3.17.1.patch
- Apply patch with command:
git apply --reject patch_v3.17.0_to_v3.17.1.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file
v3.17.0
How to apply updates on your project ?
- Download patch at your project root
- Run this command to edit project path and name in patch
sed -i 's/github\.com\/oxyno-zeta\/golang-graphql-example/YOUR_GOLANG_MODULE_NAME/g; s/golang-graphql-example/YOUR_PROJECT_NAME/g' patch_v3.16.0_to_v3.17.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.16.0_to_v3.17.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.16.0_to_v3.17.0.patch
- Apply patch with command:
git apply --reject patch_v3.16.0_to_v3.17.0.patch
- Check if there is error applying the patch
find . -regex '.*\.rej'
- Check these errors. Apply them or not and clean
.rej
files. - Remove patch file