atproto 0.6.5
atproto: ^0.6.5 copied to clipboard
The most famous and powerful Dart/Flutter library for AT Protocol.
Release Note #
v0.6.5 #
- Improved union type to always return Unknown type if conversion to a specific type fails. With this fix, an exception/error is no longer thrown when converting json to a specific type for union. (#775)
v0.6.4 #
- Exposed
Platform
enum. (#709) - Added
isValidAppPassword
function. (#713) - Removed fully deprecated endpoint on
SyncService
. (#716)findRepoCommitPaths
findRepoCommitPathsAsJson
- Deprecated endpoint on
SyncService
. (#717)findRepoCheckout
findRepoCheckoutAsJson
findRepoHead
findRepoHeadAsJson
- Removed and added optional params on
.findRepoCommits
and.findRepoCommitsAsJson
onSyncService
. (#718)- Removed
earliestCommitCid
latestCommitCid
- Added
sinceCommitCid
- Removed
- Removed fully deprecated
rebaseRepo
method onRepositoriesService
. - Added
findLatestCommit
method onSyncService
. Use it instead offindRepoHead
. (#720) - Added params on
SubscribedRepoCommit
object. (#719)rev
since
(nullable)
v0.6.3 #
- Moved
Session
object andcreateSession
function toatproto_core
. And exposedrefreshSession
as a function. Also deprecatedServersService.refreshSession
method. (#686)
v0.6.2 #
v0.6.1 #
- Exposed freezed union objects. You can use them for pattern matching. (#600)
labels.dart
ULabelsSelLabels
ULabelsUnknown
report_subject.dart
UReportSubjectRepoRef
UReportSubjectStrongRef
UReportSubjectUnknown
subscribed_repo.dart
USubscribedRepoCommit
USubscribedRepoHandle
USubscribedRepoMigrate
USubscribedRepoTombstone
USubscribedRepoInfo
USubscribedRepoUnknown
batch_action.dart
UBatchActionCreate
UBatchActionUpdate
UBatchActionDelete
v0.6.0 #
- Drop support for null unsafe Dart, bump SDK constraint to '^3.0.0'. (#599)
- Dart3 modifier applied.
v0.5.8 #
v0.5.4 #
- Upgraded
atproto_core
. Fixed minor things.
v0.5.3 #
- Removed deprecated properties. This is a property that was planned to be turned off in
v0.6.0
, so there are no breaking changes.
v0.5.2 #
- A method to retrieve response data as JSON from endpoints that perform GET communication has been added. These processes do not convert to a specific model object, thus improving performance. (#563)
IdentitiesService
findDIDAsJson
RepositoriesService
findRecordAsJson
findRecordsAsJson
findRepoInfoAsJson
ServersService
findCurrentSessionAsJson
findInviteCodesAsJson
findAppPasswordsAsJson
findServerInfoAsJson
SyncService
findRepoCommitsAsJson
findRepoCommitPathsAsJson
findRepoBlocksAsJson
findRepoCheckoutAsJson
findRepoHeadAsJson
findRecordAsJson
findReposAsJson
v0.5.1 #
- Supported
com.atproto.server.describeServer
asfindServerInfo
inServersService
. (#260) - Supported
com.atproto.server.createInviteCodes
ascreateInviteCodes
inServersService
. (#258) identifier
increateSession
is now required.- Fixed to throw
UnsupportedError
when an anonymous user tries to access an endpoint that requires authentication. (#564)
v0.5.0 #
v0.4.0 #
- Supported
com.atproto.sync.getRepo
asfindRepoCommits
inSyncService
. (#313) - Changed default timeout from 10 seconds to 30 seconds.
- Supported
com.atproto.sync.getCommitPath
asfindRepoCommitPaths
inSyncService
. (#310) - Supported
com.atproto.sync.getBlocks
asfindRepoBlocks
inSyncService
. (#308) - Supported
com.atproto.sync.getCheckout
asfindRepoCheckout
inSyncService
. (#309) - Supported
com.atproto.sync.getHead
asfindRepoHead
inSyncService
. (#311) - Supported
com.atproto.sync.getRecord
asfindRecord
inSyncService
. (#312) - Supported
com.atproto.repo.listRecords
asfindRecords
inRepositoriesService
. (#305) - Supported
com.atproto.repo.rebaseRepo
asrebaseRepo
inRepositoriesService
. (#509) - Supported
com.atproto.sync.listRepos
asfindRepos
inSyncService
. (#315) - Renamed object from
Repo
toRepoInfo
returned fromfindRepoInfo
inRepositoriesService
. - Renamed
RecordValue
toRecord
. And nowcreateRecord
andupdateRecord
returnsStrongRef
. (#511) - Removed
BlobContext
andLegacyBlob
. Blobs in the old format were modified to be converted to the new format. (#514)
v0.3.4 #
v0.3.1 #
v0.3.0 #
- Fixed type from
StrongRef
toRecord
ofupdateRecord
inRepositoriesService
. - Updated SDK to
">=2.17.0 <4.0.0"
. (#406)
v0.2.13 #
- Supported
com.atproto.repo.applyWrites
asupdateBulk
inRepositoriesService
. Also added following utilities. (#306)createRecords
updateRecords
deleteRecords
- Added
toStrongRef()
method inRecord
andRecordValue
. Be sure to check withhasStrongRef
orhasNotStrongRef
when you usetoStrongRef()
fromRecordValue
, becausecid
inRecordValue
is nullable. (#367)
v0.2.12 #
- Added
unknown
fields for union types. The AT Protocol allows some endpoints to create records of types not officially supported. In such cases, theunknown
field is used to store the raw JSON for a safe and user-choice implementation. (#350)
v0.2.11 #
- Removed
did
parameter fromfindRecord
inRepositoriesService
.
v0.2.9 #
v0.2.7 #
v0.2.6 #
- Supported
com.atproto.server.createAccount
. (#256) - Supported
com.atproto.server.createInviteCode
. (#257) - Added
protocol
option. Defaults toHTTPS
. (#269) - Supported
com.atproto.server.deleteAccount
. (#259) - Supported
com.atproto.server.requestDeleteAccount
. (#273) - Supported
com.atproto.server.requestPasswordReset
. (#263) - Supported
com.atproto.server.updatePassword
. (#264) - Supported
com.atproto.server.createAppPassword
. (#277) - Supported
com.atproto.server.deleteAppPassword
. (#279) - Supported
com.atproto.server.listAppPasswords
. (#278) - Supported
com.atproto.server.getAccountInviteCodes
. (#261)
v0.2.4 #
v0.2.3 #
- Fixed lexicon method id from
com.atproto.handle
tocom.atproto.identity
.
v0.2.2 #
- Merged official refactoring. (#52)
- Renamed
SessionService
toServersService
- Renamed
handle
parameter increateSession
toidentifier
- Removed parameter
collection
fromRepositoriesService.deleteRecord
- Renamed
v0.2.1 #
v0.2.0 #
v0.1.1 #
v0.1.0 #
- Refactored structures. (#70)
- Moved
Empty
toatproto_core
- Moved
ATProtoResponse
toatproto_core
- Moved
ATProtoRequest
toatproto_core
- Moved
v0.0.4 #
- Fixed typo from
awtToken
toaccessJwt
.
v0.0.3 #
- Added
RepositoriesService
.createRecord
destroyRecord
v0.0.2 #
- Fixed links.
v0.0.1 #
- First Release!