atproto 0.13.2 atproto: ^0.13.2 copied to clipboard
The most famous and powerful Dart/Flutter library for AT Protocol.
Release Note #
v0.13.2 #
- Expose
JwtExtension
.
v0.13.1 #
- Retry if a DPoP nonce error occurs during the execution of
OAuthClient.refresh
. - Add
restoreOAuthSession
function.
v0.13.0 #
- Expose
atproto_oauth
package. - Add
.fromOAuthSession
constructor onATProto
. - Rename
AuthToken
toJwt
.- Change type of
scope
from enum toString
- Rename
subject
tosub
- Rename
expiresAt
toexp
- Rename
issuedAt
toiat
- Change type of
- Rename extended getters on
Session
- From
accessToken
toaccessTokenJwt
- From
refreshToken
torefreshTokenJwt
- From
v0.12.8 #
- Bump
atproto_core
. - Add
service
parameter onATProto.get
andATProto.post
. (#1783) - Add
exp
andlxm
parameters onServerService.getServiceAuth
.
v0.12.7 #
- Fixed a bug that prevented
RepoService.deleteRecord
from working.
v0.12.6 #
- Bump
atproto_core
.
v0.12.5 #
- Expose
.atprotoPdsEndpoint
from as an extension ofSession
. You can get specific pds endpoint based on did document.
v0.12.4 #
- Expose
.accessToken
and.refreshToken
as an extension fromSession
.
v0.12.3 #
- Change the type
.collection
property fromString
toNSID
onAtUri
. You need to do.collection.toString()
when you want a string of collection. (#1551) - The package was refactored as follows.
package:bluesky/atproto.dart
=> atproto featurespackage:bluesky/core.dart
=> core features
v0.12.2 #
- The
service
is automatically resolved from the DID Document of the givenSession
. (#1543)- If no authentication is performed and no
Session
is passed, the defaultbsky.social
is used. - If the user passes a specific
service
, it always respects the value of the user'sservice
. - If something wrong happens for some reason, it uses
bsky.social
as default.
- If no authentication is performed and no
v0.12.1 #
- Fixed a bug that prevented toJson on freezed objects from
atproto_core
.
v0.12.0 #
- Add
.active
and.status
properties onSession
andCurrentSession
objects. (#1516) - Move
BlobConverter
,Blob
,BlobRef
fromatproto
package toatproto_core
. - Add
.active
and.status
properties onRepo
object. (#1517) - Add
.getRepoStatus
method onSyncService
. (#1517) - Applied naming convention based on lexicons on following objects.
SubscribedRepoCommit
->Commit
SubscribedRepoIdentity
->Identity
SubscribedRepoHandle
->Handle
SubscribedRepoMigrate
->Migrate
SubscribedRepoTombstone
->Tombstone
SubscribedRepoInfo
->Info
Account
->CreateAccountOutput
- Add
account
event onSyncService.subscribeRepos
. (#1517)
v0.11.15 #
- Don't include Auth headers in
.headers
.
v0.11.14 #
- Bump
atproto_core
. Add auth scopecom.atproto.appPassPrivileged
. (#1501) - Add
.headers
property. Returns the merged headers with global headers and auth header.
v0.11.13 #
- Removed deprecated methods from following services.
IdentityService
LabelService
RepoService
ServerService
SyncService
- Add
headers
parameters on GET endpoints. You can specify additional headers.
v0.11.12 #
- Add
privileged
input and property onServerService.createAppPassword
,AppPassword
. (#1494)
v0.11.11 #
- Removed
lex_annotation
. - Removed deprecated properties on
ATProto
object.
v0.11.10 #
v0.11.8 #
- Supported Labeler Service's objects. (#1316)
LabelValue
LabelValueDefinition
LabelValueDefinitionStrings
- Added properties on
Label
object.ver
exp
sig
- Added
.contact
property on output ofServerService.describeServer
.
v0.11.6 #
- Removed temp endpoints from
TempService
..importRepo
.pushBlob
.transferAccount
- Added
did
property onServerInfo
object. Returned fromServerService.describeServer
. (#1279) - Added
.getServiceAuth
onServerService
. (#1280) - Added
.deactivateAccount
onServerService
. (#1278) - Added
.activateAccount
onServerService
. (#1276) - Added
.checkAccountStatus
onServerService
. (#1277) - Added
.listMissingBlobs
onRepoService
. (#1275) - Added
.importRepo
onRepoService
. (#1274) - Added
.submitPlcOperation
onIdentityService
. (#1273) - Added
.signPlcOperation
onIdentityService
. (#1272) - Added
.getRecommendedDidCredentials
onIdentityService
. (#1270) - Added
.requestPlcOperationSignature
onIdentityService
. (#1271) - Bump SDK constraint to '^3.3.0'.
- Supported
identity
event on.subscribeRepos
. (#1289)
v0.11.5 #
- Added
TempService
. You can use it likeatproto.temp
. (#1238).checkSignupQueue
.importRepo
.pushBlob
.requestPhoneVerification
.transferAccount
v0.11.4 #
- Improved redundant error messages. Now it shows like
GET https://bsky.social/xrpc/com.atproto.identity.resolveHandle 400 Error: Params must have the property "handle"
. (#1253) - Exposed
.service
and.relayService
properties onATProto
. (#1254) - BugFix: Made sure to check if the subscribeRepos blocks can be decoded. (#1239)
- Added
plcOp
param onServerService.createAccount
. (#969)
v0.11.3 #
- Added
.get
and.post
methods onATProto
object. (#1217) - Added
atproto/lex_namespaces
package. You can use these constants for.get
and.post
methods.
v0.11.0 #
- Change the method name of each service to Lexicon's ID. Existing methods have been deprecated and should be replaced according to the deprecation message. (#1127)
v0.10.1 #
- Add
rkey
on.createRecord
.
v0.10.0 #
- Upgraded
atproto_core
. (#1112) - Optimized internal process. (#1114)
- Removed
streamService
and addedrelayService
instead. Defaults tobsky.network
. (#1116) - Renamed name of service objects. (#1118)
IdentitiesService
toIdentityService
LabelsService
toLabelService
RepositoriesService
toRepoService
ServersService
toServerService
- Deprecated property names on
ATProto
. (#1118).servers
: Use.server
instead.identities
: Use.identity
instead.repositories
: Use.repo
instead.labels
: Use.label
instead
v0.8.1 #
- Upgraded
atproto_core
. (#999) - Fixed a bug that service names were not specified correctly when using stream endpoints.
- Added
.streamService
property onATProto
. Defaults tobsky.network
.
v0.7.2 #
- Supported
com.atproto.labels.queryLabels
andLabelsService
. (#265) - Supported
com.atproto.labels.subscribeLabels
onLabelsService
. (#340) - Added
.deleteSession
function. (#963) - Supported
com.atproto.server.reserveSigningKey
onServersService
. (#953).createSigningKey
- Added
didDoc
field onSession
andAccount
objects. (#968)
v0.7.1 #
v0.7.0 #
- Added
rev
onRepo
object. (#885) - Removed deprecated methods and object.
.refreshSession
: Use function version instead..findRepoCheckout
.findRepoCheckoutAsJson
.findRepoHead
.findRepoHeadAsJson
v0.6.9 #
- Added
isEmailConfirmed
field onCurrentSession
. (#857) - Supported
com.atproto.server.requestEmailUpdate
onServersService
. (#859)requestEmailUpdate
- Supported
com.atproto.server.requestEmailConfirmation
onServersService
. (#858)requestEmailConfirmation
- Supported
com.atproto.server.confirmEmail
onServersService
. (#855)requestEmailConfirmation
- Supported
com.atproto.server.updateEmail
onServersService
. (#860)updateEmail
v0.6.8 #
- Upgraded
xrpc
package. Fixed field names for rate limit.
v0.6.6 #
- Added
.accessToken
and.refreshToken
properties onSession
object. You can get decoded token objects based on JWT tokens. Also you can decode JWT token withdecodeJwt
function. (#787)
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!