Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.5 KB

CHANGELOG.markdown

File metadata and controls

67 lines (48 loc) · 2.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.4.0 (diff) - 2019-10-07

Added

  • Docket can pass options to docker-compose pull if you set DOCKET_PULL_OPTS.

0.3.0 (diff) - 2019-05-15

Changed

  • Docket now sets the working directory of Docker containers that use run go test or mount go sources to be the package's source code directory, which more closely matches what go test does.

Fixed

  • dkt propagates stdin so that docker-compose prompts work.

0.2.0 (diff) - 2019-01-11

Added

  • Examples in testdata are tutorials for how to use docket as well as test cases for the test suite, which is fairly exhaustive (over 90% coverage).
  • Docket automatically mounts your Go sources into services with the right labels ("run go test" and "mount go sources").
  • Docket now supports both GOPATH mode and module-aware mode.
  • dkt is a new tool which wraps docker-compose so you can more easily interact with your docket setup.

Changed

  • "Configs" have been replaced by "Modes".
    • Use DOCKET_MODE instead of GO_DOCKET_CONFIG.
    • docket determines which Docker Compose files to use by matching filenames based on the mode.
    • docket.Run no longer takes a ConfigMap.
    • docket.RunPrefix allows you to override the default prefix (docket).
    • Labels on Docker Compose services show docket where to bind-mount Go sources and where to run go test.
  • docket.Context.ExposedPort() was renamed to PublishedPort().
  • The prefix for environment variables is now DOCKET_ instead of GO_DOCKET_.

0.1.0 - 2018-07-23

First working version of the library.