cobalt.rs/CHANGELOG.md
Ed Page c5ee270638 chore: Release 0.11.0
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](a7acd2c858))
* **rss:**  Don't error if the RSS folder doesn't exist. ([357cb4b8](357cb4b8e9))
* **watch:**  Don't stop on error ([3c4d086b](3c4d086bfa), closes [#347](https://github.com/cobalt-org/cobalt.rs/issues/347))

Features

*   Migrate support for changing _layouts to _includes ([28ae870d](28ae870dab))
* **config:**
  *  Change .cobalt.yml to _cobalt.yml ([c4ee83b3](c4ee83b3f5), closes [#348](https://github.com/cobalt-org/cobalt.rs/issues/348))
  *  Stablize the format ([34e9d545](34e9d545b0), closes [#199](https://github.com/cobalt-org/cobalt.rs/issues/199), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/), [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **front:**
  *  Stablize fronmatter format ([9089c721](9089c721a2), closes [#257](https://github.com/cobalt-org/cobalt.rs/issues/257), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Change date to YYYY-MM-DD ([1e19ae07](1e19ae070d), closes [#349](https://github.com/cobalt-org/cobalt.rs/issues/349), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Change permalink variable names ([e78b806c](e78b806c95), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Change permalink to well-defined format ([c6c4d7ac](c6c4d7aca4), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Standardize permalink behavior ([6730eb68](6730eb686d), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **excerpt:**  Better define non-existent behavior ([129c5747](129c574735))
* **page:**
  *  Upgrade liquid ([2ec3f24b](2ec3f24bb8))
  *  Generalize is_post / posts ([d280a353](d280a35329), closes [#323](https://github.com/cobalt-org/cobalt.rs/issues/323), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Make page variables future-proof ([6f62dea8](6f62dea856), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  page.file.parent variable ([dce1d59c](dce1d59c31), closes [#338](https://github.com/cobalt-org/cobalt.rs/issues/338))
* **serve:**
  *  Adjust base_url for localhost ([e75e1398](e75e139880), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Merge `serve` and `watch` ([d2f22d51](d2f22d51fe), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **debug:**
  *  Report asset files ([5d77b7fc](5d77b7fc1a))
  *  Generalize debug commands ([087d9919](087d99195a), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))

Breaking Changes

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

* **config:**  Stablize the format ([34e9d545](34e9d545b0), closes [#199](https://github.com/cobalt-org/cobalt.rs/issues/199), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/), [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **debug:**  Generalize debug commands ([087d9919](087d99195a), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **front:**
  *  Change date to YYYY-MM-DD ([1e19ae07](1e19ae070d), closes [#349](https://github.com/cobalt-org/cobalt.rs/issues/349), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Change permalink variable names ([e78b806c](e78b806c95), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Change permalink to well-defined format ([c6c4d7ac](c6c4d7aca4), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Standardize permalink behavior ([6730eb68](6730eb686d), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Stablize fronmatter format ([9089c721](9089c721a2), closes [#257](https://github.com/cobalt-org/cobalt.rs/issues/257), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **page:**
  *  Liquid errors on undefined variables ([2ec3f24b](2ec3f24bb8))
    * 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](d280a35329), closes [#323](https://github.com/cobalt-org/cobalt.rs/issues/323), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Make page variables future-proof ([6f62dea8](6f62dea856), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
* **serve:**
  *  Adjust base_url for localhost ([e75e1398](e75e139880), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))
  *  Merge `serve` and `watch` ([d2f22d51](d2f22d51fe), breaks [#](https://github.com/cobalt-org/cobalt.rs/issues/))

Performance

* **serve:**  Reduce duplicate rebuilds ([8f2679ce](8f2679ced6))
2018-01-09 06:30:43 -07:00

22 KiB

0.11.0 (2018-01-09)

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)

0.10.0 (2018-01-04)

Features

  • error: Identify layout errors (0ec3a3d0)

Bug Fixes

  • Correctly copy scss files when sass is disabled (f04bd9d2)
  • Log context for failures (be258bfb)
  • config: On empty file, use right root (a99ca197)
  • drafts: Config can enable again (729e0b18)
  • front: Ensure exceprt is rendered before used (9e714697)
  • includes: Support including hidden files (cb577c42)

Breaking Changes

  • error: Identify layout errors (0ec3a3d0)

0.9.0 (2017-11-30)

Features

  • liquid: Dedicated _includes dir (dc4b9cef, closes #328, breaks #)

Breaking Changes

0.8.0 (2017-11-09)

Bug Fixes

  • new:
    • Pages start as md by default (892d798d)
    • Auto-created posts start as drafts (0cfc1581)
  • watch: Rebuilding ignores dest (b72863b9)
  • Auto-ignore dest in more cases (8676a3a8)
  • Don't ignore dest look-alikes (33c7d0de)
  • source/dest are now relative to config (ce95b395)
  • clean: Better detect what we can't clean (78bbfc3e)
  • cli: Clarify role of --destination (a9fce407)
  • config:
  • jekyll: Clean up flag names (80468b9f)
  • data-files: Provide information which file caused an error (6b8e7018)
  • error: Report file path on parse error (c1cf01cd)
  • log: Reduce noise when level is debug (646d5897)

Breaking Changes

  • config:
    • Auto-ignore dest in more cases (8676a3a8)
    • source/dest are now relative to config (ce95b395)
    • Remove layouts config setting (137fb960)
    • Find config in parent rather than default (4e96a1fb)
  • cli:
    • Remove global config flags (b00aad63)
    • Remove source/posts/layouts flags (70b549da)
  • jekyll: Clean up flag names (80468b9f)

Features

  • init: Update defaults (8a0eda99)
  • new: Clearer contract for cobalt new (8e44311f)
  • New publish sub-command (c0329df5)
  • Expose config's site values (7fea9ddf, closes #216)
  • cli:
    • Remove global config flags (b00aad63)
    • Remove source/posts/layouts flags (70b549da)
  • config:
    • Change future destination to _site (da586c71)
    • Remove layouts config setting (137fb960)
    • Find config in parent rather than default (4e96a1fb)
  • front:
    • Set published_date from filename (ad69b1fc)
  • liquid: Upgrade to 0.11 (fd366fb9)
    • syntax: Add arr[0] and obj["name"] indexing (PR #141, fixes #127)
    • value: Add nil value to support foreign data (PR #140)

0.7.5 (2017-10-22)

Bug Fixes

  • jekyll: Remove crash (7d07b2cc)
  • Don't dump a flag that isn't meant to be (c3873e29)

0.7.4 (2017-10-21)

Bug Fixes

Features

  • Improve error reporting to user (1e07708b)
  • data-files: Add data file support (bb2d7c0f, closes #256)
  • scss: Implement compiling of SCSS files (76b8d8ae)

0.7.3 (2017-10-05)

Breaking Changes

  • page.path now returns non-exploded path. (7f571a8b)
  • --dump=liquid is now split into --dump=DocObject and --dump=DocTermplate (3439265b)

Features

  • Support :categories in permalink (a9b4474f)
  • Support nested frontmatter (cafd42fa)
  • syntax-highlight: Succeed on windows (f1129fa8)
  • debug:
    • Dump doc with all defaults/globals (e4ff582f)
    • Link substitutions dump flag added (3439265b)

Bug Fixes

  • build: Do not attempt to build the output (51f486a8)
  • watch: Ignore dest rather than rebuild (fce89368, closes #170)

0.7.2 (2017-07-04)

Bug Fixes

  • Bump syntect version to 1.7.0 and enable dump-load feature (4d0e14a7)

0.7.1 (2017-06-25)

Bug Fixes

  • CI:
    • Show all build failures, not just first (52916cd8)
    • Re-enable Stable builds on Linux (24f3b209)

0.7.0 (2017-06-24)

Bug Fixes

Performance

  • document: cache off Regex objects (2b2525c1)

Features

  • More advanced blacklisting, now with whitelisting! (be05d963, closes #221)
  • attributes: Add input-file based attributes (95fb81f5)
  • debug: Dump intermediate state (fec65b37)
  • Upgrade to liquid-rust 0.10.0 (2421679)
  • cobalt new added to create pages (former cobalt new renamed to cobalt init) (4700f34)
  • Customize post sort order with post_order: "asc" (28df5e2)
  • Posts now have prev and next attributes (dbcaf7e)
  • Documents now have title, slug, and ext attributes (46b3b22)

Breaking Changes

  • .cobalt.yml's ignore changed to gitingore format (be05d963, closes #221)
  • cobalt new renamed to cobalt init (fe3a246)

0.5

  • We now generate binaries for OSX, Windows, and Linux (@johannhof)
  • Experimental Syntax Highlighting support (behind a compiler flag until we fix Windows support)([@gnunicorn][])
  • Prevent cargo clean from deleting the current directory ([@kracekumar][])
  • Set charset utf-8 in the default template (@nott)
  • tons of other bugfixes and improvements (all of the above + [@benaryorg][], [@crodjer][] and [@uetoyo][])

0.4

0.3

0.2

  • Initial release