Skip to content

snails v1.6.0-rc.3

Pre-release
Pre-release

Choose a tag to compare

@kslrinn kslrinn released this 29 Nov 02:04
daf590e

Upgrade

Install the CLI by version — this prerelease does not take Latest:

curl -fsSL https://raw.githubusercontent.com/snails-rb/snails/main/install.sh | bash -s -- --version v1.6.0-rc.3

Set pins.toml:

SNALS_REV="v1.6.0-rc.3"
SPINEL_REV="6885b3227"

This release moves the app test target from harness/ to test/. Before snails sync, move:

  • harness/test/* and *.expected → test/
  • harness/fixtures/ → test/fixtures/
  • harness/test.env → test/support/test.env
  • harness/boot.rb → test/support/test_helper.rb (merge any app-specific boot code, such as SECRET_KEY_BASE)
  • harness/dev.env → config/dev.env
  • harness/build/ → test/build/ (or delete it)

Delete harness/. In every case file, replace require_relative "../boot" with require_relative "support/test_helper"; a case in a subdirectory uses ../support/test_helper. Update .gitignore: /harness/build/ → /test/build/; remove /harness/storage/.

Then:

snails sync
bin/test

New apps already use test/; the manual describes the current layout.

Changes

Since v1.6.0-rc.2:

  • Move the app test target to test/ (#153)
  • Fix the queue migration test path (#157)
  • Bump the spinel pin to 6885b3227 (#161)
  • Remove the server build freshness workaround (#162)
  • Link job runs to the enqueue span (#154)
  • Extract the traceparent parser and formatter (#155)
  • Add a tracing chapter to the manual (#156)
  • Mark span readers as internal (#159)
  • Extract the SQL query summary (#163)

Full Changelog: v1.6.0-rc.2...v1.6.0-rc.3