Releases: microsoft/AdaptiveCards
AdaptiveCards 2020.10.1
Updated Packages
- Renderers
Renderer
This is a patch update to our recent 20.10 set of renderer artifacts with updates to our mobile renderers with a few accessibility and misc fixes around our Input Validation feature.
Android
- [Android][Accessibility] [Successful submit action puts the focus on next card/element in chat] #5018
- [Android][Accessibility] [On multiple input validation failures the card scrolls out of viewport] #5019
- [Android][Accessibility] [On input validation failure focus does not go to the first invalid input field when the first invalid field is date/time/compact choiceset] #5020
- [Android][UX] [Input validation error UX does not working with inline actions] #5021
- [Android][Accessibility] Expanded ChoiceSet elements are not reading labels #5039
- [Android][Image Rendering] Non-rendered images create app crashes #5048
iOS
- [iOS][ChoiceSet] [choice set not rendered properly for long text] #5023
- [iOS][Accessibility] [View is getting scrolled on submit validation for input.text and input.number when voice over is on] #5024
- [iOS][Custom Action] [ Can not send additional properties to action delegates in case of custom action]
#5025
Smoke Test Notes
- Automated CI/CD on
release/20.10
branch - Regression tests against:
AdaptiveCards 2020.10
Latest Packages
- Renderers
Smoke Test Notes
- Automated CI/CD on
release/20.10
branch - Regression tests against:
What's new?
Website
- [Schema] Update default schema link to use the 1.3.0 schema #4968
- [Samples][Accessibility] TextBlock wrap in Scenario cards #4991
Renderers
JavaScript
- [JS] Update renderer README #4905
- [JS] Fix complex expression parsing #4971
- [JS][Renderer] Use TextRun.selectAction.title as aria-label #4857
WPF
- [.NET] Return warning when validated inputs don't have an error message #4885
- [.NET] Don't set number input text box value to NaN #4911
Android
- [Android] Auto sized images scale to dp #4956
- [Android] Update submit validation API #4876
- [Android] Update input error visual cue rendering to support custom background drawables #4942
- [Android] Time formatting patch #4878
- [Android][UX] [Input ChoiceSet (compact) height and width squeezed] #4891
- [Android][Accessibility] Image focus, altText #4930
- [Android] Image sizing regression in several configurations #4964
- [Android][Accessibility] Add role for Containers with Actions
- [Android][ChoiceSet Input] [Choiceset input (required) rendering fails inside a container] #4994
Breaking changes
If you are a host application developer, leveraging the following APIs for input validation scenarios, please note that breaking changes regarding the custom rendering of input elements and actions have been introduced in this version. All of the APIs that were modified were introduced in the 2.0.0 release:
Old API | API in 2.3.0 | Notes |
---|---|---|
void registerInputHandler (IInputHandler, InternalId) |
void registerInputHandler (IInputHandler, RenderArgs) |
Scenario: Custom rendering input elements. Change: The use of InternalId was removed to avoid using the underlying C++ code. |
void setParentToCard (InternalId, InternalId) |
void setParentToCard (long, long) |
Scenario: Custom rendering a hidden card. Change: The use of InternalId was removed to avoid using the underlying C++ code. |
None | void registerSubmitableAction (View renderedAction, RenderArgs) |
Scenario: Custom rendering an action that must trigger validation and input retrieval. Change: By adding this method, developers can now register custom actions to trigger input validation, this allows developers to avoid input validation in actions that don't require that process. |
boolean areInputsValid (SubmitAction) |
boolean areInputsValid () |
Scenario: Input retrieval Change: As actions now register their submit-like behavior, the reference to the action is not required to retrieve the last input validation result. This also avoids making additional validations to retrieve the last validation result. |
void setSelectAction (RenderedAdaptiveCard, BaseActionElement, View, ICardActionHandler) |
void setSelectAction (RenderedAdaptiveCard, BaseActionElement, View, ICardActionHandler, RenderArgs) |
Scenario: Custom rendering containers with select actions. Change: A RenderArgs argument is added to be able to register submit actions for containers with select actions. |
iOS
- [iOS][ColumnSet Parity Issue] [Parity issue between iOS and desktop for image width in columnSet] #4918
- [iOS][Resource Resolver] Add Placeholder Image Support For Resource Resolver #4897
- [iOS][Image - repeatHorizontally] [Parity issue: iOS requires minimum height to render background image] #4832
- [iOS][Input Evolution] [input validation error messages enabled on the card sent by bot] #4907
- [iOS][input validation error] [UX issue : Input view styling on validation error] #4852
- [iOS][Issue with isVisibility] [isVisibility for an item in Container gets imposed on other items] #4920
- [iOS] Added Event Handler Registration #4943
- [iOS][Accessibility ] [Focus is not going to the first accessibility element] #4890
- [iOS] Updated accessiblity for Inputs #4951
- [iOS] Updated layout notification to include properties #4944
- [iOS] Updated custom registration for ActionSet #4965
- [iOS][Visibility false field causes spacing issues] [Element with visibility false and spacing defined causes spacing issues] #4900
- [iOS][Icon with data in buttons] [Parity: b64 encoded image data for button icons does not get rendered] #4902
- [iOS][Accessibility] [Input.Time/Date with a validation failure does not announce label and error after the submit] #4980
- [iOS][Accessibility] [Compact Style Input.ChoiceSet Doesn't Include Placeholder text during VoiceOver] #4982
UWP
- [UWP] Update multiline Input.Text controls to wrap #4916
Miscellaneous
Known Issues
AdaptiveCards 1.2.13
Latest Packages
What's new?
iOS
AdaptiveCards 2020.09
Latest Packages
- Designer 1.4.0
- Renderers
- Templating
Smoke Test Notes
- Automated CI/CD on
release/20.08
branch - Regression tests against:
What's new?
Designer
- Designer data binding error when sample data contains empty array #4734
- Adaptive Card Designer - toolbar buttons missing html type attribute #4721
- [Designer] Trap keyboard for modal dialogs #4850
- [Designer] Add help button and dialog #4849
Website
- [Site] regex property being reported as v1.0 #4728
- [Sample Cards] Text in sample cards truncated #4712
- Website: added label accessibility note to samples and schema explorer #4807
- [Website] Update hostconfig container colors in script.js file #4806
- [Sample][Accessibility] Update templated sample #4804
- Website: added label accessibility note to samples and schema explorer #4807
Renderers
JavaScript
- [Javascript][Actions] [Execute ShowCardActions programmatically] #4818
- [Javascript] TypeError: Cannot read property 'isValid' of undefined #4767
- [nodejs][Keyboard shortcut] Ctrl+Enter not working when inlineAction associated with a text.input #4575
- [JS][Renderer] Use TextRun.selectAction.title as aria-label #4857
- [JavaScript][Accessibility] Inline action img explicit role=presentation #4803
- [JS] Fix arrow keys and actionset aria #4859
WPF
- [WPF] Change TextBlock to render only when text is not empty #4799
Android
- [Android][TextBlock] Font Weights are not consumed. #4015
- [Android][Inconsistency between desktop and android] [Cards containing facts with empty title do not render] #3949
- [Android] Placeholder values of input components are not applied #4484
- [Android][inconsistency android vs web] [Columns in a column set get pushed out of the card when width set to auto] #3855
iOS
- [iOS][Rendering] Crash when "bleed" property used on outermost container #4745
- [iOS][Accessibility] ACRTextView placeholder text color too light #4672
- [iOS][Input validation] [Card UX issue : when error message is displayed on the card on button click] #4835
- [iOS][RichTextBlock Rendering] [Parity issue in RichTextBlock TextRun with action] #4531
Miscellaneous
- Input.ChoiceSet docs and placeholder updates #4810
- [MSTeams][Android/Ios] [Adaptive card input.choice set placeholder not getting displayed] #3885
- Text Blocks default to false for wrap #4483
- [iOS-Android-UWP][Parity Issue - Fact Set] [Card with empty factSet does not render on iOS but renders on other platforms] #4136
- [Desktop vs Mobile][Platform Inconsistency] TextBlock with no text property #4478
AdaptiveCards 2020.08
Latest Packages
- 🎉 Designer 1.3.0
- Renderers
- Templating
Smoke Test Notes
- Automated CI/CD on
release/20.08
branch - Regression tests against:
What's new?
Designer && Website
- [Designer] Copy Card JSON changes to include the data bound card #4579
- [Designer] Select Action is wrongly supported in version 1.0 #4595
- [Designer] Set focus on first card in card catalog when it loads #4562
- [Designer] Added landmarks and labels to the designer #4634
- [JavaScript][Accessibility] Return focus after copy #4591
- [Site][Accessibility] Reflow during resize #4660
- [Site] Generate tree markup for Schema Explorer #4608
Renderers
JavaScript
- [JavaScript] Automatic tooltip for selectAction title #4699
- [JS] Add keyboard invocation for media elements #4577
- [JavaScript] Spurious warning regarding height property #4563
- [JavaScript] toJSON() in 2.1.0 sets incorrect version (1.3) when another (1.2) is specified #4620
.NET
- .NET WPF doesn't render a simple card #2569
Android
- Updated tests
- [Android] Custom typeface support #3328
- [Android][Rendering] Conflict between image size and column weight #4439
- [Android][Dev Experience] There is no BaseActionParser class for parsing properties in BaseActionElement #4509
Android && iOS Renderers
- [Mobile][Usability] [Chevron no reset issue in Action.ShowCards ] #4548
UWP
- [UWP] Null pointer check on outparam in column fallback case #4627
- Misc. Perf improvements
- Async image crash fix
Shared model
- [Shared/UWP] InputNecessityIndicators enum and property on AdaptiveCard #4622
Templating
.NET
- [Templating] Adaptive Cards pre-built functions are not working within $data construct #4574
JavaScript
- [JS][Templating] "$when" should not be emitted in expanded template #4692
Miscellaneous
Known Issues
- [Sample Cards] Text in sample cards truncated #4712
AdaptiveCards 1.2.12
This is a patch release with only bug fixes and no new features included. Please see details below.
Latest Packages
- 🎉 Android 1.2.12
- 🎉 iOS 1.2.12
- Fix for "[Mobile][Usability] [Chevron no reset issue in Action.ShowCards ]" #4548
Smoke Test Notes
- Automated CI/CD on release/1.2 branch
- Regression tests against:
AdaptiveCards 2020.07
Renderer
🎉Announcing AdaptiveCards schema version 1.3 with support for InputValidation and Labels.:tada:
- Please update to Renderer versions 2.0.0 and higher to avail new features and lots of bug fixes and refactoring's over the past year since our last major refresh (1.2).
- 🎉.NET WPF Latest Version 2.0.0
- 🎉.Android Latest Version 2.0.0
- 🎉iOS Latest Version 2.0.0
- 🎉JS Latest Version 2.1.0
- 🎉UWP Latest Version 2.0.0
New Features:
Breaking Changes:
- This release introduces a change in the behavior of the interaction between Submit actions and ShowCard actions. Previously, all inputs in all parts of the card would be gathered when a submit action is pressed. Going forward, inputs will gathered only if they are on the same card as the Action.Submit, or on any parent cards of the card containing the Action.Submit in the case of a card under an Action.ShowCard. Inputs will not be submitted if they are on a card that is a child or sibling show card of the card containing the Action.Submit. This includes cards from Action.ShowCards in ActionSets in the body of that card. For more information see the input validation documentation here.
- [.NET WPF] Input.ChoiceSet incorrectly defaults to "expanded"
- [UWP][Fallback Requirements] Change requirements handling from a function to a property
Smoke Test Notes
- Automated CI/CD on release/20.07 branch
- Regression tests against:
Known issues
- [Android][Regression] [The Sizes of Images in ImageSet in Food Order May Be Different] #4519
- [Android] Input.Number will fail validation if an empty value is supplied #4544
Other Notable Bug Fixes
- [JavaScript][Deregistering a property from the parser/render]
- [UWP] Unnecessary string copying
- [UWP] non-latin characters breaks markdown on UWP renderer
Templating
This is a non-breaking release for our existing .NET + JS templating SDK's.
Notable Bug Fixes:
- [.NET][Templating] [Unable to render only the template]
- [.NET][AdaptiveCards.AdaptiveSerializationException] [AdaptiveCard.FromJson failed when isVisible attribute using a bool variable from an object]
- [JS]data binding to boolean expression fails
- [JS]data binding to $index fails
Website (adaptivecards.io)
- Refreshed for 1.3 schema changes
- Sample updates
- Miscellaneous Accessibility fixes
Designer
This is a non-breaking release with some ongoing improvements.
Notable Bug Fixes:
AdaptiveCards v1.2.11
This is a patch release with only bug fixes and no new features included. Please see details below.
New Bug Fixes!
Android Renderer:
- [Android] Text with markdown is broken in most of the components
- [Android][Image Rendering] - Parallel calling of IResourceResolver
- [Android][Image Rendering] - Rendered image inside card are down scaled via ResourceResolver
iOS Renderer:
- [iOS][Image Rendering] Cards are too long when added Image via ResourceResolver
- [iOS-Android-Web][ImageSet Rendering] [No parity in rendering of images in imageSet for various imageSizes]
UWP Renderer:
Smoke Test Notes
- Please see each issue above and linked PRs "How Verified" sections for individual regression tests.
- Automated CI/CD on release/1.2 branch
- Regression tests against:
AdaptiveCards 2020.06
Templating
We are now announcing the GeneralAvailability(GA) release, v1.0.0, of our Templating SDK's for both JS + .NET
Website (adaptivecards.io)
There's a few accessibility bug fixes that we've made for the website in general and the designer in particular. Listing key ones below:
- Update default hostconfigs for color contrast
- [JS] Express action sets as collections
- [JS] Fix aria accessibility for media element
- [JS] Add aria-expanded state to showcard action button
- [JS] Prevent factsets from presenting as tables for accessibility
Designer
- Designer fixes
- [Designer] Change icon and error background colors for contrast
- [Designer] Add aria attributes to dropdown controls
Renderer
JS 2.0
Miscellaneous renderer fixes:
AdaptiveCards v1.2.10
This is a patch release with only bug fixes and no new features included. Please see details below.
New Bug Fixes!
Android Renderer Fixes:
- [Android][Input.Choice] Spacing within Input.Choice sets not rendered.
- [Android][Render Problem] [Buttons Disappear after clicking an Action.OpenUrl]
- [Adaptive Cards / Platform Discrepancy] Excess spacing in empty text blocks
- [Mobile][Usability] [No Chevron on Action.ShowCards]
- [Mobile][Markdown support] [Markdown with the * does not work on mobile renderers]
iOS Renderer Fixes:
- [iOS][InputField - Keyboard] [Japanese keyboard is not working properly with ACRTextField input field]
- [iOS][ColumnSet] [Auto and stretch columns have the same behaviour]
- [Ios] [Adaptive Cards Input Toggle(CheckBox) display issue in Iphone]
- [Adaptive Cards / Platform Discrepancy] Excess spacing in empty text blocks
- [iOS][Font color - Input Fields] [Font color in ACRTextView gets overwritten]
- [Mobile][Usability] [No Chevron on Action.ShowCards]
- [Mobile][Markdown support] [Markdown with the * does not work on mobile renderers]
- [iOS][Rendering] Crash occurs when ColumnSet has
height: stretch
- [IOS][Layout] [When put submit button on the right column of the card, it could be cut off]