Skip to content

chore: release master#179

Open
gibahjoe wants to merge 1 commit intomasterfrom
release-please--branches--master
Open

chore: release master#179
gibahjoe wants to merge 1 commit intomasterfrom
release-please--branches--master

Conversation

@gibahjoe
Copy link
Copy Markdown
Owner

@gibahjoe gibahjoe commented Mar 7, 2025

🤖 I have created a release beep boop

6.2.0

6.2.0 (2026-02-19)

Features

  • generator: add cleanOutputDirectory flag (#19) (e12f1a1)

Bug Fixes

  • add support for remote specs without extensions. Closes #176 (c08164d)
  • command: simplify argument wrapping for fvm wrapper (1f4da4a)
  • Enhance OpenAPI generator with new features and improvements (a0a2594)
  • generator: prepend 'flutter' to fvm args and use runInShell: true (#129) (99ad2a1)
  • generator: prevent AssetId crash for spec paths outside package root (0df1fc0), closes #198
  • generator: use runInShell and auto-create outputDirectory (#164) (e651c09)
  • Notify build_runner of dependency on inputSpec (#187) (b4c15ee)
  • Remove deprecated skipIfSpecIsUnchanged and skipSpecDepMessage (#193) (bc06852)
  • update build_test dependency version to >=2.0.0 <4.0.0 in pubspec files (5747abf)
  • update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)
  • updated analyzer and source_gen dependencies (7b2b4b7), closes #192
6.2.0

6.2.0 (2026-02-19)

Features

  • Added support for pubPublishTo (da522d6)
  • generator: add cleanOutputDirectory flag (#19) (e12f1a1)

Bug Fixes

  • Enhance OpenAPI generator with new features and improvements (a0a2594)
  • Remove deprecated skipIfSpecIsUnchanged and skipSpecDepMessage (#193) (bc06852)
  • Update deprecation message for skipSpecDepMessage and improve link in bug report template (0892b56)
  • update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)
  • updated analyzer and source_gen dependencies (7b2b4b7), closes #192
6.1.1

6.1.1 (2026-02-19)

Bug Fixes

  • update README for clarity and formatting; adjust generator arguments and caching logic (2c85976)

This PR was generated with Release Please. See documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.03%. Comparing base (ff2cf31) to head (dfd7ed6).
⚠️ Report is 31 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #179      +/-   ##
==========================================
+ Coverage   84.95%   86.03%   +1.07%     
==========================================
  Files          11       10       -1     
  Lines         884      809      -75     
==========================================
- Hits          751      696      -55     
+ Misses        133      113      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gibahjoe gibahjoe force-pushed the release-please--branches--master branch from 9678c92 to b35d2c9 Compare June 10, 2025 22:47
@gibahjoe gibahjoe force-pushed the release-please--branches--master branch from b35d2c9 to 7e00eee Compare June 10, 2025 23:32
@SkytAsul
Copy link
Copy Markdown

SkytAsul commented Jul 14, 2025

Would be nice to have this release... released :)
The currently downloaded version of the openapi generator JAR (7.9.0) is outdated and has problems that prevent me from properly using the generated Dart code. It is fixed in master, but I cannot use it unless you release the update...

@quyenlv-unicloud
Copy link
Copy Markdown

@SkytAsul you can simple change version in openapi_generator_config.json?

@gibahjoe but new version also needed for new flutter. because analyzer < 7.0 version, it warning on 3.32 and can not pub get on 3.35

@gibahjoe gibahjoe force-pushed the release-please--branches--master branch 2 times, most recently from 8399a40 to c6edb01 Compare September 30, 2025 02:14
@gibahjoe
Copy link
Copy Markdown
Owner Author

@SkytAsul

you can update the jar version in openapi_generator_config.json to any version you want.

@gibahjoe
Copy link
Copy Markdown
Owner Author

@quyenlv-unicloud

Please use git dependency on master/main branch. I have pushed an update to the versions. I need to clean up some deprecated code and also add/test a couple of breaking changes before pushing to pub.dev but i have not had the time.

@gibahjoe gibahjoe force-pushed the release-please--branches--master branch from c6edb01 to 151c61e Compare September 30, 2025 02:26
@philitell
Copy link
Copy Markdown

philitell commented Oct 2, 2025

@gibahjoe How can i reference to master-branch?
I'm using:

  openapi_generator:
    git:
      url: https://github.com/gibahjoe/openapi-generator-dart.git

but when i run "flutter pub get" i get this error:

[ishap-b1300] flutter pub get --no-example
Resolving dependencies...
Error on line 1, column 7: "name" field doesn't match expected name "openapi_generator".
  ╷
1 │ name: openapi_generator_dart
  │       ^^^^^^^^^^^^^^^^^^^^^^
  ╵
Failed to update packages.
exit code 65

@quyenlv-unicloud
Copy link
Copy Markdown

quyenlv-unicloud commented Oct 2, 2025

  openapi_generator:
    git:
      url: https://github.com/gibahjoe/openapi-generator-dart.git
      path: openapi-generator
      ref: 5747abf64ce56896f4837984f240e50140aad6d2

but better way, you can simple split generator into sub-package then it can use different flutter version, not releated anything to main project, main project just depend on output package

@gibahjoe gibahjoe force-pushed the release-please--branches--master branch 3 times, most recently from 6145a86 to 387f337 Compare October 2, 2025 20:41
@gibahjoe
Copy link
Copy Markdown
Owner Author

gibahjoe commented Oct 2, 2025

Sorry for the delay everyone. The main branch is now stable and the example app builds fine again.
It took a while to work through the breaking changes in analyzer and source_gen, but things are back on track.

I will spend the next few days testing in live projects before tagging a release. There is still some deprecated code to clean up.
I really tried to avoid making this a major release, but the changes in analyzer and source_gen ended up being unavoidable, so this will be a major release with breaking changes.

In the meantime, you can use this branch with a dependency_override as shown here.
Make sure you use the right ref or, if you want to live dangerously, no ref at all 🙂

@philitell
Copy link
Copy Markdown

philitell commented Oct 3, 2025

@gibahjoe When i use (with and without ref)

dev_dependencies:  
  openapi_generator:
    git:
      url: https://github.com/gibahjoe/openapi-generator-dart.git
      path: openapi_generator
      ref: 5747abf64ce56896f4837984f240e50140aad6d2

I get this error when running pub get:

Could not find a file named "openapi_generator/pubspec.yaml" in https://github.com/gibahjoe/openapi-generator-dart.git 5747abf64ce56896f4837984f240e50140aad6d2.

@jim-fx
Copy link
Copy Markdown

jim-fx commented Oct 3, 2025

It should be:

dev_dependencies:  
  openapi_generator:
    git:
      url: https://github.com/gibahjoe/openapi-generator-dart.git
      path: openapi-generator
      ref: 5747abf64ce56896f4837984f240e50140aad6d2

There is a dash - in openapi-generator not a _

@polczak-itt
Copy link
Copy Markdown

Hoping for the 7.0.0 release soon-ish!

We prefer to wait for the stable release, but it will really help once it's out, since due to conflicting dependencies (source_gen version) it's blocking our migration to freezed 3

@gibahjoe gibahjoe force-pushed the release-please--branches--master branch 2 times, most recently from 8aac8ba to 0d0fadb Compare October 30, 2025 22:26
@gibahjoe gibahjoe force-pushed the release-please--branches--master branch 4 times, most recently from 24f6e1f to 7d9ae70 Compare February 19, 2026 12:40
@gibahjoe gibahjoe force-pushed the release-please--branches--master branch from 7d9ae70 to 4308716 Compare February 19, 2026 13:23
@gibahjoe gibahjoe force-pushed the release-please--branches--master branch from 4308716 to dfd7ed6 Compare February 19, 2026 14:05
@inusedname
Copy link
Copy Markdown

inusedname commented Mar 25, 2026

@gibahjoe I crash into this, could you help me what is the problem?

  1. Current configuration:
    openapi_generator_annotations: ^6.1.0
    openapi_generator:
    git:
    url: https://github.com/gibahjoe/openapi-generator-dart.git
    ref: master
    path: openapi-generator

  2. Error:

lib/src/data/swagger/iam_swagger_gen.dart openapi_generator
W >>>>> fvm flutter pub run build_runner build --delete-conflicting-outputs
W ===> args [generate, -o=generated/employee, -i=lib/src/data/swagger/employee_swagger.json, -g=dart-dio,
--import-mappings=BaseResponse=package:abc_core/abc_core.dart,
--additional-properties=allowUnicodeIdentifiers=false,ensureUniqueParams=true,useEnumExtension=true,enumUnknownDefaultCase=fal
se,prependFormOrBodyParameters=false,pubName=generated_employee,legacyDiscriminatorBehavior=true,sortModelPropertiesByRequired
Flag=true,sortParamsByRequiredFlag=true,wrapper=fvm,serializationLibrary=json_serializable]
E Failed to generate content.

Could not complete source generation Failed to generate source code. Build Command output: Failed to update packages.
#0 OpenapiGenerator.runSourceGen (package:openapi_generator/src/openapi_generator_runner.dart:421:34)

#1 OpenapiGenerator.generateSources.
(package:openapi_generator/src/openapi_generator_runner.dart:365:7)

I have added this log: print('>>>>> ${command.executable} ${command.arguments.join(' ')}');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

7 participants