AdaptiveCards Schema 1.5
We are excited to release Adaptive Cards v1.5!
Latest Packages
- 🎉.NET Templating 1.2.2
- 🎉XAML Object Model 1.0.0
- 🎉XAML 3.0.0
- 🎉JavaScript 2.10.0
- 🎉React 1.0.0
- 🎉Android 2.8.0
- 🎉iOS 2.8.1
- 🎉iOS 2.8.1 SPM Commit Hash: 9607681
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
- RTL
- Input.Text Masking
- ActionSet Overflow
- Tooltip for Actions
- Tables
- Static Filtered ChoiceSet
- 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 theAdaptiveCards.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 toAdaptiveCards.Rendering.Uwp.AdaptiveFactSetTextConfig
AdaptiveCards.Rendering.Uwp.AdaptiveRenderContext.AddInlineShowCard
has been removed.
iOS
ACRVerticalAlignment
enum name has changed toACRVerticalContentAlignment
- AdaptiveCards framework has a new dependency on FluentUI framework.
- Actions targets such as
ACRAggregateTarget
,ACRShowCardTarget
and etc will have a new base targetACRBaseTarget
and it will take the dependency on FluentUI. hasStretchableView
andhasPaddingView
properties
are removed fromACRColumnView
.heightType
property
is added toACRColumnView
.ACRContentHoldingUIScrollView
'sproperties
,widthConstraintForStretch
,centerXConstraintForStretch
,centerYConstraintForStretch
are consolidated tononStretchConstraints
andstretchConstraints
- (void)hideIfSubviewsAreAllHidden
is removed fromACRContentStackView
- Gesture recognizer for Action targets are changed from
LongPressureGestureRecognizer
toTapGestureRecognizer
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 recursiontrue
. - $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