Skip to content

Conversation

knaeckeKami
Copy link
Collaborator

@knaeckeKami knaeckeKami commented Aug 24, 2025

Summary

  • Upgraded ferry_generator to support build 3.0.0 and gql_code_builder 0.15.0
  • Migrated to analyzer v2 API for compatibility with latest analyzer versions
  • Removed local dependency override for gql_code_builder

Breaking Changes

This is a breaking change that requires:

  • build ^3.0.0
  • gql_code_builder ^0.15.0
  • analyzer >=4.2.0 <8.0.0

Changes Made

  • ✅ Upgraded build from 2.4.2 to ^3.0.0
  • ✅ Upgraded gql_code_builder from ^0.14.0 to ^0.15.0
  • ✅ Upgraded build_test from ^2.0.0 to ^3.3.2
  • ✅ Migrated from analyzer v1 API (ClassElement) to v2 API (ClassElement2)
  • ✅ Updated property names: namename3, sourcelibrary2, fieldsfields2
  • ✅ Removed allocator parameter from buildVarLibrary call
  • ✅ Added format configuration support for generated files
  • ✅ Removed local dependency override for gql_code_builder

Test Plan

  • Run tests with melos test
  • Verify code generation works with test packages
  • Check that generated files compile without errors
  • Ensure backwards compatibility is properly marked as breaking

🤖 Generated with Claude Code

fixed #643

knaeckeKami and others added 3 commits August 11, 2025 00:42
….15.0

BREAKING CHANGE: Upgraded build dependency to ^3.0.0 and gql_code_builder to ^0.15.0. This includes migration to analyzer v2 API and removal of allocator parameter from buildVarLibrary.

- Upgrade build from 2.4.2 to ^3.0.0
- Upgrade gql_code_builder from ^0.14.0 to ^0.15.0
- Upgrade build_test from ^2.0.0 to ^3.3.2
- Migrate from analyzer v1 API (ClassElement) to v2 API (ClassElement2)
- Update property names: name → name3, source → library2, fields → fields2
- Remove allocator parameter from buildVarLibrary call
- Add format configuration support for generated files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Copy link

netlify bot commented Aug 24, 2025

Deploy Preview for ferry-gql ready!

Name Link
🔨 Latest commit 916908d
🔍 Latest deploy log https://app.netlify.com/projects/ferry-gql/deploys/68ab36957e136f0008ffea18
😎 Deploy Preview https://deploy-preview-646--ferry-gql.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

knaeckeKami and others added 2 commits August 24, 2025 16:48
…ackages

- Add melos scripts to dynamically detect package types
- Update CI to use new melos test command
- Fixes timeout issues with ferry_generator due to build_test 3.0.0 requirement

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@knaeckeKami knaeckeKami merged commit ea6ff80 into master Aug 24, 2025
8 checks passed
@knaeckeKami knaeckeKami deleted the feat/remove-gql-code-builder-override branch August 24, 2025 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build 3.0.0 for ferry_generator
1 participant