Releases: dennis6p/adaptive-cards-py
adaptive-cards-py-v0.2.3
What's Changed
Full Changelog: 0.2.2...0.2.3
adaptive-cards-py-v0.2.2
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
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
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 #28
- Add further checks to validation by @dennis6p in #29
- Add testing to CI by @dennis6p in #30
Full Changelog: 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
Full Changelog: 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
Full Changelog: 0.1.0...0.1.1
adaptive-cards-py-v.0.1.0
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
Full Changelog: 0.0.11...0.1.0
adaptive-cards-py-v.0.0.11
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
Full Changelog: 0.0.10...0.0.11
adaptive-cards-py-v0.0.10
Merge pull request #20 from dennis6p/fix/update-version-in-workflow Update version in pyproject.toml