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