github delucis/astro-embed astro-embed@0.4.0

latest releases: @astro-community/astro-embed-youtube@0.5.9, @astro-community/astro-embed-bluesky@0.1.5, @astro-community/astro-embed-baseline-status@0.2.1...
2 years ago

Minor Changes

  • #46 3494d64 Thanks @delucis! - Switch to more basic Twitter component that does not require authentication

    ⚠️ BREAKING CHANGE Due to upheaval at Twitter, the <Tweet /> component is no longer able to fetch detailed information from Twitter’s API, limiting what a static embed can easily do.

    Key differences:

    • The <Tweet /> component must now receive a full URL to a tweet, not just an ID. You will need to update these if you have any:

      - <Tweet id="1511750228428435457" />
      + <Tweet id="https://twitter.com/astrodotbuild/status/1511750228428435457" />
    • The rendered component is more minimal: no avatar for the tweet author; no header containing author name and handle; images and video are not expanded, only showing as links

    • The CSS class name on the resulting HTML is now twitter-tweet instead of tweet-card and none of the internal class names like tweet-author, tweet-header etc. are available. If you set any custom CSS to control appearance, this will likely need updating.

    • Authentication is no longer required. If you previously configured a SECRET_TWITTER_TOKEN environment variable, you can safely remove it from your project.

Patch Changes

  • Updated dependencies [3494d64]:
    • @astro-community/astro-embed-integration@0.4.0
    • @astro-community/astro-embed-twitter@0.4.0

Don't miss a new astro-embed release

NewReleases is sending notifications on new releases.