Adaptive-cards-py

Latest version: v0.2.5

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

0.2.2

What's Changed
* Add missing type hints to items property of Column by dennis6p in https://github.com/dennis6p/adaptive-cards-py/pull/36
* Feature/cleaup readme an code by dennis6p in https://github.com/dennis6p/adaptive-cards-py/pull/37


**Full Changelog**: https://github.com/dennis6p/adaptive-cards-py/compare/0.2.1...0.2.2

0.2.1

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
* Add missing field `type` to payload by dennis6p in https://github.com/dennis6p/adaptive-cards-py/pull/32


**Full Changelog**: https://github.com/dennis6p/adaptive-cards-py/compare/0.2.0...0.2.1

0.2.0

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
* Describe size limitation and add further info by dennis6p in https://github.com/dennis6p/adaptive-cards-py/pull/28
* Add further checks to validation by dennis6p in https://github.com/dennis6p/adaptive-cards-py/pull/29
* Add testing to CI by dennis6p in https://github.com/dennis6p/adaptive-cards-py/pull/30


**Full Changelog**: https://github.com/dennis6p/adaptive-cards-py/compare/0.1.2...0.2.0

0.1.2

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 https://github.com/dennis6p/adaptive-cards-py/pull/27


**Full Changelog**: https://github.com/dennis6p/adaptive-cards-py/compare/0.1.1...0.1.2

0.1.1

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 https://github.com/dennis6p/adaptive-cards-py/pull/25


**Full Changelog**: https://github.com/dennis6p/adaptive-cards-py/compare/0.1.0...0.1.1

0.1.0

For the pre-release version the following features are included:
1. Parsing json strings into AdaptiveCard objects
2. Rendering AdaptiveCard objects into native views

Page 9 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.