github microsoft/AdaptiveCards 2020.10
AdaptiveCards 2020.10

latest releases: adaptivecards@3.03, uwp-v4.0.0, adaptivecards@3.0.2...
3 years ago

Latest Packages

Smoke Test Notes

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

  • [Android][Inconsistency] [Column Width Stretch] #4960
  • [Android][Column Rendering] Long text makes column with image not show up at all #4988
  • [Android][Rendering] Images in column take too much height space #4989

Don't miss a new AdaptiveCards release

NewReleases is sending notifications on new releases.