Skip to content

@mollyd26 mollyd26 released this Mar 7, 2018 · 514 commits to master since this release

We are excited to announce the release of Adaptive Cards 1.0! 🎉

Adaptive Cards 1.0

NOTE: These are BREAKING CHANGES from v1.0 - Beta

Many of these changes do have back-compat support in existing renderers, but as clients upgrade to v1.0 through the end of the year we will start to see less support for the v1.0-Beta.

Schema Changes

UWP

  • None

.NET

Android

  • Package rename from com.microsoft.adaptivecards to io.adaptivecards
  • AdaptiveCardRenderer.Render now returns a RenderedAdaptiveCardObject that contains the original card, the generated view, a collection of warnings, and a way to gather user input.
  • AdaptiveCardRenderer.Render arguments has changed. Takes in an instance of a ICardActionHandler instead of IShowCardActionHandler and an ISubmitActionHandler
  • ActionRendererRegistration has been removed. All actions are rendered in one way and once invoked, the onAction method provided by the caller gets invoked.
  • onAction gets invoked with the BaseActionElement and the RenderedAdaptiveCardObject.
  • AdaptiveCards.DeserializeFromString returns a ParseResult object that contains the AdaptiveCard object and a list of ParseWarnings

iOS

  • Actions (events) are passed directly to clients for handling via didFetchUserResponse(ACOAdatpiveCard *)card action:(ACOBaseActionElement *)action delegate. Input can be examined by sending message inputs to the card.

SDKs

Platform Install Build Docs
HTML Client npm install Source Docs
.NET Model Nuget install Source Docs
.NET WPF Nuget install Source Docs
.NET HTML Nuget install Source Docs
Windows UWP Nuget install Source Docs
Android Maven Central Source Docs
iOS CocoaPods Source Docs

Special Thanks

A huge thanks for the following people (and many others) that got us here!

@dclaux
@riarenas
@RebeccaAnne
@nesalang
@eschavez
@danmarshall
@anbare
@Clancey
@QingpingMeng
@bekao
@EricDahlvang
@tongyliu
@almedina-ms
@yeohan
@zhusongm
@mrbrennonwilliams

Assets 3
You can’t perform that action at this time.