Repository navigation
Fixes
ParserandListParserread form fields that have noAnnotatedmetadata. Before, they read only the annotated keys, so validating a plain TypedDict such as{"title": str}always failed with400 Bad Request. A key without a parser is now read as a string.- When two components use the same selector or at-rule, for example the same
@mediaquery,style.load()merges their blocks. Before, it kept only the block of the later component, so the other component silently lost its rules. A property declared by both takes the value of the later component, as in the cascade. link(rel=...)accepts the common link types, such aspreload,modulepreload,manifest,dns-prefetch,licenseandme. Before, mypy rejected valid links likelink(rel="preload", as_="font", ...).CodeBlockfills the width of its container. The page limits text to the theme's measure, which is given inch, and achof the smaller monospace font is narrower, so code blocks were narrower than the paragraphs around them.
What's Changed
- fix: Read form fields without Annotated metadata in Parser (0.5.x) by @paveldedik in #161
- fix(catalog): Let CodeBlock fill the width of its container (0.5.x) by @paveldedik in #167
- fix: Merge styles with the same selector and accept common link rel values (0.5.x) by @paveldedik in #169
Full Changelog: 0.5.21...0.5.22