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.Uwpwhich represent the object model of the card, parsing functionality, and all related enums have been moved to theAdaptiveCards.ObjectModel.Uwpnamespace. - The following properties have been converted from value types to an
IReferenceto those value types:AdaptiveCards.ObjectModel.Uwp.AdaptiveImage.HorizontalAlignmentAdaptiveCards.ObjectModel.Uwp.AdaptiveContainer.VerticalContentAlignmentAdaptiveCards.ObjectModel.Uwp.AdaptiveColumn.VerticalContentAlignmentAdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.SizeAdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.WeightAdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.ColorAdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.IsSubtleAdaptiveCards.ObjectModel.Uwp.IAdaptiveTextElement.FontTypeAdaptiveCards.ObjectModel.Uwp.AdaptiveTextBlock.HorizontalAlignmentAdaptiveCards.ObjectModel.Uwp.AdaptiveRichTextBlock.HorizontalAlignment
AdaptiveCards.Rendering.Uwp.AdaptiveTextConfigclass used to configure fact sets in the host config has been renamed toAdaptiveCards.Rendering.Uwp.AdaptiveFactSetTextConfigAdaptiveCards.Rendering.Uwp.AdaptiveRenderContext.AddInlineShowCardhas been removed.
iOS
ACRVerticalAlignmentenum name has changed toACRVerticalContentAlignment- AdaptiveCards framework has a new dependency on FluentUI framework.
- Actions targets such as
ACRAggregateTarget,ACRShowCardTargetand etc will have a new base targetACRBaseTargetand it will take the dependency on FluentUI. hasStretchableViewandhasPaddingViewpropertiesare removed fromACRColumnView.heightTypepropertyis added toACRColumnView.ACRContentHoldingUIScrollView'sproperties,widthConstraintForStretch,centerXConstraintForStretch,centerYConstraintForStretchare consolidated tononStretchConstraintsandstretchConstraints- (void)hideIfSubviewsAreAllHiddenis removed fromACRContentStackView- Gesture recognizer for Action targets are changed from
LongPressureGestureRecognizertoTapGestureRecognizerto 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
HeaderSearchPathin 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