Skip to content
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

feat: Support new accounts field in PreviewCard of status introduced by Mastodon 4.3.0 #1229

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

shuuji3
Copy link
Contributor

@shuuji3 shuuji3 commented Oct 21, 2024

Hello, I'm currently implementing a new author information feature in Elk (elk-zone/elk#2995) but I noticed that masto.js doesn't have new fields for that.

This PR adds new fields accounts and deprecates two fields account_name and account_url following the updated documentation.

Here's the Mastodon documentation page for the new authors field: https://docs.joinmastodon.org/entities/PreviewCard/#authors

…ced by Mastodon 4.3.0

Here's Mastodon documentation page for new `authors` field: https://docs.joinmastodon.org/entities/PreviewCard/#authors
Copy link

pkg-pr-new bot commented Oct 21, 2024

Open in Stackblitz

npm i https://pkg.pr.new/neet/masto.js/masto@1229

commit: 12b4695

@neet neet merged commit 6219c18 into neet:main Oct 21, 2024
7 checks passed
@shuuji3 shuuji3 deleted the feat/support-preview-card-authors-field branch October 21, 2024 12:20
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.

2 participants