Releases: dennis6p/adaptive-cards-py
adaptive-cards-py-v0.3.0
What's Changed
-
Replace
dataclasses
withpydantic
library -
Introduce update methods for
items
andactions
-
Clean up documentation
-
Add more tests and examples
-
Use
uv
for package management -
Clean up package structure + add new update functionality by @dennis6p in #45
Full Changelog: 0.2.5...0.3.0
adaptive-cards-py-v0.2.5
What's Changed
- Added missing attributes to inputs by @alin-timu in #44
New Contributors
- @alin-timu made their first contribution in #44
Full Changelog: 0.2.4...0.2.5
adaptive-cards-py-v0.2.4
What's Changed
- fix: Typing of TableRow.cells by @gfringeli in #42
New Contributors
- @gfringeli made their first contribution in #42
Full Changelog: 0.2.3...0.2.4
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