web-auth / webauthn-framework

FIDO-U2F / FIDO2 / Webauthn Framework
MIT License
403 stars 53 forks source link

Add SerializerTrait and deprecate certain methods #625

Closed Spomky closed 2 months ago

Spomky commented 2 months ago

Implemented SerializerTrait to handle serialization of objects in certain Doctrine types. Deprecated jsonSerialize method in PublicKeyCredentialDescriptorCollection, and createFromString/createFromArray methods in PublicKeyCredentialDescriptor and AttestedCredentialData. These classes and methods will be removed in the 5.0.0 release, and users should use the serializer instead.

Target branch: 4.9.x Resolves issue #