-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@atproto/api v0.14.0 release notes #307
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is GREAT. Thanks for writing this up!
I think we could use a lil recap at the bottom, a few things like "we hope this helps you build better codebases, we found a few small bugs ourselves while migrating" and migration tl;dr:
- Need to be absolutely sure of your data? use
isValid*
orvalidate*
utils - Using data from our app view? you can use
isValid
- Building lex objects for writing? Make sure you use
$Typed
when building those.
Re: 2, might be worth adding a small example of cases where isValid*
isn't enough, and you also need to type-cast the object for safe usage, like I did here. And reiterate that this is safe when using data from Bluesky's app view.
52d11a3
to
b113e01
Compare
06964ff
to
01dbb85
Compare
df2139a
to
cff9a59
Compare
cff9a59
to
9554f53
Compare
Co-authored-by: estrattonbailey <[email protected]> Co-authored-by: surfdude29 <[email protected]. github.com>
9554f53
to
707d252
Compare
No description provided.