Skip to content

Releases: gohugoio/hugo

v0.13

22 Feb 04:10
Compare
Choose a tag to compare
v0.13 Pre-release
Pre-release

The v0.13.0 release is the largest Hugo release to date. The release introduced
some long sought after features (pagination, sequencing, data loading, tons of
template improvements) as well as major internal improvements. In addition to
the code changes, the Hugo community has grown significantly and now has over
3000 stars on github, 134 contributors, 24 themes and 1000s of happy users.

This release represents 448 contributions by 65 contributors

A special shout out to @bep and
@anthonyfok for their new role as Hugo
maintainers and their tremendous contributions this release.

New major features

  • Support for data files in YAML,
    JSON, or TOML
    located in the data directory (#885)
  • Support for dynamic content by loading JSON & CSV
    from remote sources via GetJson and GetCsv in short codes or other layout
    files (#748)
  • Pagination support for home page, sections and
    taxonomies (#750)
  • Universal sequencing support
    • A new, generic Next/Prev functionality is added to all lists of pages
      (sections, taxonomies, etc.)
    • Add in-section Next/Prev content pointers
  • Scratch -- a "scratchpad" for your node- and page-scoped
    variables
  • Cross Reference support to easily link documents
    together with the ref and relref shortcodes.
  • Ace template engine support (#541)
  • A new shortcode token of {{</* */>}} (raw HTML)
    alongside the existing {{%/* */%}} (Markdown)
  • A top level Hugo variable (on Page & Node) is added with various build
    information
  • Several new ways to order and group content:
    • ByPublishDate
    • GroupByPublishDate(format, order)
    • GroupByParam(key, order)
    • GroupByParamDate(key, format, order)
  • Hugo has undergone a major refactoring, with a new handler system and a
    generic file system. This sounds and is technical, but will pave the way for
    new features and make Hugo even speedier

Notable enhancements to existing features

  • The shortcode handling is rewritten for speed and
    better error messages.
  • Several improvements to the template functions:
    • where is now even more powerful and accepts SQL-like syntax with the
      operators ==, eq; !=, <>, ne; >=, ge; >, gt; <=,
      le; <, lt; in, not in
    • where template function now also accepts dot chaining key argument
      (e.g. "Params.foo.bar")
  • New template functions:
    • apply
    • chomp
    • delimit
    • sort
    • markdownify
    • in and intersect
    • trim
    • replace
    • dateFormat
  • Several configurable improvements related to Markdown
    rendering
    :
    • Configuration of footnote rendering
    • Optional support for smart angled quotes, e.g. "Hugo" → «Hugo»
    • Enable descriptive header IDs
  • URLs in XML output is now correctly canonified (#725, #728, and part
    of #789)

Other improvements

  • Internal change to use byte buffer pool significantly lowering memory usage
    and providing measurable performance improvements overall
  • Changes to docs:
  • hugo new now copies the content in addition to the front matter
  • Improved unit test coverage
  • Fixed a lot of Windows-related path issues
  • Improved error messages for template and rendering errors
  • Enabled soft LiveReload of CSS and images (#490)
  • Various fixes in RSS feed generation (#789)
  • HasMenuCurrent and IsMenuCurrent is now supported on Nodes
  • A bunch of bug fixes

v0.12

21 Jan 20:35
Compare
Choose a tag to compare
v0.12 Pre-release
Pre-release

A lot has happened since Hugo v0.11.0 was released. Most of the work has been
focused on polishing the theme engine and adding critical functionality to the
templates.

This release represents over 90 code commits from 28 different contributors.

  • 10 new themes created by the community
  • fully themable partials
  • 404 template support in themes
  • shortcode support in themes
  • views support in themes
  • inner shortcode content now treated as markdown
  • support for header ids in markdown (# header {#myid})
  • where template function to filter lists of content, taxonomies, etc
  • groupby & groupbydate methods to group pages
  • taxonomy pages list now sortable, filterable, limitable & groupable
  • general cleanup to taxonomies & documentation to make it more clear and consistent
  • showcase returned and has been expanded
  • pretty links now always have trailing slashes
  • baseurl can now include a subdirectory
  • better feedback about draft & future post rendering
  • a variety of improvements to the website

v0.11

29 May 22:53
Compare
Choose a tag to compare
v0.11 Pre-release
Pre-release

v0.10

01 Mar 17:21
Compare
Choose a tag to compare
v0.10 Pre-release
Pre-release

v0.9

16 Nov 04:52
Compare
Choose a tag to compare
v0.9 Pre-release
Pre-release

This is the most significant update to Hugo ever!
It contains contributions from dozens of contributors and represents hundreds of features, fixes and improvements.

Major New Features

  • New command based interface similar to git (hugo server -s ./)
  • Amber template support
  • Full Windows support
  • Better index support including ordering by content weight
  • Add params to site config, available in .Site.Params from templates
  • Support for html & xml content (with front matter support)
  • Support for top level pages (in addition to homepage)

Notable Fixes and Additions

  • Friendlier json support
  • Aliases (redirects)
  • Support for summary content divider (<!--more-->)
  • HTML & shortcodes supported in summary (when using divider)
  • Complete overhaul of the documentation site
  • Added "Minutes to Read" functionality
  • Support for a custom 404 page
  • Cleanup of how content organization is handled
  • Loads of unit and performance tests
  • Integration with Travis CI
  • Static directory now watched and copied on any addition or modification
  • Support for relative permalinks
  • Fixed watching being triggered multiple times for the same event
  • Watch now ignores temp files (as created by Vim)
  • Configurable number of posts on homepage
  • Front matter supports multiple types (int, string, date, float)
  • Indexes can now use a default template
  • Addition of truncated bool to content to determine if should show 'more' link
  • Support for linkTitles
  • Better handling of most errors with directions on how to resolve
  • Support for more date / time formats
  • Support for Go 1.2
  • Loads more... see commit log for full list.

v0.8

03 Aug 15:26
Compare
Choose a tag to compare
v0.8 Pre-release
Pre-release

please read the docs as a few options have changed in this release

  • Added support for pretty urls (filename/index.html vs filename.html)
  • Hugo supports a destination directory
  • Will efficiently sync content in static to destination directory
  • Cleaned up options.. now with support for short and long options
  • Added support for TOML
  • Added support for YAML
  • Added support for Previous & Next
  • Added support for indexes for the indexes
  • Better Windows compatibility
  • Support for series
  • Adding verbose output
  • Loads of bugfixes

v0.7

05 Jul 04:22
Compare
Choose a tag to compare
v0.7 Pre-release
Pre-release

As the first public release here's a bit about what Hugo can do so far.

  • 0.7.0 July 4, 2013
    • Hugo now includes a simple server
    • First public release
  • 0.6.0 July 2, 2013
  • 0.5.0 June 25, 2013
    • Hugo is quite usable and able to build spf13.com