v0.16.3
This is a small release with some minor fixes. However, we're cutting it early in preparation for a follow-up release that will be compatible with a newer Compose version.
Important
Planning to upgrade? Review instructions in the README.
-
Fixed an issue with Markdown code generating incorrect output when links contained inline code formatting
- For example, this used to break:
[see `ExampleClass` docs for more information](https://mysite.com/docs/exampleclass)
- For example, this used to break:
-
Breakpoint types refactored to be more sensible
- so you can now do e.g.
Modifier.setWidth(Breakpoints.MD)
- so you can now do e.g.
-
Added new
PageContext
parameters for convenience.- For a URL
https://mysite.com/a/b/c?id=123#fragment
- ctx.origin:
https://mysite.com
- ctx.pathQueryAndFragment:
/a/b/c?id=123#fragment
- ctx.origin:
- These were values you could query JS's
window.location
property for, but they fit nicely insidePageContext
as well for easy access.
- For a URL
Full Changelog: v0.16.2...v0.16.3