github cobalt-org/cobalt.rs v0.11.0

latest releases: v0.19.3, file-serve-v0.3.2, engarde-v0.1.8...
6 years ago

This release focused on unleashing a lot of breaking changes that have been
stacking up for a while which also expose a lot of features that have been
inaccessible. The hope is that from now on, breaking changes will be minor
(like small changes to config) rather than sweeping changes to every file like
this.

Bug Fixes

  • Reducing logging noise (a7acd2c8)
  • rss: Don't error if the RSS folder doesn't exist. (357cb4b8)
  • watch: Don't stop on error (3c4d086b, closes #347)

Features

  • Migrate support for changing _layouts to _includes (28ae870d)
  • config:
  • front:
    • Stablize fronmatter format (9089c721, closes #257, breaks #)
    • Change date to YYYY-MM-DD (1e19ae07, closes #349, breaks #)
    • Change permalink variable names (e78b806c, breaks #)
    • Change permalink to well-defined format (c6c4d7ac, breaks #)
    • Standardize permalink behavior (6730eb68, breaks #)
  • excerpt: Better define non-existent behavior (129c5747)
  • page:
  • serve:
    • Adjust base_url for localhost (e75e1398, breaks #)
    • Merge serve and watch (d2f22d51, breaks #)
  • debug:

Breaking Changes

cobalt migrate was created to help mitigate the cost of most of these breaking changes.

  • config: Stablize the format (34e9d545, closes #199, breaks #, #)
  • debug: Generalize debug commands (087d9919, breaks #)
  • front:
    • Change date to YYYY-MM-DD (1e19ae07, closes #349, breaks #)
    • Change permalink variable names (e78b806c, breaks #)
    • Change permalink to well-defined format (c6c4d7ac, breaks #)
    • Standardize permalink behavior (6730eb68, breaks #)
    • Stablize fronmatter format (9089c721, closes #257, breaks #)
  • page:
    • Liquid errors on undefined variables (2ec3f24b)
    • This was done to help catch migration problems and to move us in the direction of easier debugging of problems
    • The restriction might be loosened in some cases (like {% if var %}).
    • Generalize is_post / posts (d280a353, closes #323, breaks #)
    • Make page variables future-proof (6f62dea8, breaks #)
  • serve:
    • Adjust base_url for localhost (e75e1398, breaks #)
    • Merge serve and watch (d2f22d51, breaks #)

Performance

  • serve: Reduce duplicate rebuilds (8f2679ce)

Don't miss a new cobalt.rs release

NewReleases is sending notifications on new releases.