chore: Update Serverpod and prepare the release (#117)

This commit is contained in:
Marcelo Mendonça Soares 2026-09-04 22:10:53 -03:00 • committed by GitHub
commit 2a6d66c79e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 358 additions and 323 deletions

View file

@ -10,7 +10,6 @@
// ignore_for_file: invalid_use_of_internal_member
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:serverpod/serverpod.dart' as _is;
import 'package:serverpod_offline_sync/serverpod_offline_sync.dart'
as _icw2tu00;

View file

@ -8,9 +8,9 @@
// ignore_for_file: type_literal_in_constant_pattern
// ignore_for_file: use_super_parameters
// ignore_for_file: invalid_use_of_internal_member
// ignore_for_file: dead_code, no_leading_underscores_for_library_prefixes
// ignore_for_file: unnecessary_type_check
// ignore_for_file: dead_code, unnecessary_type_check
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:serverpod/protocol.dart' as _isp;
import 'package:serverpod/serverpod.dart' as _is;
import 'package:serverpod_offline_sync/serverpod_offline_sync.dart'
@ -64,7 +64,7 @@ class Protocol extends _is.DatabaseSerializationManager {
'className': dataClassName,
'data': data,
});
} on FormatException catch (_) {
} on _is.DeserializationClassNameNotFoundException catch (_) {
// If the className is not recognized (e.g., older client receiving
// data with a new subtype), fall back to deserializing without the
// className, using the expected type T.
@ -129,7 +129,7 @@ class Protocol extends _is.DatabaseSerializationManager {
}
try {
return _icw2tu00.Protocol().deserializeByClassName(data);
} on FormatException catch (_) {}
} on _is.DeserializationClassNameNotFoundException catch (_) {}
if (dataClassName.startsWith('serverpod.')) {
data['className'] = dataClassName.substring(10);
return _isp.Protocol().deserializeByClassName(data);
@ -190,7 +190,7 @@ class Protocol extends _is.DatabaseSerializationManager {
for (final protocol in _hostProtocols) {
try {
return protocol.deserializeByClassName(value);
} on FormatException catch (_) {}
} on _is.DeserializationClassNameNotFoundException catch (_) {}
}
}
return deserializeByClassName(value);