Skip to content

Commit

Permalink
dataconnect: DateSerializer removed, as it is superceded by `LocalD…
Browse files Browse the repository at this point in the history
…ateSerializer` (#6513)
  • Loading branch information
dconeybe authored Nov 14, 2024
1 parent 46cf77c commit c87f103
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 84 deletions.
7 changes: 7 additions & 0 deletions firebase-dataconnect/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
* [changed] Replaced java.util.Date with
com.google.firebase.dataconnect.LocalDate.
([#6434](https://github.com/firebase/firebase-android-sdk/pull/6434))
* [changed] `DateSerializer` removed, as it is superceded by
`LocalDateSerializer`. As of Data Connect emulator version 1.7.0, the
generated Kotlin code uses `com.google.firebase.dataconnect.LocalDate`
instead of `java.util.Date`. Therefore, this version of the SDK must be
paired with code generated by version 1.7.0 (or later) of the Data Connect
emulator.
([#6513](https://github.com/firebase/firebase-android-sdk/pull/6513))

# 16.0.0-beta02
* [changed] Updated protobuf dependency to `3.25.5` to fix
Expand Down
8 changes: 0 additions & 8 deletions firebase-dataconnect/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,6 @@ package com.google.firebase.dataconnect.serializers {
field @NonNull public static final com.google.firebase.dataconnect.serializers.AnyValueSerializer INSTANCE;
}

public final class DateSerializer implements kotlinx.serialization.KSerializer<java.util.Date> {
method @NonNull public java.util.Date deserialize(@NonNull kotlinx.serialization.encoding.Decoder decoder);
method @NonNull public kotlinx.serialization.descriptors.SerialDescriptor getDescriptor();
method public void serialize(@NonNull kotlinx.serialization.encoding.Encoder encoder, @NonNull java.util.Date value);
property @NonNull public kotlinx.serialization.descriptors.SerialDescriptor descriptor;
field @NonNull public static final com.google.firebase.dataconnect.serializers.DateSerializer INSTANCE;
}

public final class LocalDateSerializer implements kotlinx.serialization.KSerializer<com.google.firebase.dataconnect.LocalDate> {
method @NonNull public com.google.firebase.dataconnect.LocalDate deserialize(@NonNull kotlinx.serialization.encoding.Decoder decoder);
method @NonNull public kotlinx.serialization.descriptors.SerialDescriptor getDescriptor();
Expand Down

This file was deleted.

0 comments on commit c87f103

Please sign in to comment.