Releases: oxyno-zeta/golang-graphql-example
Releases · oxyno-zeta/golang-graphql-example
v3.42.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.41.0_to_v3.42.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.41.0_to_v3.42.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.41.0_to_v3.42.0.patch
- Apply patch with command:
git apply --reject patch_v3.41.0_to_v3.42.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
mise install
- Remove patch file
v3.41.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.40.0_to_v3.41.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.40.0_to_v3.41.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.40.0_to_v3.41.0.patch
- Apply patch with command:
git apply --reject patch_v3.40.0_to_v3.41.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
mise upgrade
- Remove patch file
v3.40.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.39.0_to_v3.40.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.39.0_to_v3.40.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.39.0_to_v3.40.0.patch
- Apply patch with command:
git apply --reject patch_v3.39.0_to_v3.40.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
mise upgrade
- Remove patch file
v3.39.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.38.0_to_v3.39.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.38.0_to_v3.39.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.38.0_to_v3.39.0.patch
- Apply patch with command:
git apply --reject patch_v3.38.0_to_v3.39.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
mise upgrade
- Remove patch file
3.38.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.37.0_to_v3.38.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.37.0_to_v3.38.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.37.0_to_v3.38.0.patch
- Apply patch with command:
git apply --reject patch_v3.37.0_to_v3.38.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
mise upgrade
- Remove patch file
v3.37.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.36.0_to_v3.37.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.36.0_to_v3.37.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.36.0_to_v3.37.0.patch
- Apply patch with command:
git apply --reject patch_v3.36.0_to_v3.37.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
mise upgrade
- Remove patch file
v3.36.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.35.0_to_v3.36.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.35.0_to_v3.36.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.35.0_to_v3.36.0.patch
- Apply patch with command:
git apply --reject patch_v3.35.0_to_v3.36.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
mise upgrade
- Remove patch file
v3.35.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.34.0_to_v3.35.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.34.0_to_v3.35.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.34.0_to_v3.35.0.patch
- Apply patch with command:
git apply --reject patch_v3.34.0_to_v3.35.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
mise upgrade
- Remove patch file
v3.34.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.33.0_to_v3.34.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.33.0_to_v3.34.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.33.0_to_v3.34.0.patch
- Apply patch with command:
git apply --reject patch_v3.33.0_to_v3.34.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
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3
- Replace
'@mui/material/Grid'
by'@mui/material/Grid2'
in all frontend files - Replace
Grid item
byGrid
in all frontend files - Run
npx @mui/codemod@latest v6.0.0/grid-v2-props src/**/*
- Regenerate GraphQL, build and lint
make code/graphql
make code/generate
make code/fieldalignment
make code/lint
go mod tidy
yarn
yarn dedupe
yarn
yarn lint
yarn test:update
- Remove patch file
v3.33.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.32.0_to_v3.33.0.patch
- If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.32.0_to_v3.33.0.patch
- If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.32.0_to_v3.33.0.patch
- Apply patch with command:
git apply --reject patch_v3.32.0_to_v3.33.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
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1
go install github.com/99designs/[email protected]
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/[email protected]
- Regenerate GraphQL, build and lint
make code/graphql
make code/generate
make code/fieldalignment
make code/lint
go mod tidy
yarn
yarn dedupe
yarn
yarn lint
yarn test:update
- Remove patch file