Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Releases: LuckyCasts/spark

v2.0.0

Choose a tag to compare

@stephendolan stephendolan released this 24 Nov 02:04

Breaking Changes

Error classes moved to module namespaces. Update exception handling:

  • InvalidPathError → Spark::File::InvalidPathError
  • MissingShardFileError → Spark::Shard::MissingShardFileError

Improvements

  • Error messages now include original error context
  • Removed redundant logging and comments
  • Cleaner, more maintainable codebase

Full Changelog: v1.16.0...v2.0.0

v1.16.0

Choose a tag to compare

@stephendolan stephendolan released this 24 Nov 01:47

What's Changed

  • Upgrade to Crystal 1.18.2 and update dependencies in 99fccf6
  • Bump version to 1.16.0 in 1976304
  • Ignore compiled cli binary in 8524e85

Full Changelog: v1.15.0...v1.16.0

v1.15.0

Choose a tag to compare

@stephendolan stephendolan released this 05 Jul 20:08
6b47600

What's Changed

Full Changelog: v1.14.3...v1.15.0

v1.14.3

Choose a tag to compare

@stephendolan stephendolan released this 19 May 21:07

Fixes

  • Remove need for local test self-require

v1.14.2

Choose a tag to compare

@stephendolan stephendolan released this 19 May 21:00
e5228ff

Fixes

  • Change local self-require for testing to use GitHub repository instead of local path

v1.14.1

Choose a tag to compare

@stephendolan stephendolan released this 10 May 12:49

Fixes

  • Spark::Template#run_remote_file now cleans up the File.tempfile files that are created after execution.

v1.14.0

Choose a tag to compare

@stephendolan stephendolan released this 10 May 12:22
983f061

New Features

  • Spark::Template.run_local_file - Run Crystal code from a local file source (USE WITH CAUTION)
  • Spark::Template.run_remote_file - Run Crystal code from a remote source (USE WITH CAUTION)
  • The Spark CLI is here!
    • ./bin/spark apply [Remote Template URL] - Runs the content returned from the provided URL through crystal run
    • ./bin/spark apply --local [Local File Path] - Runs the content of the provided file path through `crystal run

v1.13.0

Choose a tag to compare

@stephendolan stephendolan released this 09 Apr 21:46

New Features

  • Spark::File.chmod_file allows you to modify the permissions of a file.

v1.12.0

Choose a tag to compare

@stephendolan stephendolan released this 09 Apr 21:20

New Features

  • Spark.indent allows you to increase indentation of all Spark output by one level.
  • Spark.outdent allows you to decrease indentation of all Spark output by one level.
  • Spark.reset_indentation allows you to reset indentation of all spark output to zero.

Changes

  • All Spark::Prompt#log_action output is indented by one additional level by default.

v1.11.2

Choose a tag to compare

@stephendolan stephendolan released this 09 Apr 19:58

New Features

  • Spark.quiet(&block) allows you to run a single block of code in a silenced way for log output.

Changes

  • Spark::File.move_file has more accurate log output
  • Spark::File.copy_file has more accurate log output