Skip to content

Releases: microsoft/AdaptiveCards

AdaptiveCards v1.2.0

01 Jun 01:07
Compare
Choose a tag to compare

New features:

  1. Element-level fallback support
  2. Full bleed background images/containers
  3. Action.ToggleVisibility
  4. More Container styles to match Textblock styles
  5. Better inline text formatting
  6. TextBlock inline Actions
  7. Base64 encode image into URI (Data URIs)
  8. Input.Text with associated action (Quick-Reply)
  9. TextBlock font styles
  10. Action sentiment (primary / destructive)
  11. Place actions anywhere in the card (ActionSet)
  12. Stretch and Repeat for Background Images
  13. MinHeight Property on Containers
  14. Wrap property on ChoiceSet/Toggle

Breaking Changes:

  1. UWP SDK: Background images in UWP are now of type 'object' and not 'string'
  2. WPF Renderer: WPF Input.ChoiceSet now correctly defaults to "compact" as documented
  3. TS Renderer:
    a. Removed speak property from every element. Now only available on root AdaptiveCard element.
    b. Removed renderSpeech() method throughout
    c. Removed CardElement.validate() and Action.validate() methods. Custom elements and actions should now override the internalValidateProperties() method. See README.md for more details.
  4. Introducing FontTypes: The fontFamily, FontSizes and FontWeights are now not recommended. Instead use the 'fontTypes' property in hostConfig and populate the default/monospace types.
  5. Android Renderer:
    a. The AdaptiveCardRenderer.render method was changed to replace the ElementParserRegistration parameter for a ParseContext parameter which includes the ElementParserRegistration and the ActionParserRegistration objects
    b. The render method in BaseCardElementRenderer was changed to include the RenderedAdaptiveCard parameter and ContainerStyle was changed for a RenderArgs where the ContainerStyle is now contained

Notable Bug Fixes:

.NET

Android

iOS

JS

UWP

ios-v1.2.0

31 May 22:02
Compare
Choose a tag to compare
tag for ios release

Announcing release v1.2.0-beta1

29 Mar 19:50
d4a57d5
Compare
Choose a tag to compare
Pre-release

coming soon

iOS release v1.1

09 Oct 00:11
4ada160
Compare
Choose a tag to compare

iOS v1.1 release

ios-v1.1.0-beta1

10 Jul 17:23
8ebf57a
Compare
Choose a tag to compare
* allowed variable number of lines in ChoiceSet (#1687)

* updated intrinsic content size calculation logic for InputView

* updated toggle switch style

* added ACRDateTextField

* fixes line clipping issue of toggle switch

* added explicit column width for iOS (#1672)

* updated priority for FactSet title (#1670)

* changed toggle view to UISwitch (#1631)

* added multiline input and enforced input limit for TextView and TextField (#1643)

* implemented placeholder text in multiline input 

* added support for custom background image loader (#1642)

* fixed url loading sync issue for actions

* removed hard coded image icon placement

* added vertical scroll support (#1650)

* fixed extra spacing issue in UICollectionView (#1628)

* added explicit image size iOS (#1374)

* fixed separator issue (#1629)

* added support for handling cases where compact style lacking defaults (#1627)

* compact style choice set "make choice" row reflects user choice (#1596)

* updated showcard rendering position (#1600)

* allowed column with numeric width value to stretch (#1595)

* removed spacing for the first item

* iOS custom styling support via XIB (#1474)

* added vertical stretch support (#1584)

Anouncing release v1.0.3

12 Jun 22:58
d9dabae
Compare
Choose a tag to compare

iOS

  • Added ability to scroll when there are more buttons than viewing area (#1581)
  • Added additional headers to public lis in framework. (#1562)
  • Only render text on iOS if markdown is present
  • render syncronously (#1547)
  • hugging priority for UILabel (#1527)
  • fixed showcard not closing (#1544)
  • image portrait mode fix when auto size used (#1520)
  • corrected "auto" and "stretch" behavior of column width (#1510)
  • show only one showcard at a time (#1503)
  • fixed view not loading when background image load fails (#1504)
  • changed ImageSetUICollectionView to use custom Image renderer when it's (#1497)
  • fixes default value not captured when user select no input (#1488)

Anouncing release v1.0.2

25 May 06:34
d1bd29a
Compare
Choose a tag to compare

d1bd29a Remove untrustable fix for fact set wrapping issue (#1505) (#1506)
133f37e Fix to time preparsing returning invalid value (#1494) (#1501)
87be3d2 factset fix (#1484) (#1502)
7c265b0 Fix build break caused by bad merge (taking an extra line from 1.1 feature)
999d0d7 Update ios build version
af1ead6 Update Android build version to 1.0.2
3b2d6f4 ios text clipping fix (#1477)
e422706 Fix double button rendering (#1475)
b94e4e5 updated sample app to use didLoadElements delegate (#1473)
e941b49 share shared model's c++ header (#1445)
42e0271 fixes adding newline char issue in the text (#1465)
3cc71a8 Fix Button spacing issues and add horizontal scroll view in case actions orientation is horizontal (#1452)
1383df4 [Android] Add horizontal scroll bar for horizontal layout actions (#1471)
7bf87c9 showcard to call delegate (#1458)
2bc5d0d fix for #1419 (#1444)
693bf07 Missing changes from code review feedback for FactSets (#1417)
42d9168 Improve FactSet behavior in .NET/UWP/Android/iOS renderers (#1388)
21722f4 Fixing crash where no item in RadioGroup is selected (#1406)
e0250f4 Updating the swig file to include vector and running swig (#1405)
feb4efd Do not call render at viewDidLoad (#1379)
2155554 [Android] Updating our gradle version names/codes, rename app, and add logo (#1372)

Announcing v1.0.1

05 Apr 02:07
f4099ad
Compare
Choose a tag to compare
  • Adding support for precompiled headers for UWP projects (#1231)
  • Move inline ShowCards out of the card padding (#1275)
  • fixes issue 1239 (#1240)
  • Include tests directory in test app and fix bug for unknown elements
  • returns UIView by default (#1242)
  • image size fix (#1264)
  • fixes image set issues (#1251) (#1262)
  • fixes crash when default hostconfig is used (#1308)
  • [iOS] Fix Input not passing down to new cards shown (#1259)
  • return adaptive card with intrinsic content height (#1313)
  • updates placement of showcard view (#1315)
  • Add HasKey check before LookingUp values in ResouceDictionaryMap (#1251)
  • Allowing empty items in Column and adding check in Android renderer f…
  • Fixing issue where url may not be encoded (#1249)
  • Check the supporstInteractivity option in the host config before rend…
  • Fix ignore of font family in UWP and Android (#1310)
  • Respect maxImageHeight from image set host config. (#1302)
  • Removal of HSTRING variables inside UWP renderer (#1248)
  • .net 1.0 final changes (#1234)
  • Fix .NET codesign build (#1235)
  • Update README.md
  • Move inline ShowCards out of the card padding (#1275)
  • Updating the version of the Android maven package in readme.
  • Fixing typo in iOS Readme

Announcing v1.0

07 Mar 15:27
59e2f9b
Compare
Choose a tag to compare

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

AdaptiveCards v1.0-beta.1

29 Sep 12:45
Compare
Choose a tag to compare

For release notes, check out the release announcement