Happy New Year ๐! We are super excited to bring you Konfig Changelog #9. We have made some improvements to the Docs Portal, fixed some security vulnerabilities and improved the Python SDK.
Docs Portal Support for iframesโ
We've added support for embedding an iframe
from sites such as YouTube,
allowing you to embed videos and more into your portal.
Security Fixesโ
We fixed a security vulnerability in our Python and TypeScript SDKs:
- Upgraded
aiohttp
from3.8.4
to3.9.1
in Python SDK - Upgraded
axios
from0.27.2
to1.6.4
in TypeScript SDK
Note that both these changes are backward incompatible so if you already have SDKs with Konfig, we have put these upgrades behind a feature flag so you can upgrade at your own pace.
Improved Python SDK Type Hintsโ
Type hints in Python used to only previously work in PyCharm but now they work in VSCode as well.
Check Out Our New Blog Posts!โ
We published two new blog posts:
These are always fun to write because I get to learn more about the general sentiment of technology and deepen my understanding of different technologies.
To implement search functionality in Konfig's Docs Portal, we had to solve a really interesting problem around how to implement search in a Next.js app that is statically generated. This blog post goes into detail on how we solved this problem.
Improvements and Fixes
- Stop Konfig automation workflows from running concurrently to avoid no-op PRs
- Added retry logic to automation to improve reliability in case of transient errors
- Fix request body array not being populated when navigating in Docs Portal
- Remove the "Last Commit" badge from the generated
README.md
since it was buggy and not useful - Fix broken "Documentation" link in top-level
README.md
in SDK repo - Add more documentation of each property for adding markdown pages to docs
- Support passing response as a parameter in Python SDK
- Fix Go SDK not being published due to missing command in
konfig publish
- Added rule to catch duplicate method names under a tag in OpenAPI spec
- Fix the
summary
property in OpenAPI spec causing a layout shift in the navbar - Change the icon of the parent section button from the burger menu to arrows to make it look more clickable
- Fix the iframe width in the docs portal
- For array request bodies in the docs portal, populate the first element by default to show all the documentation for the array item schema
- Update
prism
dependency forkonfig mock