Skip to content

Releases: cobalt-org/cobalt.rs

v0.12.0: 0.12.0: Sub-command and liquid improvements

23 Mar 04:00

Choose a tag to compare

This release drops support for migrating from pre-0.11. Please use 0.11 to migrate first.

Performance

  • layouts: Switch from lazy to eager loading (b2cbe13a)

Features

Breaking Changes

  • migrate: Removing migration support (20b29932)
  • import: import is self-contained (4e0be270, closes #394)
  • layouts: Switch from lazy to eager (b2cbe13a)
  • liquid:

Bug Fixes

  • clean: Don't error on double-clean (a380fd15)
  • import: import is self-contained (4e0be270, closes #394)
  • new:
    • Dont assume dirs are files (35bed0c5, closes #401)
    • Error if file isn't a part of a collection (99a0d017)
  • serve: Fix site.base_url by adding http:// (1a3ae383)
  • slug: Dont ignore non-ascii in slug (08f0621c, closes #383)
  • liquid:
    • date_in_tz correctly parse date strings (8fca4340)
    • Improve value coercion (8fca4340)
    • if can do existence check again (0ed5247)
  • config: Bug fixes with ignore (0ed5247)

v0.11.1

10 Jan 03:20

Choose a tag to compare

Features

  • liquid: Support contains operator (668f4726)

v0.11.0: Focus: Minimize breaking changes in the future

09 Jan 14:15

Choose a tag to compare

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)

v0.10.0

04 Jan 03:35

Choose a tag to compare

Release 0.10.0

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)

v0.9.0: Release 0.9.0

30 Nov 21:08

Choose a tag to compare

Features

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

Breaking Changes

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

v0.8.0: Focus: Command line changes

09 Nov 04:03

Choose a tag to compare

Bug Fixes

  • new:
    • Pages start as md by default (892d798
    • Auto-created posts start as drafts (0cfc158
  • watch: Rebuilding ignores dest (b72863b
  • Auto-ignore dest in more cases (8676a3a
  • Don't ignore dest look-alikes (33c7d0d
  • source/dest are now relative to config (ce95b39
  • clean: Better detect what we can't clean (78bbfc3
  • cli: Clarify role of --destination (a9fce40
  • config:
  • jekyll: Clean up flag names (80468b9
  • data-files: Provide information which file caused an error (6b8e701
  • error: Report file path on parse error (c1cf01c
  • log: Reduce noise when level is debug (646d589

Breaking Changes

  • config:
    • Auto-ignore dest in more cases (8676a3a
    • source/dest are now relative to config (ce95b39
    • Remove layouts config setting (137fb96
    • Find config in parent rather than default (4e96a1f
  • cli:
    • Remove global config flags (b00aad6
    • Remove source/posts/layouts flags (70b549d
  • jekyll: Clean up flag names (80468b9

Features

  • init: Update defaults (8a0eda9
  • new: Clearer contract for cobalt new (8e44311
  • New publish sub-command (c0329df
  • Expose config's site values (7fea9dd, closes #216)
  • cli:
    • Remove global config flags (b00aad6
    • Remove source/posts/layouts flags (70b549d
  • config:
    • Change future destination to _site (da586c7
    • Remove layouts config setting (137fb96
    • Find config in parent rather than default (4e96a1f
  • front:
    • Set published_date from filename (ad69b1f
  • liquid: Upgrade to 0.11 (fd366fb
    • syntax: Add arr[0] and obj["name"] indexing (PR #141, fixes #127)
    • value: Add nil value to support foreign data (PR #140)

v0.7.5: Release 0.7.5

22 Oct 03:16

Choose a tag to compare

Bug Fixes

  • jekyll: Remove crash (7d07b2c
  • Don't dump a flag that isn't meant to be (c3873e2

v0.7.4: Release 0.7.4

21 Oct 03:57

Choose a tag to compare

Bug Fixes

Features

  • data-files: Add data file support (bb2d7c0, closes #256)
  • scss: Implement compiling of SCSS files (76b8d8a
  • jekyll: Initial jekyll conversion subcommand (3719190
  • Improve error reporting to user (1e07708

v0.7.3: Features

06 Oct 02:15

Choose a tag to compare

Features

  • Support :categories in permalink (a9b4474
  • Support nested frontmatter (cafd42f
  • syntax-highlight: Succeed on windows (f1129fa
  • debug:
    • Dump doc with all defaults/globals (e4ff582
    • Link substitutions dump flag added (3439265

Bug Fixes

  • Do not attempt to build the output (51f486a
  • Ignore dest rather than rebuild (fce8936, closes #170)

Breaking Changes

  • page.path now returns non-exploded path. (7f571a8
  • --dump=liquid is replaced by --dump=<DATA> (3439265

A note on semver: I'm not bumping minor, despite breaking changes. In one
case, it is a change in a debug aide and not a part of the regular use cases
where someone might be broken. On the other, the chance of someone being
impacted by such a change is minuscule.

v0.7.2

04 Jul 04:02

Choose a tag to compare

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