Skip to content

Releases: oxyno-zeta/golang-graphql-example

v3.32.0

08 Apr 19:40
593967d
Compare
Choose a tag to compare

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.31.0_to_v3.32.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.31.0_to_v3.32.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.31.0_to_v3.32.0.patch
  • Apply patch with command:
git apply --reject patch_v3.31.0_to_v3.32.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.57.2
go install github.com/99designs/gqlgen@v0.17.45
go install go.uber.org/mock/mockgen@v0.4.0
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@v0.19.0
  • Regenerate GraphQL, build and lint
make code/graphql
make code/generate
make code/lint
yarn install
yarn dedupe
yarn install
yarn lint
yarn test:update
  • Type
go mod tidy
  • Remove patch file

v3.31.0

12 Feb 06:57
20a57a3
Compare
Choose a tag to compare

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.30.0_to_v3.31.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.30.0_to_v3.31.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.30.0_to_v3.31.0.patch
  • Apply patch with command:
git apply --reject patch_v3.30.0_to_v3.31.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.56.1
  • Regenerate GraphQL, build and lint
make code/graphql
make code/generate
make code/lint
yarn install
yarn dedupe
yarn install
yarn lint
yarn test:update
  • Type
go mod tidy
  • Remove patch file

v3.30.0

31 Dec 14:14
5200c50
Compare
Choose a tag to compare

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.29.0_to_v3.30.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.29.0_to_v3.30.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.29.0_to_v3.30.0.patch
  • Apply patch with command:
git apply --reject patch_v3.29.0_to_v3.30.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 go.uber.org/mock/mockgen@v0.4.0
go install github.com/99designs/gqlgen@v0.17.42
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@v0.16.1
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
  • Regenerate GraphQL, build and lint
make code/fieldalignment
make code/graphql
make code/generate
make code/lint
yarn install
yarn dedupe
yarn install
yarn lint
yarn test:update
  • Type
go mod tidy
  • Remove patch file

v3.29.0

22 Oct 20:46
61e6c80
Compare
Choose a tag to compare

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.28.0_to_v3.29.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.28.0_to_v3.29.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.28.0_to_v3.29.0.patch
  • Apply patch with command:
git apply --reject patch_v3.28.0_to_v3.29.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.39
  • Regenerate GraphQL, build and lint
make code/graphql
make code/lint
yarn install
yarn dedupe
yarn install
yarn lint
  • Type
go mod tidy
  • Remove patch file

v3.28.0

26 Sep 21:04
9ad31a5
Compare
Choose a tag to compare

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.27.0_to_v3.28.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.27.0_to_v3.28.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.27.0_to_v3.28.0.patch
  • Apply patch with command:
git apply --reject patch_v3.27.0_to_v3.28.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.38
go install go.uber.org/mock/mockgen@v0.3.0
go install gotest.tools/gotestsum@v1.11.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
  • Regenerate GraphQL, build and lint
echo **/mocks | xargs rm -Rf
make code/generate
make code/graphql
make code/lint
rm yarn.lock
yarn install
yarn lint
yarn build
  • Replace all github.com/golang/mock by go.uber.org/mock
  • Type
go mod tidy
  • Remove patch file

v3.27.0

05 Aug 17:17
00c29df
Compare
Choose a tag to compare

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.26.0_to_v3.27.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.26.0_to_v3.27.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.26.0_to_v3.27.0.patch
  • Apply patch with command:
git apply --reject patch_v3.26.0_to_v3.27.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.36
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3
  • Regenerate GraphQL, build and lint
make code/graphql
make code/lint
rm -Rf node_modules .yarn/cache .yarn/install-state.gz yarn.lock
yarn
yarn lint
yarn build
  • Remove patch file

v3.26.0

07 Jun 21:13
a06562d
Compare
Choose a tag to compare

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.25.1_to_v3.26.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.25.1_to_v3.26.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.25.1_to_v3.26.0.patch
  • Apply patch with command:
git apply --reject patch_v3.25.1_to_v3.26.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.31
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2
  • Regenerate GraphQL
make code/graphql
make code/lint
  • Remove patch file

v3.25.1

04 May 06:18
20b2bcf
Compare
Choose a tag to compare

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.25.0_to_v3.25.1.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.25.0_to_v3.25.1.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.25.0_to_v3.25.1.patch
  • Apply patch with command:
git apply --reject patch_v3.25.0_to_v3.25.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.25.0

01 May 20:04
eb9c113
Compare
Choose a tag to compare

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.24.0_to_v3.25.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.24.0_to_v3.25.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.24.0_to_v3.25.0.patch
  • Apply patch with command:
git apply --reject patch_v3.24.0_to_v3.25.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.29
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2
  • Regenerate GraphQL
make code/graphql
make code/fieldalignment
make code/lint
  • Remove patch file

v3.24.0

21 Mar 22:27
6f51e26
Compare
Choose a tag to compare

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