You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 12KB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. # Changelog
  2. ## 0.6.0 (unreleased)
  3. ### Breaking
  4. - `earlier/later` and `lighter/heavier` are not set anymore on pages when rendering
  5. a section
  6. ### Other
  7. - Add support for content in multiple languages
  8. - Lower latency on serve before rebuilding from 2 to 1 second
  9. - Allow processing PNG and produced images are less blurry
  10. - Add an id (`zola-continue-reading`) to the paragraph generated after a summary
  11. - Add Dracula syntax highlighting theme
  12. - Fix using inline styles in headers
  13. - Fix sections with render=false being shown in sitemap
  14. ## 0.5.1 (2018-12-14)
  15. - Fix deleting markdown file in `zola serve`
  16. - Fix pagination for taxonomies being broken and add missing documentation for it
  17. - Add missing pager pages from the sitemap
  18. - Allow and parse full RFC339 datetimes in filenames
  19. - Live reload is now enabled for the 404 page on serve
  20. ## 0.5.0 (2018-11-17)
  21. ### Breaking
  22. - Gutenberg has changed name to `zola`!
  23. - The `pagers` variable of Paginator objects has been removed
  24. - `section.subsections` is now an array of paths to be used with the `get_section`
  25. Tera function
  26. - Table of content now strips HTML from the titles to avoid various issues
  27. - `gutenberg-anchor` CSS class has been renamed `zola-anchor`
  28. - `data` is now a reserved variable name in templates, it is unused right now but
  29. might change soon.
  30. ### Others
  31. - Many many times faster (x5-x40) for most sites
  32. - Update dependencies, fixing a few bugs with templates
  33. - Load only .html files in themes from the templates folder
  34. - Background colour is set fewer times when highlighting syntaxes, resulting in smaller HTML filesize
  35. - Link checker will not try to validate email links anymore
  36. - Load table and footnote markdown extensions in `markdown` filter
  37. - `get_url` now defaults to not adding a trailing slash
  38. - Fix `--base-url` not overriding processed images URLs
  39. - Add more Emacs temp file to the ignored patterns in `gutenberg serve`
  40. - Files starting with `.` are not considered pages anymore even if they end with `.md`
  41. - `_processed_images` folder for image processing has been renamed `processed_images` to avoid issues with GitHub Pages
  42. - Syntax highlighting default was mistakenly `true`, it has been set to `false`
  43. - Add NO_COLOR and CLICOLOR support for having colours or not in CLI output
  44. - Fix `robots.txt`template not being used
  45. - RSS feed now takes all available articles by default instead of limiting to 10000
  46. - `templates` directory is now optional
  47. - Add Reason and F# syntax highlighting
  48. - Add `ancestors` to pages and sections pointing to the relative path of all ancestor
  49. sections up to the index to be used with the `get_section` Tera function
  50. - Add a `load_data` Tera function to load local CSV/TOML/JSON files
  51. - Add `relative_path` to pages and sections in templates
  52. - Do not have a trailing slash for the RSS permalinks
  53. - `serve` will now try to find other ports than 1111 rather than panicking
  54. - Ensure content directory exists before rendering aliases
  55. - Do not include drafts in pagination
  56. - Pages filenames starting by a date will now use that date as page date if there isn't one defined in frontmatter
  57. - Accept markdown files starting with BOM
  58. - Add a `watch-only` flag to the `serve` command for when you don't want a webserver
  59. - Add `transparent` sections, for when you want to separate content by sections but want to group them at a higher level (think a `posts` folder with years
  60. that want to use pagination on the index).
  61. - Add `page_template` to section front-matter for when you want to specify the template to use for every page under it
  62. - Improves to `zola serve`: now handles directories renaming
  63. ## 0.4.2 (2018-09-03)
  64. - Add assets to section indexes
  65. - Allow users to add custom highlighting syntaxes
  66. - Add Swift, MiniZinc syntaxes and update others
  67. - Handle post summaries better: no more cutting references
  68. ## 0.4.1 (2018-08-06)
  69. - Fix live reload of a section content change getting no pages data
  70. - Fix critical bug in `serve` in some OSes
  71. - Update deps, should now build and work correctly on BSDs
  72. ## 0.4.0 (2018-08-04)
  73. ### Breaking
  74. - Taxonomies have been rewritten from scratch to allow custom ones with RSS and pagination
  75. - `order` sorting has been removed in favour of only having `weight`
  76. - `page.next/page.previous` have been renamed to `page.later/page.earlier` and `page.heavier/page.lighter` depending on the sort method
  77. ### Others
  78. - Fix `serve` not working with the config flag
  79. - Websocket port on `live` will not get the first available port instead of a fixed one
  80. - Rewrite markdown rendering to fix all known issues with shortcodes
  81. - Add array arguments to shortcodes and allow single-quote/backtick strings
  82. - Co-located assets are now permalinks
  83. - Words are now counted using unicode rather than whitespaces
  84. - Aliases can now be pointing directly to specific HTML files
  85. - Add `year`, `month` and `day` variables to pages with a date
  86. - Fix panic when live reloading a change on a file without extensions
  87. - Add image resizing support
  88. - Add a 404 template
  89. - Enable preserve-order feature of Tera
  90. - Add an external link checker
  91. - Add `get_taxonomy` global function to return the full taxonomy
  92. ## 0.3.4 (2018-06-22)
  93. - `cargo update` as some dependencies didn't compile with current Rust version
  94. - Add CMake syntax highlighting and update other syntax highlighting
  95. ## 0.3.3 (2018-03-29)
  96. - Fixed config flag in CLI
  97. - Sitemap entries are now sorted by permalinks to avoid random ordering
  98. - Preserve directory structure from sass folder when copying compiled css files
  99. to the public directory
  100. - Do not require themes to have a static folder
  101. - Now supports indented Sass syntax
  102. - Add search index building
  103. - Update Tera: now has `break` and `continue` in loops
  104. - Gutenberg now creates an anchor link at the position of the `<!-- more -->` tag if you
  105. want to link directly to it
  106. - Fix many shortcode parsing issues
  107. - Correctly copy themes shortcodes so they are useable in content
  108. - Fix internal links not working for markdown files directly in `content` directory
  109. ## 0.3.2 (2018-03-05)
  110. - Fix `serve` command trying to read all files as markdown
  111. - Add many syntax highlighting themes
  112. - Fix date being serialised incorrectly in page `extra` section of front-matter
  113. ## 0.3.1 (2018-02-15)
  114. - Update Tera and other dependencies
  115. - Add option for inline (ie no `<p>...</p>` wrapping) in markdown filter
  116. - Allow to specify both interface and base_url in `gutenberg serve` for usage in Docker
  117. ## 0.3.0 (2018-01-25)
  118. ### Breaking
  119. - Change names of individual taxonomies to be plural (ie `tags/my-tag` instead of `tag/my-tag`)
  120. - Front matter now uses TOML dates rather strings: remove quotes from your date value to fix it.
  121. For example: `date = "2001-10-10"` becomes `date = 2001-10-10`
  122. - `language_code` has been renamed `default_language` in preparations of i18n support
  123. ### Others
  124. - Add `get_taxonomy_url` to retrieve the permalink of a tag/category
  125. - Fix bug when generating permalinks for taxonomies
  126. - Update to Tera 0.11
  127. - Better UX on first `serve` thanks to some default templates.
  128. - Add `output-dir` to `build` and `serve` to generate the site in a folder other than `public`
  129. - Add Prolog syntax highlighting and update all current syntaxes
  130. - Live reloading now works on shortcode template changes
  131. - `gutenberg serve` now reloads site on `config.toml` changes: you will need to F5 to see any changes though
  132. - Add a `trans` global function that will get return the translation of the given key for the given lang, defaulting
  133. to `config.default_language` if not given
  134. - `gutenberg serve` cleans after itself and deletes the output directory on CTRL+C
  135. ## 0.2.2 (2017-11-01)
  136. - Fix shortcodes without arguments being ignored
  137. - Fix shortcodes with markdown chars (_, *, etc) in name and args being ignored
  138. - Fix subsections of index not being filled without a `_index.md`
  139. - Fix generated index section not found in `get_section` global function
  140. - Fix permalink generation for index page
  141. - Add Nim syntax highlighting
  142. - Allow static folder to be missing
  143. - Fix shortcodes args being only passed as strings
  144. - Add `page.components` and `section.components` that are equivalent to `path.split('/')`
  145. - Expose `page.draft` in the template
  146. ## 0.2.1 (2017-10-17)
  147. - Fix `base-url` argument to `gutenberg build` being called `base`
  148. - Add syntaxes: Crystal, Elixir, Kotlin
  149. ## 0.2.0 (2017-10-05)
  150. - Fix `section.subsections` not being filled correctly
  151. - `section.subsections` can now be sorted by a `weight` attribute on a section front-matter
  152. - Do nothing on directory adding/removal in livereload
  153. - Add back `draft` on pages that was wrongly removed
  154. - Page and Section `path` field is not starting with a `/` anymore
  155. - All Tera global fns are now rebuilt on changes
  156. - Use flags for port/interface in `gutenberg serve`
  157. - Fix various issues with headers markdown rendering
  158. - Rename `insert_anchor` in section front-matter to `insert_anchor_links`
  159. - Remove `insert_anchor_links` from the config: it wasn't used
  160. - Add `class` variable to `gist` shortcode
  161. - Add reading analytics to sections content
  162. - Add config to sitemap template
  163. - Add `permalink` to all taxonomy items (tags & categories)
  164. - Tags in the tags page are now sorting alphabetically instead of by number of pages in them
  165. - Remove deprecated `link` param of `get_url`
  166. - Add 1337 color scheme
  167. - Defaults to compressed Sass output
  168. - Fix regression wrt co-located assets slug detecting
  169. - Rename `url` from page front-matter to `path` to be consistent
  170. - Add a `base-url` flag to the `build` command to override the URL from config.toml
  171. ## 0.1.3 (2017-08-31)
  172. - Add themes support
  173. ## 0.1.2 (2017-08-10)
  174. - Add `redirect_to` to section front matter to redirect when landing on section
  175. root page
  176. - Make `title` in config optional
  177. - Improved `gutenberg init` UX and users first experience
  178. - Make `get_url` work for any path with optional cachebusting.
  179. - Deprecates `link` param of `get_url` in favour of `path` to be consistent
  180. ## 0.1.1 (2017-07-16)
  181. - Fix RSS feed not behaving (https://github.com/Keats/gutenberg/issues/101)
  182. ## 0.1.0 (2017-07-14)
  183. - Parallelize all the things
  184. - Add weight sorting
  185. - Remove `section` from the `page` rendering context: this is too expensive. Use
  186. the global function `get_section` if you need to get it
  187. - Put back a 20 page limit on rss feed by default (configurable)
  188. - Remove index page getting all sections: use the `get_section` global fn instead to
  189. only get the ones you need
  190. - Remove pages from pagers in pagination: they were not supposed to be there
  191. - Add built-in Sass compilation support
  192. ## 0.0.7 (2017-06-19)
  193. - Sort individual tag/category pages by date
  194. - Add extra builtin shortcode for Streamable videos
  195. - `path` and `permalink` now end with a `/`
  196. - Generate table of contents for each page
  197. - Add `section` to a page Tera context if there is one
  198. - Add `aliases` to pages for when you are changing urls but want to redirect
  199. to the new one
  200. - Name the homepage section `index` (previously empty string)
  201. ## 0.0.6 (2017-05-24)
  202. - Fix missing serialized data for sections
  203. - Change the single item template context for categories/tags
  204. - Add a `get_url` and a `get_section` global Tera function
  205. - Add a config option to control how many articles to show in RSS feed
  206. - Move `insert_anchor_links` from config to being a section option and it can
  207. now be insert left or right
  208. ## 0.0.5 (2017-05-15)
  209. - Fix XML templates overriding and reloading
  210. - `title` and `description` are now optional in the front matter
  211. - Add GenericConfig, Vim, Jinja2 syntax
  212. - Add `_index.md` for homepage as well and make that into a normal section
  213. - Allow sorting by `none`, `date` and `order` for sections
  214. - Add pagination
  215. - Add a `get_page` global function to tera
  216. - Revamp index page, no more `pages` variables
  217. - Fix livereload stopping randomly
  218. - Smarter re-rendering in `serve` command
  219. ## 0.0.4 (2017-04-23)
  220. - Fix RSS feed link and description
  221. - Renamed `Page::url` and `Section::url` to `Page::path` and `Section::path`
  222. - Pass `current_url` and `current_path` to every template
  223. - Add id to headers to allow anchor linking
  224. - Make relative link work with anchors
  225. - Add option to render an anchor link automatically next to headers
  226. - Only copy the static files that changed, not the whole directory in `gutenberg serve`
  227. - Use summary if available in RSS feed
  228. - Add tables and footnotes support in markdown
  229. - Add more language syntaxes
  230. - Only load templates ending by `.html`
  231. ## 0.0.3 (2017-04-05)
  232. - Add some colours in console
  233. - Allow using a file other than config.toml for config
  234. - Add sections to the index page context
  235. - Fix page rendering not working when containing `+++`
  236. - Add shortcodes (see README for details)
  237. - Allow relative links to other content in markdown links
  238. - Add `markdown`, `base64_encode` and `base64_decode` filters to the Tera instance of Gutenberg
  239. - Work on Windows!