Releases: airbnb/knowledge-repo
v0.8.3
v0.8.2
This is another minor release with a large number of improvements and bugfixes. This release is a composite of work from a large number of contributors, so thanks to everyone for chipping in!
Features and enhancements:
- Names of comment authors is now rendered using
format_name
(#406) [@danhper] - Properly render in IE compatibility mode (#419) [@dorianbrown]
- Support deployments using HTTPS for both
gunicorn
anduwsgi
(#420) [@dorianbrown] - Properly set the viewport size for mobile browsers (#422) [@wooddar]
- Support nested folders in the cluster view (#424) [@tcbegley]
- Allow configuration of
gunicorn
via standard environment variables (#437) [@john-bodley] - Redirect to original target page after logging in (#439) [@wooddar]
- Allow
knowledge_repo
to work withmarkdown
>= 3 (#453) [@naoyak]
Bugfixes and stability enhancments:
- Database connections would sometimes fail during indexing (#445) [@CPapadim]
- Knowledge Git Repositories not deployed off the
master
branch did not reindex properly (#449) [@jihonrado] - Multiple slashes would appear in OAuth
redirect_uri
(#407) [@danhper] - Correctly set the
__all__
module variable for dynamically generated imports (#417) [@BioGeek]
Miscellaneous:
v0.8.1
This is a minor release with some feature enhancements and bugfixes.
Feature enhancements:
- Flesh out header auth with support for user attributes like email, photo, etc. (#396) [@matthewwardrop]
Bugfixes:
- Bugfix related to PostProcessor kwargs (#395) [@danfrankj]
- Fix builds breaking in Windows due to
conda
changes and stricterpycodestyle
. [@matthewwardrop]
v0.8.0
This is a new feature release that includes more than a year's worth of contributions since v0.7.6. The configuration of both repositories and servers has change significantly, and Knowledge Repo administrators are recommended to review these changes as soon as possible. In particular, repository configuration from v0.7.6 and earlier is no longer compatible, and is ignored in v0.8.0+ due to security concerns. If you need to enable compatibility for this configuration during a migration, add required_tooling_version: "!v0.7.6"
to a file named .knowledge_repo_config.yml
in the root of your repository.
Features:
- Added support for custom server-side authentication (with various OAuth 2.0 providers) [@matthewwardrop, @zerogjoe]
- Error logs are now stored separately from pageviews [@matthewwardrop]
- Added support for HTML/Javascript cells (i.e. Plotly, Bokeh, etc) [@bmabey, @matthewwardrop]
- New
KnowledgePostProcessor
to handle extracting images from posts for use in a separate server for static content. [@aaronbiller] - Posts can be opened in new tab by holding Alt or Command keys while clicking the post [@matthewwardrop]
Enhancements:
- Indexing is now much more robust and can handle multiple instances connected to the same index database across multiple servers [@matthewwardrop]
- Added index database schema downgrade functionality for when this is necessary [@NiharikaRay]
- Documentation improvements, including creation of new Sphinx documentation [@matthewwardrop, @danfrankj, @mrustl, @aaronbiller]
- Added support for user icons [@matthewwardrop]
- Knowledge Post source files are now found at /src/ instead of /orig_src/ [ @matthewwardrop ]
- Improvements to web editor flow, including directly creating a proxy-post from
/create
[@danfrankj] - Various theming improvements including favicons, responsive UI, and styling [@matthewwardrop, @danfrankj]
- Added posts per author to stats [@ymwdalex]
- Allow specifying custom templates during post creation via the CLI [@jordan-wright]
Security Improvements:
- Removed two security vulnerabilities associated with arbitrary code execution from code stored in knowledge repositories on both clients and servers via knowledge repository configuration and embedded tooling. [@matthewwardrop]
And many other small bugfixes and improvements. Many thanks to everyone who contributed code and information via issues.
v0.7.6
This is the next in a series of minor updates for the v0.7.x series, and fixes several important bugs and introduces several cosmetic improvements. We also introduce formal compatibility with the Windows platform and add Windows to the list of platforms we continuously test against.
Interface improvements:
- Improvements to the rendering of the main index feed. (#218)
- Improved pagination controls (#221, #224)
- Code folding support (#232, #233) [thanks to @clabroy]
Bug fixes:
Web-editing fixes, post URL schema changes, and miscellaneous other fixes/enhancements
Indexing, Debugging and DBKnowledgeRepository improvements
This release fixes some small bugs that have been discovered since the last release:
- support for dir functionality in a DBKnowledgeRepository when specifying a subfolder as parent (fixes loading images from the repository)
- some lingering issues with indexing (such as occasional hanging)
- some cli issues caused by a recent patch to the chaining of the knowledge_repo command
- a dependency issue due to an upstream change to nbconvert
It also adds some simply debugging routes that can assist in diagnosing issues, and improves documentation.
Proxy Posts and Ports
This release is (slightly) more than a bugfix release. It two new headers:
thumbnail
that allows you to choose which image to use as the feed image. It can be a normal file or web uri, or a number (in which case the nth image from the post is chosen as the feed image).proxy
which allows you to specific a url which will be loaded into an iframe when the post is rendered. This can be helpful in gaining publicity for documents stored on external hosting services, like Google Docs Docs, Dropbox, etc.
It also supports using non-standard port numbers for git-ssh, improves search, fixes some CLI bugs and fixes batch tagging.
Improved reindexing conditions
This release fixes some small bugs related to reindexing, and some minor enhancements:
- DBKnowledgeRepository revisions were datetime objects rather than strings, breaking comparison
- Cleaned up time delta handling during the reindexing
- Added the last time the repositories were checked for updates as a tooltip when hovering over last index update time.
More reindexing and PostGres fixes
This is a minor bugfix which addresses the following issues:
- PostGres databases do not support
BLOB
datatypes, so we now use a generalisation. - Revision information for DBKnowledgeRepository instances was malformed.
- MetaKnowledgeRepository revision information was not being output in the expected form.