https://docs.rs/apx_sdk/0.20.0/apx_sdk/index.html
This release comes after the recent updates to [FEP-fe34](https://mitra.social/objects/019a36da-bc58-8f2c-57b6-2b4caa967317 ) and [FEP-ef61](https://mitra.social/objects/019a5391-a71f-e71d-f7f1-5dfceaa9f34d ):
- Implemented the algorithm for determining owner of an object (ownership::get_owner).
- Updated the URI canonicalizer implementation (CanonicalUri type).
- Updated the implementation of the algorithm for computing URI origins.
Full changelog: https://codeberg.org/silverpill/mitra/src/tag/apx-v0.20.0/apx_sdk/CHANGELOG.md
FEP-fe34 update: https://codeberg.org/fediverse/fep/pulls/711
This is a follow-up to the FEP-2277 update. I added the algorithm for determining the owner of any object:
1. Run the duck typing algorithm specified in FEP-2277.
2. If the type is Link, return error.
3. If the type is neither Object nor Collection, and the object has an attributedTo property, return error.
4. If the type is Actor, return the value of the id property.
5. If the type is VerificationMethod, return the value of the controller property.
6. If the type is PublicKey, return the value of the owner property.
7. If the type is Activity, return the value of the actor property.
8. If the type is Object or Collection, return the value of the attributedTo property.
#fep_fe34
RE: https://mitra.social/objects/019a362e-7109-11ad-864a-495e4e42b12c
note187w…2gdt
