mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
6.6 KiB
6.6 KiB
Release notes
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
2.2.0
- Fix direction in code blocks (always LTR)
- Add options
chapterMarkandpageBreaksBeforefor PDF - Update code highlighting library
book.jsonaccessible asconfigin templating syntax- Add Vietnamese translation (
vi)
2.1.0
- Fix error in calcul of
levelsin table of contents, error introduced a few versions ago - Add optional
styles/print.cssto replaceprint.cssused in ebook
2.0.4
- Fix
{% raw %}, got confused with "fake" variable declarations - Fix title of language chooser
- Fix the X-UA-Compatible meta tag
- Move style sheets to the <head> section
2.0.3
- Fix
gitbook initfor SUMMARY with empty entries - Fix escaping of code blocks in markdown
2.0.2
- Fix relative links in windows
- Improve watcher in serve command (switch to chokidar)
- Add Romanian translation (
ro) - Add Finish translation (
fi) - Add Japanese translation (
jp) - Add Korean translation (
kr)
2.0.1
- Improve error logging (display file, line and column)
- Add back support for
options.originalInput - Don't process math in markdown parser (delegated to
mathjaxplugin) - Fix some cases of code blocks escaping
- Fix i18n for introduction title in json format
- Fix reload when book configuration is updated
- Fix backslashes in url when building on windows
2.0.0
- Fix page title of introduction
- Ignore codeblocks when replacing glossary terms
- Improve Unit Tests
- Fix scrolling position in website when preparing page
2.0.0-beta.5
- Fix progress order in json format
2.0.0-beta.4
- Fix default generator for use programmatically
- Add option "author" for html meta tags
- Fix links normalization (content and hash)
2.0.0-beta.3
- Fix odd cases with code blocks escaping
2.0.0-beta.2
- Fix definition of entry point title using SUMMARY.md
2.0.0-beta.1
- Fix windows incompatibility
- Add support for rtl (enabled by default for
arandfa) - Escape code blocks in markdown parser
- Add Persian/Farsi translation (
fa) - Add Arabic translation (
ar) - Add Bengali translation (
bn) - Provide generator name in template context
2.0.0-alpha.9
- Fix links in sidebar
- Fix normalization of html link (README to index)
- Fix html snippets escaping
2.0.0-alpha.8
- Improve locale detection for i18n
- Fix chapter name for Glossary in pdf
- Don't escape html in glossary items
- Fix generation of multilingual book as ebook
- Add "post" block attribute to post-process
2.0.0-alpha.7
- Fix display of glossary in ebook formats
- Add default footer and header to pdf
- Fix generation of json format compatible with 1.x.x
- Add Simplifiled Chinese and Traditional Chinese translations
2.0.0-alpha.6
- Add es and pt translations
- Fix replacement of glossary terms
2.0.0-alpha.5
- Fix copy of files/covers
- Add back
finish:beforehook
2.0.0-alpha.4
- Fix copy of cover for multilingal books
2.0.0-alpha.3
- Norwegian translation
- Load plugins from book in priority
2.0.0-alpha.3
- Fix init command
- Update parsers to fix spaces in summary (
gitbook-parsers@0.3.1)
2.0.0-alpha.1
- Externalize parsing into
gitbook-parsersmodule - Supports AsciiDoc and reStructuredText
- Hooks for page (
page:*) are now deprecated, plugins should extend filters and blocks instead - Hooks
summaryandglossary(after and before) have been removed - Exercises and Quizzes are no longer parsed in the markdown parser
- Support for more markdown extensions:
.markdown,.mdown - Templates are rendered with nunjucks instead of swig, syntax is almost compatible, there is some changes with contexts and filters.
{{ super() }}should be use instead of{% parent %} - Clean output folder on build without removing
.gitand.svn - MathJAX is no longer a default plugin
- SVG images are converted to PNG during generation of ebooks
- i18n in website and ebook (ru, it, de, fr)
- New templating syntax
- Content references (both internal and external)
- Glossary terms are handled during generation (also in ebook format)
1.5.0
- Fix
servecommand, broken by1.4.2 - Add nicer
darktheme :)
1.4.2
- Force
process.exitafter builds, to prevent (possibly) lingering plugins
1.4.1
- Fix command 'install' without arguments
1.4.0
- Add command
gitbook installto install plugins from book.json package.jsonis no longer necessary
1.3.4
- Add glossary to ebooks
- Fix autocover with new hook "finish:before"
- Add X-UA-Compatible meta tag for IE
1.3.3
- Fix parsing of lexed content using the client library
1.3.2
- ePub files are now passing validation from epubcheck
- Fix replacement of multiple glossary terms in a single sentence
- Fix on windows deep relative links
- Fix search indexer
1.3.1
- Fix error with links in markdown
1.3.0
- Bundle gitbook parsing library as a client side library in
gitbook.jsandgitbook.min.js
1.2.0
- Improvements on ebook generation
- Fix incorrect follow of links in ebook generation
- Move Table of Contents at the beginning of the ebook
- Update to last highlight.js (includes Swift)
- Includes of templates and variables (from book.json)
1.1.1
- Rewrite quiz logic to be more robust
- Improve integration of glossary
- Improve generation of ebook by using a multiple HTML pages input source
- Fix incorrect page breaks after h1 and h2 divs
- New options to set header and footer in PDF generation
1.1.0
- Plugins can now extend the ebook generation (pdf, epub, mobi)
- Update
kramedto version 0.4.3
1.0.3
- Update
mathjaxplugin and MathJAx to version 2.4 - Update
highlight.jsto 8.2.0
1.0.2
- Update
mathjaxplugin, fixes issues with inline math rendering (no longer wanted)
1.0.1
- New inline math convention (kramdown's), using
$$rather than$as delimiters - Fix instapaper sharing
- The
exercises&quizzesplugins are now by default
1.0.0
- New design
- Support for glossary
- Support for sharing to instapaper
- Support for footnotes
0.7.1
- Update
fs-extrato0.10.0(fixes potential race conditions)
0.7.0
- Add page break in ebook (pdf, epub, mobi) between chapters/articles
- Start using kramed instead of marked
- Fix display of inline math
- Switch to graceful-fs to fix EMFILE errors
- Add sharing to weibo.com
0.6.2
- Support generating a plugin's book info dynamically
- Improve navigation on dark theme
- Improve path normalization when parsing SUMMARY.md
0.6.0
- Generate header id the same as github
- Custom links can be added at top of sidebar
- Summary can now be transformed by plugins
- Support importing code snippets