Releases: crystal-lang/shards
Releases · crystal-lang/shards
v0.9.0.beta - Monumental Duck
This is pre-release for the next version of Shards that will support pre-releases! See the v0.9.0 milestone for what's still missing (e.g. --local
and the outdated
command).
The version number resolver got an overhaul and fixed some issues (see below). Please check that everything is still working fine and report any issues you may have!
Breaking changes:
- A
shard.yml
spec is now required in libraries. - Drop support for obsolete Projectfile.
Features:
- Experimental support for prereleases. Add a letter to a version number to declare a pre-release. For example
1.2.3.alpha
or1.0.0-rc1
. Note that semver whole number prereleases such as1.0.0-1
aren't supported, and even have higher precedence (1.0-1 > 1.0
). - Ignore semver metadata (
1.0+abc
has same precedence than1.0
).
Fixes:
- Approximate operator used to match invalid version numbers (e.g.
~> 0.1.0
wrongly matched0.10.0
). - Unbalanced version numbers, such as
1.0.0
and1.0.0.1
are now correctly ordered and compared as1.0.0.1 > 1.0.0
. - Force the 'v' prefix in version tags.
install -t
isn't supported on macOS.
v0.8.1 - Amusing Muskrat
Fixes:
- Git repositories cloned with v0.8.0 can't fetch new remote refs anymore, which totally broke the
update
command. - The Path resolver incorrectly handled invalid symlinks.
v0.8.0 - Infamous Muskrat [REVOKED]
This release incorrectly clones Git repositories. Please upgrade to v0.8.1!
Features:
- Install shard executables inside project bin folder on shard install.
See #126.
Changes:
- Global cache for cloned Git repositories, aside crystal cache
(e.g.~/.cache/shards
). Customizable withSHARDS_CACHE_PATH
. - Clone bare Git repositories instead of creating mirrors (fetch should be
faster, and less space required on disk). - Man pages are now in the
man
folder. - Allow loose shard versioning, accepting semver-like versions and alternatives
such as calver.
Fixes:
- Compatibility with Crystal 0.25.
v0.7.2 - Snarling Chub
Features:
- Version command to print-out the project's version, see #147
Fixes:
- Don't consider a Git refs to be a version number, see #169
- Use installed spec for executing scripts, see #143
- Don't expect
shard.lock
whenshard.yml
has no dependencies, see #145 - Compatibility with Crystal 0.24.0 (unreleased)
- Harmonize error messages
- Correct shard.yml parse error line:column reporting
v0.7.1 - Obvious Chub
v0.7.0 - Rubbery Chub
Features:
- Build command for
targets
entry in SPEC - New Crystal search path algorithm (see breaking changes below)
- Informational
crystal
entry in SPEC - Informational
libraries
entry in SPEC - Shorthand for gitlab.com dependencies
Breaking Changes:
- Dependencies are installed in the
lib
directory - Dependencies are now fully installed, instead of merely the
src
folder postinstall
scripts are now executed from the root of the dependency,
not thesrc
directory
Fixes:
- crash when dependency keys were unordered
tar
command usage on OpenBSD- correctly report git errors
- the update command created a lockfile for empty dependencies
v0.6.4
Fixes:
- Compatibility with Crystal 0.19
v0.6.3 - Negligible Shrew
Fixes:
- Compatibility with Crystal > 0.15.0
- Relative paths for path dependencies, see #99
v0.6.2 - Cute Shrew
Fix:
- Don't crash when git binary is missing.
v0.6.1 - Humble Shrew
Fixes:
- Compatibility with Crystal 0.12.0