Skip to content

AdaptiveCards Schema 1.5

Compare
Choose a tag to compare
@jwoo-msft jwoo-msft released this 14 Oct 22:28
· 23 commits to release/21.09 since this release
7704807

We are excited to release Adaptive Cards v1.5!

Latest Packages

This release contains some highly requested asks from our community as well as improvements to accessibility. One of our most requested features has been support for a Table element and we are happy to support this in Adaptive Cards 1.5!

New Features

  1. RTL
  2. Input.Text Masking
  3. ActionSet Overflow
  4. Tooltip for Actions
  5. Tables
  6. Static Filtered ChoiceSet
  7. Action.isEnabled

Bug Fixes

Shared

JS

.NET

Android

iOS

XAML

Accessibility

Website

Breaking Changes

XAML

  • The classes and interfaces under AdaptiveCards.Rendering.Uwp which represent the object model of the card, parsing functionality, and all related enums have been moved to the AdaptiveCards.ObjectModel.Uwp namespace.
  • The following properties have been converted from value types to an IReference to those value types:
    • AdaptiveCards.ObjectModel.Uwp.AdaptiveImage.HorizontalAlignment
    • AdaptiveCards.ObjectModel.Uwp.AdaptiveContainer.VerticalContentAlignment
    • AdaptiveCards.ObjectModel.Uwp.AdaptiveColumn.VerticalContentAlignment
    • AdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.Size
    • AdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.Weight
    • AdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.Color
    • AdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.IsSubtle
    • AdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.FontType
    • AdaptiveCards.ObjectModel.Uwp.AdaptiveTextBlock.HorizontalAlignment
    • AdaptiveCards.ObjectModel.Uwp.AdaptiveRichTextBlock.HorizontalAlignment
  • AdaptiveCards.Rendering.Uwp.AdaptiveTextConfig class used to configure fact sets in the host config has been renamed to AdaptiveCards.Rendering.Uwp.AdaptiveFactSetTextConfig
  • AdaptiveCards.Rendering.Uwp.AdaptiveRenderContext.AddInlineShowCard has been removed.

iOS

  • ACRVerticalAlignment enum name has changed to ACRVerticalContentAlignment
  • AdaptiveCards framework has a new dependency on FluentUI framework.
  • Actions targets such as ACRAggregateTarget, ACRShowCardTarget and etc will have a new base target ACRBaseTarget and it will take the dependency on FluentUI.
  • hasStretchableView and hasPaddingView properties are removed from ACRColumnView.
  • heightType property is added to ACRColumnView.
  • ACRContentHoldingUIScrollView's properties, widthConstraintForStretch, centerXConstraintForStretch, centerYConstraintForStretch are consolidated to nonStretchConstraints and stretchConstraints
  • - (void)hideIfSubviewsAreAllHidden is removed from ACRContentStackView
  • Gesture recognizer for Action targets are changed from LongPressureGestureRecognizer to TapGestureRecognizer to differentiate the gesture for tooltip feature.
  • min supported iOS version is bumped to iOS12.1 due to FluentUI dependency.
  • Umberall header is changed from ACFramework.h to AdaptiveCards.h
  • Path to C++ and ObjectiveC++ headers are changed, add the source path in HeaderSearchPath in Xcode with recursion true.
  • $POD_SRC can be used for the C++ and ObjectiveC++ headers.

Android

  • CollectionTypeElement has been renamed to StyledCollectionElement

  • The usage of android.support libraries has been removed in favor of the newer androidx libraries

    • com.android.support:appcompat-v7:28.0.0 -> androidx.appcompat:appcompat:1.0.0
    • com.android.support.constraint:constraint-layout:1.1.3 -> androidx.constraintlayout:constraintlayout:1.1.3