Photos macOS 11.3 to 12.0 API Differences

PHAsset.h
Added PHAsset.adjustmentFormatIdentifier
PHCloudIdentifier.h
Added PHCloudIdentifierMapping
Added PHCloudIdentifierMapping.cloudIdentifier
Added PHCloudIdentifierMapping.error
Added PHLocalIdentifierMapping
Added PHLocalIdentifierMapping.localIdentifier
Added PHLocalIdentifierMapping.error
Added -[PHPhotoLibrary localIdentifierMappingsForCloudIdentifiers:]
Added -[PHPhotoLibrary cloudIdentifierMappingsForLocalIdentifiers:]
Modified PHCloudIdentifier
Protocols
FromNSSecureCoding
ToNSCopying, NSSecureCoding

Modified PHCloudIdentifier.notFoundIdentifier
AvailabilityReplacement
FromAvailablenone
ToDeprecatedCheck for PHPhotosErrorIdentifierNotFound in PHCloudIdentifierMapping.error

Modified -[PHPhotoLibrary localIdentifiersForCloudIdentifiers:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated-localIdentifierMappingsForCloudIdentifiers:

Modified -[PHPhotoLibrary cloudIdentifiersForLocalIdentifiers:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated-cloudIdentifierMappingsForLocalIdentifiers:

Modified PHLocalIdentifierNotFound
AvailabilityReplacement
FromAvailablenone
ToDeprecatedCheck for PHPhotosErrorIdentifierNotFound in PHLocalIdentifierMapping.error

PHError.h
Added PHLocalIdentifiersErrorKey
Added PHPhotosErrorInternalError
Added PHPhotosErrorIdentifierNotFound
Added PHPhotosErrorMultipleIdentifiersFound
Added PHPhotosErrorChangeNotSupported
Added PHPhotosErrorOperationInterrupted
Added PHPhotosErrorInvalidResource
Added PHPhotosErrorMissingResource
Added PHPhotosErrorNotEnoughSpace
Added PHPhotosErrorRequestNotSupportedForAsset
Added PHPhotosErrorAccessRestricted
Added PHPhotosErrorAccessUserDenied
Modified PHPhotosErrorInvalid
AvailabilityReplacement
FromAvailablenone
ToDeprecatedPHPhotosErrorInternalError

PhotosTypes.h
Added PHAssetCollectionSubtypeSmartAlbumRAW