Skip to content

Latest commit

 

History

History
104 lines (78 loc) · 6.89 KB

CHANGELOG.md

File metadata and controls

104 lines (78 loc) · 6.89 KB

UNRELEASED

BUG FIXES:

0.1.0 (October 31, 2023)

  • Generate Variable Override Files for Packs - With nomad-pack generate var-file, you can create a documented variable override file as a starting point for customizing a Nomad Pack for deploying in your environment.

  • Templating Non-Job Files - Pack authors can now add non-job templates to their packs. These extra files could be used to provide pre-built configuration files, or to generate Nomad dependency configurations, like ACL policies and Volume configurations for operators to load into their clusters before deploying the pack to their cluster.

  • Vendoring Dependencies - With nomad-pack deps vendor, you can automatically download all the dependencies listed in the metadata.hcl file into a deps/ subdirectory.

BUG FIXES:

  • cli: generate registry command creates registry in properly named folder [GH-445]
  • cli: generate pack validates name argument [GH-460]

IMPROVEMENTS:

  • cache: Change the way registries are stored and versioned in the cache [GH-356]
  • cli: Add generate var-file command [GH-333]
  • cli: registry list command now shows git refs to repositories present in the cache [GH-318]
  • cli: registry list command now shows only registries, and a new command list shows packs [GH-337], [GH-373]
  • cli: deps vendor command [GH-367]
  • cli: deps vendor command now allows dependencies to be pinned [GH-447]
  • cli: generate pack command now supports --overwrite flag [GH-380]
  • cli: registry add command now uses shallow cloning [GH-444]
  • deps: Update the Nomad OpenAPI dependency; require Go 1.18 as a build dependency [GH-288]
  • pack: Author field no longer supported in pack metadata [GH-317]
  • pack: URL field no longer supported in pack metadata [GH-343]
  • runner: Submit the job spec to Nomad while running pack [GH-375]
  • template: Render templates other than Nomad job specifications inside templates/ [GH-303]
  • template: Automatically format templates before outputting [GH-311]
  • template: Skip templates that would render to just whitespace [GH-313]
  • template: Extract namespace and region from the templates before submitting them to the client [GH-366]
  • vars: Add flag to ignore variables provided in the given var-files unused by the pack [GH-315]

0.0.1-techpreview.3 (July 21, 2022)

FEATURES:

  • Generate Sample Pack or Registry - Using the nomad-pack generate command, you can get started writing your own pack or building your own pack registry using built-in starting artifacts.

BUG FIXES:

  • cli: Add missing --name flag for status command [GH-212]
  • cli: Remove duplicate this in some command outputs [GH-251]
  • cli: Use Pack metadata Name in error context once known [GH-217]
  • cli: Fixed a panic in the info command when outputting a variable with a nil type [GH-254]
  • cli: Fixed a bug that prevented the use of map of maps variables [GH-272]
  • runner: Update runner to properly handle dependencies [GH-229]

IMPROVEMENTS:

  • cli: Add flags to configure Nomad API client [GH-213]
  • template: Add support for custom Spew configurations. [GH-220]
  • template: Create a my alias for the current pack [GH-221]
  • cli: Add flags to override exit codes on plan command [GH-236]
  • cli: Add environment variables to configure Nomad API client [GH-230]
  • deps: Update the Nomad OpenAPI dependency [GH-270]

0.0.1-techpreview2 (February 07, 2022)

FEATURES:

  • Run Pack from Folder - Nomad Pack can run and render packs stored in the current folder. For example, if the current folder contains a pack named simple-service, you can run it using nomad-pack run ./simple-service.

  • Set Nomad Pack variables using environment variables - Pack reads the environment for variables prefixed with NOMAD_PACK_VAR_ and supplies them to the running pack.

BUG FIXES:

  • template: Handle HEREDOC delimiter immediately before EOF [GH-191]
  • cli: display API client errors in CLI output [GH-183]
  • cli: add flags to info command help output [GH-200]
  • cli: fix panic from bad registry metadata [GH-202]

IMPROVEMENTS:

  • cache: Moved the pack registry cache to the platform-specific user cache directory [GH-172]
  • cli: Don't build pack registry cache during the version command [GH-128]
  • cli: Support Nomad ACLs and mTLS configuration [GH-177, GH-205]
  • cli/plan: Run template canonicalization before planning to fix diffs [GH-181]
  • dependencies: Removed direct import of Nomad code base [GH-157]
  • template: Added toStringList function [GH-136]
  • template: Update Sprig library to v3 [GH-197]

0.0.1-techpreview1 (October 19, 2021)

Initial release.