- Docker image: removed deprecated automatic activation of --mathjax. Pass '--math mathjax' to continue using mathjax, or '--math' to use KaTeX (see below).
- RACK_ENV is ignored, please use APP_ENV instead (@svoop).
- Add support for Mermaid diagrams (@dometto).
- Add support for downloading page sources with ?raw (@tstein).
- Add openssh client to docker images for ssh: repo support. (@jagerkin).
- Add support for mathematical typesetting using KaTeX (@dometto). Users can now choose between MathJax and KaTeX with the --math flag.
- Add support for more languages (Chinese).
- Fix (Docker image): add git configuration for
/wiki
as safe directory. #2006 - Fix: use
base_path
as set in config file.
- Feature: allow for overriding only specific Mustache templates/partials (@beporter)
- Feature: Add option to show browser's local time (@NikitaIvanovV)
- Improvement: presentation on mobile devises (@benjaminwil)
- Improvement: Add page context to template filter. #1603 (@tevino)
- Fix: restore normalize check on file upload (@manofstick)
- Fix mathjax on edit and create pages. #1772 (@fhchl)
- Fix utf-8 issues: #1721 #1758 #1801 (@basking2, @dometto)
- Fix an IME rendering issue. #1735 (@yy0931)
- Fix broken history button when viewing historical deleted file. (@NikitaIvanovV)
- Fix: non-ascii characters in page names are not rendered correctly in the preview tab of the "Edit" page. #1739 (@yy0931)
- Fix: anchors and header display on JRuby. #1779
- Fix bug preventing page titles from being displayed
- Fix include call to a missing asset (@benjaminwil). This caused slow first page loads on JRuby.
- Improved styling and Primer upgrade (@benjaminwil)
- Add redirect to rename commit (@ViChyavIn)
- Updated dependencies
- Bugfixes
- Guard against malicious filenames in breadcrumbs
- Bugfixes
- Add autosave feature (#1576)
- Add quick access to diff of each commit in the history
This is a major new release that introduces many new features, bugfixes, and removes major limitations. See here for a list of changes.
Note: due to changes to the way in which Gollum handles filenames, you may have to change some links in your wiki when migrating from gollum 4.x. See the release notes for more details. You may be find the bin/gollum-migrate-tags
script helpful to accomplish this. Also see the --lenient-tag-lookup
option for making tag lookup backwards compatible with 4.x, though note that this will decrease performance on large wikis with many tags.
Many thanks to all the users who have provided feedback, and everyone who has chipped in in the development process!
Many of these changes have been made possible by removing the default grit adapter in favour of the new rugged adapter.
- Depend on new version of gollum-lib that relies on a patched version of sanitize, which solves a vulnerability (CVE-2018-3740). See gollum/gollum-lib#296.
- Solves a vulnerability in the File view and All Pages view that would allow XSS.
- Lock to a newer version of gollum-lib to avoid installing an outdated and vulnerable dependency (nokogiri) on ruby 2.0. See gollum/gollum-lib#279. Note: this breaks semantic versioning so those using outdated rubies will discover the problem on update.
- Added file deletion functionality to file view
- Various performance improvements
- Emoji support
- Security fix for remote code execution issue. Please update!
- New features
- Drag-and-drop uploading in the editor @lucas-clemente
- Latest changes view @etienneCharignon (#707)
- Option
--no-edit
to disable editing from the web interface @bambycha (#879) - Option
--mathjax-config
to specify custom mathjax configuration @hardywu (#842)
- Major enhancements
- Made the Gollum theme responsive @rtrvrtg (#831)
- Depends on new gollum-lib
4.0.0
- Allows specifying git adapter with
--adapter
@bartkamphorst, @dometto
- Allows specifying git adapter with
- Numerous bugfixes
- NB: please pass
--h1-title
if you do not want page titles to default to the page's filepath. See here.
- NB: please pass
- Numerous security issues have been fixed. Please update to
2.4.11
-
Minor
- Add a way to configure the
#id_prefix
property of Sanitization objects. - Add web sequence diagrams support
- Support for updating wysiwyg components when markup language changes
- Support RedCarpet 2.0
- Allow ftp and irc links in wiki markup
- Minor ui fixups
- Add a way to configure the
-
Bug Fixes
- Include the language of the code snippet when making a uniquely identifiable sha of a code snippet while rendering a page.
- Pygments lexer forces utf8 encoding
- Remove MathJax, this created problems in production for us. We'll look at bringing it back in future releases
- Major Enhancements
- Allow prefixed ID attributes in headers to support internal linking (#146).
- Markdown pages are rendered through Redcarpet by default (#176).
- Minor Enhancements
- Remove Edit button on Preview pages (#164).
- Simplify Wiki#inspect and Page#inspect.
- Bug Fixes
- Fixed broken preview functionality (#157).
- Fixed sidebar/footer rendering problems related to whitespace (#145).
- Major Enhancements
- Listing of all Pages
- Support for running Gollum under a separate branch.
- Minor Enhancements
- Fix a security issue with rendering Mathjax.
-
Major Enhancements
- Major HTML/CSS/JS overhaul.
- Add Sidebars (similar to Footers).
- Add commit reverts.
-
Minor Enhancements
- Optimization in source code highlighting, resulting in a huge decrease in rendering time.
- Security fixes related to source code highlighting.
-
Major Enhancements
- Add Page sidebars, similar to Page footers.
- Add the ability to revert commits to the wiki.
- Add MediaWiki support.
-
Minor Enhancements
- Add
:sanitization
and:history_sanitization
options for customizing howSanitize.clean
modifies formatted wiki content. - Add
--config
option for the command line, to specify a ruby file that is run during startup. - Provide access to a parsed Nokogiri::DocumentFragment during markup rendering for added customization.
- Add
-
Bug Fixes
- Use
@wiki.page_class
in Gollum::Markup where appropriate (#63). - Fix parsing of Org mode file links (#87).
- Use
- Major Enhancements
- Optimize page write/update/delete to use Grit::Index::read_tree instead of manually recreating entire index contents.
- Added --irb option for the gollum command.
- Update working dir (if present) when edited via the API (#6)
- Add basic
git grep
based search for repos.
- Minor Enhancements
- Support a
:gollum_path
Sinatra setting forPrecious::App
- Add Wiki#size to efficiently count pages without loading them.
- Add the correct content type when serving files from the frontend.
- Add --host option and default it to 127.0.0.1.
- Allow anchors in page links, such as
[[Abc#header]]
. - All pages retrieved with a SHA add
rel="nofollow"
to all page links.
- Support a
- Bug Fixes
- Increase minimum Sanitize version requirement to 1.1.0. 1.0.x versions of Sanitize require Hpricot instead of Nokogiri and have bugs that may allow non-whitelisted HTML to sneak through.
- Introduce Ruby 1.9 compatibility fixes.
- Commit hashes are normalized so that missing author data is replaced with anonymous info.
- Prevent
Gollum::Wiki#write_page
from clobbering existing pages. - Handle duplicate page errors in frontend.
- Fix bugs trying to retrieve pages with invalid names.
- CGI escape page names in links and redirects.
- Bug Fixes
- Force Grit dep to 2.1 or higher.
- Open Source Birthday!