Skip to content

Releases: dennis6p/adaptive-cards-py

adaptive-cards-py-v0.2.3

18 Dec 21:02
1df0762
Compare
Choose a tag to compare

What's Changed

  • Open schema validation file in read-only mode by @dennis6p in #40

Full Changelog: 0.2.2...0.2.3

adaptive-cards-py-v0.2.2

13 Dec 15:47
9b0611e
Compare
Choose a tag to compare

What's Changed

  • Add missing type hints to items property of Column by @dennis6p in #36
  • Feature/cleaup readme an code by @dennis6p in #37

Full Changelog: 0.2.1...0.2.2

adaptive-cards-py-v0.2.1

08 Dec 16:22
649b03b
Compare
Choose a tag to compare

Description

This release only contains a small fix in the Teams client, which makes the payload created under the hood compatible to what is actually expected.

What's Changed

Full Changelog: 0.2.0...0.2.1

adaptive-cards-py-v0.2.0

01 Dec 11:26
c4e7c6e
Compare
Choose a tag to compare

Description

This release mainly addresses missing parts of the validation process. In previous releases, cards has only been checked for their comformity when it comes to the overall card version and the version of the individual elements. If they didn't match, meaning an element has been used which was not yet introduced for the respective card version, the validation failed. Now, this check is complemented by a real schema validation done with a thid-party library and the official schema files as well as a size check of the cards in reference to the target framework. When jsonified cards exceeding the size limit of the target framework, the validation fails as well. This check can also be executed separately from now on.

Please note, the API for the validation module has changed significantly.

What's Changed

Full Changelog: 0.1.2...0.2.0

0.1.2

22 Nov 17:15
b38dbf6
Compare
Choose a tag to compare

This release introduces the property msteams to the AdaptiveCard class definition and an corresponding function width(...) to interact with it. According to the official documentation, this property can be used in order to allow cards posted to MS teams to occupy the available horizontal space even though it's not an integral part of the general schema of cards. As of now, the property is ignored when set but used with other frameworks. The introduced enum MSTeamsCardWidth provides two different options, which allow to either set the property to Full or to None, which is considered as the default value.

What's Changed

  • Add property for setting full card width in MS Teams by @dennis6p in #27

Full Changelog: 0.1.1...0.1.2

0.1.1

21 Nov 19:34
f8fc4bd
Compare
Choose a tag to compare

This release contains a small fix related to exporting cards as dictionaries or json strings. One of the metadata fields ($schema) was handled in a wrong way, such that the $ has been removed unintentionally. The new release will handle this field correctly.

What's Changed

  • Fix to_dict() / to_json() export for field $schema by @dennis6p in #25

Full Changelog: 0.1.0...0.1.1

adaptive-cards-py-v.0.1.0

18 Nov 15:09
c09bd89
Compare
Choose a tag to compare

A new method has been introduced to the AdaptiveCards class, which allows to create a dictionary out of an fully initialized card object.

What's Changed

  • Fix/switch method for exporting cards as dicts by @dennis6p in #23

Full Changelog: 0.0.11...0.1.0

adaptive-cards-py-v.0.0.11

17 Nov 16:49
e7b3eab
Compare
Choose a tag to compare

This release introduces a new functionality, which allows users to not only create but also send adaptive cards.
A new TeamsClient has been implemented, which can be used to easily send previously created cards to MS Teams channels via Webhook URLs.

Other than that, a few minor issues has been addressed and the documentation was updated accordingly.

What's Changed

  • Allow sending cards to MS Teams via Webhook URLs by @dennis6p in #22

Full Changelog: 0.0.10...0.0.11

adaptive-cards-py-v0.0.10

25 Oct 07:47
ead31a5
Compare
Choose a tag to compare
Merge pull request #20 from dennis6p/fix/update-version-in-workflow

Update version in pyproject.toml