Skip to content

v3.47.0

Latest

Choose a tag to compare

@oxyno-zeta oxyno-zeta released this 28 Apr 05:37
· 2 commits to master since this release
7cd5833

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.46.0_to_v3.47.0.patch
  • If you have changed the project base path for the backend:
sed -i 's/backend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.46.0_to_v3.47.0.patch
  • If you have changed the project base path for the frontend:
sed -i 's/frontend\//YOUR_NEW_PROJECT_PATH/g' patch_v3.46.0_to_v3.47.0.patch
  • Apply patch with command:
git apply --reject patch_v3.46.0_to_v3.47.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
mise upgrade node@24
find src -name '*.test.tsx' -o -name '*.test.ts' | xargs sed -i \
  -e "s/jest\.fn/vi.fn/g" \
  -e "s/jest\.mock/vi.mock/g" \
  -e "s/jest\.spyOn/vi.spyOn/g" \
  -e "/^import '@testing-library\/jest-dom';$/d"
  • Remove patch file