Skip to content

chore: bump openapi-generator version to v7.24.0 - #30067

Merged
jrasm91 merged 6 commits into
mainfrom
chore/v7.24.0-openapi-generator
Jul 21, 2026
Merged

chore: bump openapi-generator version to v7.24.0#30067
jrasm91 merged 6 commits into
mainfrom
chore/v7.24.0-openapi-generator

Conversation

@timonrieger

Copy link
Copy Markdown
Collaborator

based on #28916, migrating to v7.24.0 with one necessary enum migration caused by OpenAPITools/openapi-generator#24286

@immich-push-o-matic immich-push-o-matic Bot added documentation Improvements or additions to documentation 📱mobile 🖥️web 🗄️server cli Tasks related to the Immich CLI 🧠machine-learning labels Jul 20, 2026
@timonrieger
timonrieger force-pushed the chore/v7.23.0-openapi-generator branch from 131b5f1 to fa9760f Compare July 20, 2026 12:09
@timonrieger
timonrieger requested a review from agg23 as a code owner July 20, 2026 12:09
@timonrieger timonrieger added changelog:skip and removed documentation Improvements or additions to documentation 🖥️web 🗄️server cli Tasks related to the Immich CLI 🧠machine-learning labels Jul 20, 2026
@timonrieger
timonrieger force-pushed the chore/v7.24.0-openapi-generator branch from 4dc8c0a to 5e7f324 Compare July 20, 2026 12:27
@shenlong-tanwen

Copy link
Copy Markdown
Member

Native enums, Finally! Thanks for looking into this

@timonrieger
timonrieger force-pushed the chore/v7.24.0-openapi-generator branch from 5e7f324 to 00473d7 Compare July 20, 2026 12:56
@immich-push-o-matic

immich-push-o-matic Bot commented Jul 20, 2026

Copy link
Copy Markdown

📱 Android release APK (universal)351d75d7f0a8d3fe7a4c6df4bc21af37bc985ff0

Download: https://github.com/immich-app/immich/actions/runs/29750685241/artifacts/8464882669

QR code QR code

Installs as a separate app (applicationId app.alextran.immich.pr30067), so it coexists with the Play Store version and any other PR builds.

Base automatically changed from chore/v7.23.0-openapi-generator to main July 20, 2026 13:06
@timonrieger
timonrieger force-pushed the chore/v7.24.0-openapi-generator branch from 00473d7 to 356151c Compare July 20, 2026 13:41
@timonrieger
timonrieger force-pushed the chore/v7.24.0-openapi-generator branch from 356151c to 351d75d Compare July 20, 2026 14:26
@jrasm91
jrasm91 merged commit 6fa3f2f into main Jul 21, 2026
52 checks passed
@jrasm91
jrasm91 deleted the chore/v7.24.0-openapi-generator branch July 21, 2026 00:06
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 21, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 22, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 22, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 23, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 23, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 24, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Jul 25, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
ya4ept pushed a commit to ya4ept/Noodle_gallery that referenced this pull request Jul 30, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork open-noodle#743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (open-noodle#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, open-noodle#191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Deeds67 added a commit to open-noodle/gallery that referenced this pull request Aug 10, 2026
Upstream immich-app#30067 bumped the Dart generator to v7.24.0, which changes the
generated enum representation (real exhaustive Dart enums, private `_value`
exposed via toString()/toJson()) and reshapes the property-declaration block
with `{{#useFinalProperties}}final {{/useFinalProperties}}`.

- Re-derive `native_class_nullable_items_in_arrays.patch` (fork #743) against
  the v7.24.0 template: its `@@ -34,14 +34,44 @@` hunk no longer applied
  because upstream added the `final` prefix to every declaration line.
  Verified round-trip: apply -> identical to the intended template.
- The fork civil-date patch (#584) still applies cleanly; regeneration verified
  0 occurrences of `_dateFormatter.format(... .toUtc())` and the 144
  `toUtc().toIso8601String()` datetime fields unchanged. Confirmed off-UTC via
  `TZ=America/New_York flutter test test/openapi/person_update_dto_test.dart`
  (CI runners are UTC, so this regression is structurally invisible there).
- Regenerate the Dart client + TS SDK for v7.24.0.
- Fork Dart fallout from exhaustive enums / `.value` removal:
  * map `api.AssetEditAction.trim` explicitly (video trimming, #191) — it used
    to fall through the `_ => AssetEditAction.other` arm upstream deleted;
  * `SharedSpaceRole.value` / `SyncRequestType.value` -> `toString()`;
  * drop the now-unreachable `default:` arm from the SyncEntityType dispatch,
    keeping the forward-compat contract documented at the parsing layer.
- `migration_test.dart`: bind `SettingsRepository` to the test Drift instance —
  upstream immich-app#30072 made the fresh-install migration path call
  `FeatureMessageService(SettingsRepository.instance)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants