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

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