Skip to content

Releases: coinbase/onchainkit

v0.7.0

18 Feb 22:44
e0d88d7
Compare
Choose a tag to compare

Minor Changes

  • 26f6fd5: - feat: Updated FrameMetadataType to support target for button post and post_redirect actions. By @HashWarlock @Zizzamia #130 #136

    Note:
    In this release we update the FrameMetadataType so that it supports the latest Handling Clicks Frames specification.

    If the button clicked is a post or post_redirect, apps must:

    1. Construct a Frame Signature Packet.
    2. POST the packet to fc:frame:button:$idx:target if present
    3. POST the packet to fc:frame:post_url if target was not present.
    4. POST the packet to or the frame's embed URL if neither target nor action were present.
    5. Wait at least 5 seconds for a response from the frame server.

v0.6.2

18 Feb 08:17
f6d077f
Compare
Choose a tag to compare

Patch Changes

v0.6.1

10 Feb 07:27
2c101e8
Compare
Choose a tag to compare

Patch Changes

  • feat: automated the og:image and og:title properties for getFrameHtmlResponse and FrameMetadata. By @Zizzamia #109 c5ee76d

v0.6.0

09 Feb 19:28
d541937
Compare
Choose a tag to compare

Minor Changes

BREAKING CHANGES

For modern apps that utilize ES2020 or the latest version, breaking changes are not anticipated. However, if you encounter any building issues when using OnchainKit with older apps that rely on ES6, please open an issue and provide details of the error you're experiencing. We will do our best to provide the necessary support.

v0.5.4

09 Feb 08:02
7f06a9a
Compare
Choose a tag to compare

Patch Changes

  • bf014fd: - feat: exported FrameButtonMetadata, FrameInputMetadata and FrameImageMetadata types. By @Zizzamia #111
    • feat: introduced support for image aspect ratio metadata, ensuring backward compatibility. Image metadata can now be defined either as a string (with a default aspect ratio of 1.91:1) or as an object with a src URL string and an aspect ratio of either 1.91:1 or 1:1. By @taycaldwell #110

v0.5.3

08 Feb 22:09
52669db
Compare
Choose a tag to compare

Patch Changes

  • feat: all FrameMetadataType parameters have been updated to use consistent lowerCamelCase. It's important to note that we are not deprecating the old method, at least for a few weeks, to allow time for migration to the new approach. By @Zizzamia #106 f2cf7b6
  • feat: while there is no real issue in using either property or name as the standard for a metadata element, it is fair to respect the Open Graph specification, which originally uses property. By @Zizzamia #106

v0.5.2

07 Feb 23:34
146c645
Compare
Choose a tag to compare

Patch Changes

  • fix: <FrameMetadata> component when used with Helmet. To ensure smooth functionality when used with Helmet as a wrapper component, it is crucial to flatten the Buttons loop. By @Zizzamia #99 cefcfa8
  • feat: added Avatar component, to our Identity Kit. The Avatar component primarily focuses on showcasing ENS avatar for given Ethereum addresses, and defaults to a default SVG avatar when an ENS avatar isn't available. By @alvaroraminelli #69

v0.5.1

07 Feb 01:46
d12472c
Compare
Choose a tag to compare

Patch Changes

  • feat: added option for mint action on a Frame. By @Zizzamia #93
  • feat: added option for simple static links when creating a Frame. By @Zizzamia #93
  • feat: added wrapper prop to <FrameMetadata /> component, that defaults to React.Fragment when not passed (original behavior). By @syntag #90 #91
  • feat: exported FrameMetadataResponse type which can be useful when using getFrameMetadata in a TS project. By @syntag #90

v0.5.0

06 Feb 01:48
90b3f48
Compare
Choose a tag to compare

Minor Changes

  • fix: ensured that the <FrameMetadata> component uses the name property instead of the property property to set the type of metadata. Both options are technically correct, but historically, using name is more accurate. By @Zizzamia dc6f33d

  • feat: renamed the component from OnchainName to Name in our Identity Kit. This is a breaking changes. The purpose of the rename is to simplify and enhance clarity. By @alvaroraminelli #86

    BREAKING CHANGES

    To enhance usability and intuitiveness, the component name has been simplified. OnchainName is now renamed to Name.

    Before

    import { OnchainName } from '@coinbase/onchainkit';
    
    ...
    <OnchainName address="0x1234">

    After

    import { Name } from '@coinbase/onchainkit';
    
    ...
    <Name address="0x1234">

v0.4.5

04 Feb 06:53
8647690
Compare
Choose a tag to compare

Patch Changes

  • 6f9dd77: - feat: exported FrameMetadataType.