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

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