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 16KB

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