Skip to content

@atproto/api v0.14.0 release notes#307

Merged
matthieusieben merged 26 commits intomainfrom
msi/sdk-014-release-notes
Feb 13, 2025
Merged

@atproto/api v0.14.0 release notes#307
matthieusieben merged 26 commits intomainfrom
msi/sdk-014-release-notes

Conversation

@matthieusieben
Copy link
Copy Markdown
Contributor

No description provided.

@arcalinea arcalinea temporarily deployed to msi/sdk-014-release-notes - bsky-docs PR #307 January 10, 2025 17:14 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to msi/sdk-014-release-notes - bsky-docs PR #307 January 10, 2025 17:14 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to msi/sdk-014-release-notes - bsky-docs PR #307 January 10, 2025 17:14 — with Render Destroyed
@arcalinea arcalinea temporarily deployed to msi/sdk-014-release-notes - bsky-docs PR #307 January 10, 2025 17:16 — with Render Destroyed
Copy link
Copy Markdown
Member

@estrattonbailey estrattonbailey left a 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:

  1. Need to be absolutely sure of your data? use isValid* or validate* utils
  2. Using data from our app view? you can use isValid
  3. 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.

Co-authored-by: estrattonbailey <git@esb.lol>
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.
github.com>
@arcalinea arcalinea temporarily deployed to msi/sdk-014-release-notes - bsky-docs PR #307 February 13, 2025 16:25 — with Render Destroyed
@matthieusieben matthieusieben merged commit 3506fc9 into main Feb 13, 2025
@matthieusieben matthieusieben deleted the msi/sdk-014-release-notes branch February 13, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants