## 0.8 (Unreleased) __BACKWARDS INCOMPATIBILITIES:__ * discovery: Prevent absolute URLs in check paths. The documentation indicated that absolute URLs are not allowed, but it was not enforced. Absolute URLs in HTTP check paths will now fail to validate. [[GH-3685](https://github.com/hashicorp/nomad/issues/3685)] IMPROVEMENTS: * discovery: Allow `check_restart` to be specified in the `service` stanza. [GH-3718] BUG FIXES: * core: Fix search endpoint forwarding for multi-region clusters [[GH-3680](https://github.com/hashicorp/nomad/issues/3680)] * core: Fix an issue in which batch jobs with queued placements and lost allocations could result in improper placement counts [[GH-3717](https://github.com/hashicorp/nomad/issues/3717)] * client: Migrated ephemeral_disk's maintain directory permissions [[GH-3723](https://github.com/hashicorp/nomad/issues/3723)] * client/vault: Recognize renewing non-renewable Vault lease as fatal [[GH-3727](https://github.com/hashicorp/nomad/issues/3727)] * config: Revert minimum CPU limit back to 20 from 100. * ui: Fix ui on non-leaders when ACLs are enabled [[GH-3722](https://github.com/hashicorp/nomad/issues/3722)] * ui: Fix requests using client-side certificates in Firefox. [[GH-3728](https://github.com/hashicorp/nomad/pull/3728)] ## 0.7.1 (December 19, 2017) __BACKWARDS INCOMPATIBILITIES:__ * client: The format of service IDs in Consul has changed. If you rely upon Nomad's service IDs (*not* service names; those are stable), you will need to update your code. [[GH-3632](https://github.com/hashicorp/nomad/issues/3632)] * config: Nomad no longer parses Atlas configuration stanzas. Atlas has been deprecated since earlier this year. If you have an Atlas stanza in your config file it will have to be removed. * config: Default minimum CPU configuration has been changed to 100 from 20. Jobs using the old minimum value of 20 will have to be updated. * telemetry: Hostname is now emitted via a tag rather than within the key name. To maintain old behavior during an upgrade path specify `backwards_compatible_metrics` in the telemetry configuration. IMPROVEMENTS: * core: Allow operators to reload TLS certificate and key files via SIGHUP [[GH-3479](https://github.com/hashicorp/nomad/issues/3479)] * core: Allow configurable stop signals for a task, when drivers support sending stop signals [[GH-1755](https://github.com/hashicorp/nomad/issues/1755)] * core: Allow agents to be run in `rpc_upgrade_mode` when migrating a cluster to TLS rather than changing `heartbeat_grace` * api: Allocations now track and return modify time in addition to create time [[GH-3446](https://github.com/hashicorp/nomad/issues/3446)] * api: Introduced new fields to track details and display message for task events, and deprecated redundant existing fields [[GH-3399](https://github.com/hashicorp/nomad/issues/3399)] * api: Environment variables are ignored during service name validation [[GH-3532](https://github.com/hashicorp/nomad/issues/3532)] * cli: Allocation create and modify times are displayed in a human readable relative format like `6 h ago` [[GH-3449](https://github.com/hashicorp/nomad/issues/3449)] * client: Support `address_mode` on checks [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] * client: Sticky volume migrations are now atomic. [[GH-3563](https://github.com/hashicorp/nomad/issues/3563)] * client: Added metrics to track state transitions of allocations [[GH-3061](https://github.com/hashicorp/nomad/issues/3061)] * client: When `network_interface` is unspecified use interface attached to default route [[GH-3546](https://github.com/hashicorp/nomad/issues/3546)] * client: Support numeric ports on services and checks when `address_mode="driver"` [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] * driver/docker: Detect OOM kill event [[GH-3459](https://github.com/hashicorp/nomad/issues/3459)] * driver/docker: Adds support for adding host device to container via `--device` [[GH-2938](https://github.com/hashicorp/nomad/issues/2938)] * driver/docker: Adds support for `ulimit` and `sysctl` options [[GH-3568](https://github.com/hashicorp/nomad/issues/3568)] * driver/docker: Adds support for StopTimeout (set to the same value as kill_timeout [[GH-3601](https://github.com/hashicorp/nomad/issues/3601)] * driver/rkt: Add support for passing through user [[GH-3612](https://github.com/hashicorp/nomad/issues/3612)] * driver/qemu: Support graceful shutdowns on unix platforms [[GH-3411](https://github.com/hashicorp/nomad/issues/3411)] * template: Updated to consul template 0.19.4 [[GH-3543](https://github.com/hashicorp/nomad/issues/3543)] * core/enterprise: Return 501 status code in Nomad Pro for Premium end points * ui: Added log streaming for tasks [[GH-3564](https://github.com/hashicorp/nomad/issues/3564)] * ui: Show the modify time for allocations [[GH-3607](https://github.com/hashicorp/nomad/issues/3607)] * ui: Added a dedicated Task page under allocations [[GH-3472](https://github.com/hashicorp/nomad/issues/3472)] * ui: Added placement failures to the Job Detail page [[GH-3603](https://github.com/hashicorp/nomad/issues/3603)] * ui: Warn uncaught exceptions to the developer console [[GH-3623](https://github.com/hashicorp/nomad/issues/3623)] BUG FIXES: * core: Fix issue in which restoring periodic jobs could fail when a leader election occurs [[GH-3646](https://github.com/hashicorp/nomad/issues/3646)] * core: Fix race condition in which rapid reprocessing of a blocked evaluation may lead to the scheduler not seeing the results of the previous scheduling event [[GH-3669](https://github.com/hashicorp/nomad/issues/3669)] * core: Fixed an issue where the leader server could get into a state where it was no longer performing the periodic leader loop duties after a barrier timeout error [[GH-3402](https://github.com/hashicorp/nomad/issues/3402)] * core: Fixes an issue with jobs that have `auto_revert` set to true, where reverting to a previously stable job that fails to start up causes an infinite cycle of reverts [[GH-3496](https://github.com/hashicorp/nomad/issues/3496)] * api: Apply correct memory default when task's do not specify memory explicitly [[GH-3520](https://github.com/hashicorp/nomad/issues/3520)] * cli: Fix passing Consul address via flags [[GH-3504](https://github.com/hashicorp/nomad/issues/3504)] * cli: Fix panic when running `keyring` commands [[GH-3509](https://github.com/hashicorp/nomad/issues/3509)] * client: Fix advertising services with tags that require URL escaping [[GH-3632](https://github.com/hashicorp/nomad/issues/3632)] * client: Fix a panic when restoring an allocation with a dead leader task [[GH-3502](https://github.com/hashicorp/nomad/issues/3502)] * client: Fix crash when following logs from a Windows node [[GH-3608](https://github.com/hashicorp/nomad/issues/3608)] * client: Fix service/check updating when just interpolated variables change [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] * client: Fix allocation accounting in GC and trigger GCs on allocation updates [[GH-3445](https://github.com/hashicorp/nomad/issues/3445)] * driver/docker: Fix container name conflict handling [[GH-3551](https://github.com/hashicorp/nomad/issues/3551)] * driver/rkt: Remove pods on shutdown [[GH-3562](https://github.com/hashicorp/nomad/issues/3562)] * driver/rkt: Don't require port maps when using host networking [[GH-3615](https://github.com/hashicorp/nomad/issues/3615)] * template: Fix issue where multiple environment variable templates would be parsed incorrectly when contents of one have changed after the initial rendering [[GH-3529](https://github.com/hashicorp/nomad/issues/3529)] * sentinel: (Nomad Enterprise) Fix an issue that could cause an import error when multiple Sentinel policies are applied * telemetry: Do not emit metrics for non-running tasks [[GH-3559](https://github.com/hashicorp/nomad/issues/3559)] * telemetry: Emit hostname as a tag rather than within the key name [[GH-3616](https://github.com/hashicorp/nomad/issues/3616)] * ui: Remove timezone text from timestamps [[GH-3621](https://github.com/hashicorp/nomad/issues/3621)] * ui: Allow cross-origin requests from the UI [[GH-3530](https://github.com/hashicorp/nomad/issues/3530)] * ui: Consistently use Clients instead of Nodes in copy [[GH-3466](https://github.com/hashicorp/nomad/issues/3466)] * ui: Fully expand the job definition on the Job Definition page [[GH-3631](https://github.com/hashicorp/nomad/issues/3631)] ## 0.7.0 (November 1, 2017) __BACKWARDS INCOMPATIBILITIES:__ * driver/rkt: Nomad now requires at least rkt version `1.27.0` for the rkt driver to function. Please update your version of rkt to at least this version. IMPROVEMENTS: * core: Capability based ACL system with authoratative region, providing federated ACLs. * core/enterprise: Sentinel integration for fine grain policy enforcement. * core/enterprise: Namespace support allowing jobs and their associated objects to be isolated from each other and other users of the cluster. * api: Allow force deregistration of a node [[GH-3447](https://github.com/hashicorp/nomad/issues/3447)] * api: New `/v1/agent/health` endpoint for health checks. * api: Metrics endpoint exposes Prometheus formatted metrics [[GH-3171](https://github.com/hashicorp/nomad/issues/3171)] * cli: Consul config option flags for nomad agent command [[GH-3327](https://github.com/hashicorp/nomad/issues/3327)] * discovery: Allow restarting unhealthy tasks with `check_restart` [[GH-3105](https://github.com/hashicorp/nomad/issues/3105)] * driver/rkt: Enable rkt driver to use address_mode = 'driver' [[GH-3256](https://github.com/hashicorp/nomad/issues/3256)] * telemetry: Add support for tagged metrics for Nomad clients [[GH-3147](https://github.com/hashicorp/nomad/issues/3147)] * telemetry: Add basic Prometheus configuration for a Nomad cluster [[GH-3186](https://github.com/hashicorp/nomad/issues/3186)] BUG FIXES: * core: Fix restoration of stopped periodic jobs [[GH-3201](https://github.com/hashicorp/nomad/issues/3201)] * core: Run deployment garbage collector on an interval [[GH-3267](https://github.com/hashicorp/nomad/issues/3267)] * core: Fix paramterized jobs occasionally showing status dead incorrectly [[GH-3460](https://github.com/hashicorp/nomad/issues/3460)] * core: Fix issue in which job versions above a threshold potentially wouldn't be stored [[GH-3372](https://github.com/hashicorp/nomad/issues/3372)] * core: Fix issue where node-drain with complete batch allocation would create replacement [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] * core: Allow batch jobs that have been purged to be rerun without a job specification change [[GH-3375](https://github.com/hashicorp/nomad/issues/3375)] * core: Fix issue in which batch allocations from previous job versions may not have been stopped properly. [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] * core: Fix issue in which allocations with the same name during a scale down/stop event wouldn't be properly stopped [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] * core: Fix a race condition in which scheduling results from one invocation of the scheduler wouldn't be considered by the next for the same job [[GH-3206](https://github.com/hashicorp/nomad/issues/3206)] * api: Sort /v1/agent/servers output so that output of Consul checks does not change [[GH-3214](https://github.com/hashicorp/nomad/issues/3214)] * api: Fix search handling of jobs with more than four hyphens and case were length could cause lookup error [[GH-3203](https://github.com/hashicorp/nomad/issues/3203)] * client: Improve the speed at which clients detect garbage collection events [GH_-3452] * client: Fix lock contention that could cause a node to miss a heartbeat and be marked as down [[GH-3195](https://github.com/hashicorp/nomad/issues/3195)] * client: Fix data race that could lead to concurrent map read/writes during hearbeating and fingerprinting [[GH-3461](https://github.com/hashicorp/nomad/issues/3461)] * driver/docker: Fix docker user specified syslogging [[GH-3184](https://github.com/hashicorp/nomad/issues/3184)] * driver/docker: Fix issue where CPU usage statistics were artificially high [[GH-3229](https://github.com/hashicorp/nomad/issues/3229)] * client/template: Fix issue in which secrets would be renewed too aggressively [[GH-3360](https://github.com/hashicorp/nomad/issues/3360)] ## 0.6.3 (September 11, 2017) BUG FIXES: * api: Search handles prefix longer than allowed UUIDs [[GH-3138](https://github.com/hashicorp/nomad/issues/3138)] * api: Search endpoint handles even UUID prefixes with hyphens [[GH-3120](https://github.com/hashicorp/nomad/issues/3120)] * api: Don't merge empty update stanza from job into task groups [[GH-3139](https://github.com/hashicorp/nomad/issues/3139)] * cli: Sort task groups when displaying a deployment [[GH-3137](https://github.com/hashicorp/nomad/issues/3137)] * cli: Handle reading files that are in a symlinked directory [[GH-3164](https://github.com/hashicorp/nomad/issues/3164)] * cli: All status commands handle even UUID prefixes with hyphens [[GH-3122](https://github.com/hashicorp/nomad/issues/3122)] * cli: Fix autocompletion of paths that include directories on zsh [[GH-3129](https://github.com/hashicorp/nomad/issues/3129)] * cli: Fix job deployment -latest handling of jobs without deployments [[GH-3166](https://github.com/hashicorp/nomad/issues/3166)] * cli: Hide CLI commands not expected to be run by user from autocomplete suggestions [[GH-3177](https://github.com/hashicorp/nomad/issues/3177)] * cli: Status command honors exact job match even when it is the prefix of another job [[GH-3120](https://github.com/hashicorp/nomad/issues/3120)] * cli: Fix setting of TLSServerName for node API Client. This fixes an issue of contacting nodes that are using TLS [[GH-3127](https://github.com/hashicorp/nomad/issues/3127)] * client/template: Fix issue in which the template block could cause high load on Vault when secret lease duration was less than the Vault grace [[GH-3153](https://github.com/hashicorp/nomad/issues/3153)] * driver/docker: Always purge stopped containers [[GH-3148](https://github.com/hashicorp/nomad/issues/3148)] * driver/docker: Fix MemorySwappiness on Windows [[GH-3187](https://github.com/hashicorp/nomad/issues/3187)] * driver/docker: Fix issue in which mounts could parse incorrectly [[GH-3163](https://github.com/hashicorp/nomad/issues/3163)] * driver/docker: Fix issue where potentially incorrect syslog server address is used [[GH-3135](https://github.com/hashicorp/nomad/issues/3135)] * driver/docker: Fix server url passed to credential helpers and properly capture error output [[GH-3165](https://github.com/hashicorp/nomad/issues/3165)] * jobspec: Allow distinct_host constraint to have L/RTarget set [[GH-3136](https://github.com/hashicorp/nomad/issues/3136)] ## 0.6.2 (August 28, 2017) BUG FIXES: * api/cli: Fix logs and fs api and command [[GH-3116](https://github.com/hashicorp/nomad/issues/3116)] ## 0.6.1 (August 28, 2017) __BACKWARDS INCOMPATIBILITIES:__ * deployment: Specifying an update stanza with a max_parallel of zero is now a validation error. Please update the stanza to be greater than zero or remove the stanza as a zero parallelism update is not valid. IMPROVEMENTS: * core: Lost allocations replaced even if part of failed deployment [[GH-2961](https://github.com/hashicorp/nomad/issues/2961)] * core: Add autocomplete functionality for resources: allocations, evaluations, jobs, deployments and nodes [[GH-2964](https://github.com/hashicorp/nomad/issues/2964)] * core: `distinct_property` constraint can set the number of allocations that are allowed to share a property value [[GH-2942](https://github.com/hashicorp/nomad/issues/2942)] * core: Placing allocation counts towards placement limit fixing issue where rolling update could remove an unnecessary amount of allocations [[GH-3070](https://github.com/hashicorp/nomad/issues/3070)] * api: Redact Vault.Token from AgentSelf response [[GH-2988](https://github.com/hashicorp/nomad/issues/2988)] * cli: node-status displays node version [[GH-3002](https://github.com/hashicorp/nomad/issues/3002)] * cli: Disable color output when STDOUT is not a TTY [[GH-3057](https://github.com/hashicorp/nomad/issues/3057)] * cli: Add autocomplete functionality for flags for all CLI command [GH 3087] * cli: Add status command which takes any identifier and routes to the appropriate status command. * client: Unmount task directories when alloc is terminal [[GH-3006](https://github.com/hashicorp/nomad/issues/3006)] * client/template: Allow template to set Vault grace [[GH-2947](https://github.com/hashicorp/nomad/issues/2947)] * client/template: Template emits events explaining why it is blocked [[GH-3001](https://github.com/hashicorp/nomad/issues/3001)] * deployment: Disallow max_parallel of zero [[GH-3081](https://github.com/hashicorp/nomad/issues/3081)] * deployment: Emit task events explaining unhealthy allocations [[GH-3025](https://github.com/hashicorp/nomad/issues/3025)] * deployment: Better description when a deployment should auto-revert but there is no target [[GH-3024](https://github.com/hashicorp/nomad/issues/3024)] * discovery: Add HTTP header and method support to checks [[GH-3031](https://github.com/hashicorp/nomad/issues/3031)] * driver/docker: Added DNS options [[GH-2992](https://github.com/hashicorp/nomad/issues/2992)] * driver/docker: Add mount options for volumes [[GH-3021](https://github.com/hashicorp/nomad/issues/3021)] * driver/docker: Allow retry of 500 API errors to be handled by restart policies when starting a container [[GH-3073](https://github.com/hashicorp/nomad/issues/3073)] * driver/rkt: support read-only volume mounts [[GH-2883](https://github.com/hashicorp/nomad/issues/2883)] * jobspec: Add `shutdown_delay` so tasks can delay shutdown after deregistering from Consul [[GH-3043](https://github.com/hashicorp/nomad/issues/3043)] BUG FIXES: * core: Fix purging of job versions [[GH-3056](https://github.com/hashicorp/nomad/issues/3056)] * core: Fix race creating EvalFuture [[GH-3051](https://github.com/hashicorp/nomad/issues/3051)] * core: Fix panic occuring from improper bitmap size [[GH-3023](https://github.com/hashicorp/nomad/issues/3023)] * core: Fix restoration of parameterized, periodic jobs [[GH-2959](https://github.com/hashicorp/nomad/issues/2959)] * core: Fix incorrect destructive update with `distinct_property` constraint [[GH-2939](https://github.com/hashicorp/nomad/issues/2939)] * cli: Fix autocmpleting global flags [[GH-2928](https://github.com/hashicorp/nomad/issues/2928)] * cli: Fix panic when using 0.6.0 cli with an older cluster [[GH-2929](https://github.com/hashicorp/nomad/issues/2929)] * cli: Fix TLS handling for alloc stats API calls [[GH-3108](https://github.com/hashicorp/nomad/issues/3108)] * client: Fix `LC_ALL=C` being set on subprocesses [[GH-3041](https://github.com/hashicorp/nomad/issues/3041)] * client/networking: Handle interfaces that only have link-local addresses while prefering globally routable addresses [[GH-3089](https://github.com/hashicorp/nomad/issues/3089)] * deployment: Fix alloc health with services/checks using interpolation [[GH-2984](https://github.com/hashicorp/nomad/issues/2984)] * discovery: Fix timeout validation for script checks [[GH-3022](https://github.com/hashicorp/nomad/issues/3022)] * driver/docker: Fix leaking plugin file used by syslog server [[GH-2937](https://github.com/hashicorp/nomad/issues/2937)] ## 0.6.0 (July 26, 2017) __BACKWARDS INCOMPATIBILITIES:__ * cli: When given a prefix that does not resolve to a particular object, commands now return exit code 1 rather than 0. IMPROVEMENTS: * core: Rolling updates based on allocation health [GH-2621, GH-2634, GH-2799] * core: New deployment object to track job updates [GH-2621, GH-2634, GH-2799] * core: Default advertise to private IP address if bind is 0.0.0.0 [[GH-2399](https://github.com/hashicorp/nomad/issues/2399)] * core: Track multiple job versions and add a stopped state for jobs [[GH-2566](https://github.com/hashicorp/nomad/issues/2566)] * core: Job updates can create canaries before beginning rolling update [GH-2621, GH-2634, GH-2799] * core: Back-pressure when evaluations are nacked and ensure scheduling progress on evaluation failures [[GH-2555](https://github.com/hashicorp/nomad/issues/2555)] * agent/config: Late binding to IP addresses using go-sockaddr/template syntax [[GH-2399](https://github.com/hashicorp/nomad/issues/2399)] * api: Add `verify_https_client` to require certificates from HTTP clients [[GH-2587](https://github.com/hashicorp/nomad/issues/2587)] * api/job: Ability to revert job to older versions [[GH-2575](https://github.com/hashicorp/nomad/issues/2575)] * cli: Autocomplete for CLI commands [[GH-2848](https://github.com/hashicorp/nomad/issues/2848)] * client: Use a random host UUID by default [[GH-2735](https://github.com/hashicorp/nomad/issues/2735)] * client: Add `NOMAD_GROUP_NAME` environment variable [[GH-2877](https://github.com/hashicorp/nomad/issues/2877)] * client: Environment variables for client DC and Region [[GH-2507](https://github.com/hashicorp/nomad/issues/2507)] * client: Hash host ID so its stable and well distributed [[GH-2541](https://github.com/hashicorp/nomad/issues/2541)] * client: GC dead allocs if total allocs > `gc_max_allocs` tunable [[GH-2636](https://github.com/hashicorp/nomad/issues/2636)] * client: Persist state using bolt-db and more efficient write patterns [[GH-2610](https://github.com/hashicorp/nomad/issues/2610)] * client: Fingerprint all routable addresses on an interface including IPv6 addresses [[GH-2536](https://github.com/hashicorp/nomad/issues/2536)] * client/artifact: Support .xz archives [[GH-2836](https://github.com/hashicorp/nomad/issues/2836)] * client/artifact: Allow specifying a go-getter mode [[GH-2781](https://github.com/hashicorp/nomad/issues/2781)] * client/artifact: Support non-Amazon S3-compatible sources [[GH-2781](https://github.com/hashicorp/nomad/issues/2781)] * client/template: Support reading env vars from templates [[GH-2654](https://github.com/hashicorp/nomad/issues/2654)] * config: Support Unix socket addresses for Consul [[GH-2622](https://github.com/hashicorp/nomad/issues/2622)] * discovery: Advertise driver-specified IP address and port [[GH-2709](https://github.com/hashicorp/nomad/issues/2709)] * discovery: Support `tls_skip_verify` for Consul HTTPS checks [[GH-2467](https://github.com/hashicorp/nomad/issues/2467)] * driver/docker: Allow specifying extra hosts [[GH-2547](https://github.com/hashicorp/nomad/issues/2547)] * driver/docker: Allow setting seccomp profiles [[GH-2658](https://github.com/hashicorp/nomad/issues/2658)] * driver/docker: Support Docker credential helpers [[GH-2651](https://github.com/hashicorp/nomad/issues/2651)] * driver/docker: Auth failures can optionally be ignored [[GH-2786](https://github.com/hashicorp/nomad/issues/2786)] * driver/docker: Add `driver.docker.bridge_ip` node attribute [[GH-2797](https://github.com/hashicorp/nomad/issues/2797)] * driver/docker: Allow setting container IP with user defined networks [[GH-2535](https://github.com/hashicorp/nomad/issues/2535)] * driver/rkt: Support `no_overlay` [[GH-2702](https://github.com/hashicorp/nomad/issues/2702)] * driver/rkt: Support `insecure_options` list [[GH-2695](https://github.com/hashicorp/nomad/issues/2695)] * server: Allow tuning of node heartbeat TTLs [[GH-2859](https://github.com/hashicorp/nomad/issues/2859)] * server/networking: Shrink dynamic port range to not overlap with majority of operating system's ephemeral port ranges to avoid port conflicts [[GH-2856](https://github.com/hashicorp/nomad/issues/2856)] BUG FIXES: * core: Protect against nil job in new allocation, avoiding panic [[GH-2592](https://github.com/hashicorp/nomad/issues/2592)] * core: System jobs should be running until explicitly stopped [[GH-2750](https://github.com/hashicorp/nomad/issues/2750)] * core: Prevent invalid job updates (eg service -> batch) [[GH-2746](https://github.com/hashicorp/nomad/issues/2746)] * client: Lookup `ip` utility on `$PATH` [[GH-2729](https://github.com/hashicorp/nomad/issues/2729)] * client: Add sticky bit to temp directory [[GH-2519](https://github.com/hashicorp/nomad/issues/2519)] * client: Shutdown task group leader before other tasks [[GH-2753](https://github.com/hashicorp/nomad/issues/2753)] * client: Include symlinks in snapshots when migrating disks [[GH-2687](https://github.com/hashicorp/nomad/issues/2687)] * client: Regression for allocation directory unix perms introduced in v0.5.6 fixed [[GH-2675](https://github.com/hashicorp/nomad/issues/2675)] * client: Client syncs allocation state with server before waiting for allocation destroy fixing a corner case in which an allocation may be blocked till destroy [[GH-2563](https://github.com/hashicorp/nomad/issues/2563)] * client: Improved state file handling and reduced write volume [[GH-2878](https://github.com/hashicorp/nomad/issues/2878)] * client/artifact: Honor netrc [[GH-2524](https://github.com/hashicorp/nomad/issues/2524)] * client/artifact: Handle tars where file in directory is listed before directory [[GH-2524](https://github.com/hashicorp/nomad/issues/2524)] * client/config: Use `cpu_total_compute` whenever it is set [[GH-2745](https://github.com/hashicorp/nomad/issues/2745)] * client/config: Respect `vault.tls_server_name` setting in consul-template [[GH-2793](https://github.com/hashicorp/nomad/issues/2793)] * driver/exec: Properly set file/dir ownership in chroots [[GH-2552](https://github.com/hashicorp/nomad/issues/2552)] * driver/docker: Fix panic in Docker driver on Windows [[GH-2614](https://github.com/hashicorp/nomad/issues/2614)] * driver/rkt: Fix env var interpolation [[GH-2777](https://github.com/hashicorp/nomad/issues/2777)] * jobspec/validation: Prevent static port conflicts [[GH-2807](https://github.com/hashicorp/nomad/issues/2807)] * server: Reject non-TLS clients when TLS enabled [[GH-2525](https://github.com/hashicorp/nomad/issues/2525)] * server: Fix a panic in plan evaluation with partial failures and all_at_once set [[GH-2544](https://github.com/hashicorp/nomad/issues/2544)] * server/periodic: Restoring periodic jobs takes launch time zone into consideration [[GH-2808](https://github.com/hashicorp/nomad/issues/2808)] * server/vault: Fix Vault Client panic when given nonexistant role [[GH-2648](https://github.com/hashicorp/nomad/issues/2648)] * telemetry: Fix merging of use node name [[GH-2762](https://github.com/hashicorp/nomad/issues/2762)] ## 0.5.6 (March 31, 2017) IMPROVEMENTS: * api: Improve log API error when task doesn't exist or hasn't started [[GH-2512](https://github.com/hashicorp/nomad/issues/2512)] * client: Improve error message when artifact downloading fails [[GH-2289](https://github.com/hashicorp/nomad/issues/2289)] * client: Track task start/finish time [[GH-2512](https://github.com/hashicorp/nomad/issues/2512)] * client/template: Access Node meta and attributes in template [[GH-2488](https://github.com/hashicorp/nomad/issues/2488)] BUG FIXES: * core: Fix periodic job state switching to dead incorrectly [[GH-2486](https://github.com/hashicorp/nomad/issues/2486)] * core: Fix dispatch of periodic job launching allocations immediately [[GH-2489](https://github.com/hashicorp/nomad/issues/2489)] * api: Fix TLS in logs and fs commands/APIs [[GH-2290](https://github.com/hashicorp/nomad/issues/2290)] * cli/plan: Fix diff alignment and remove no change DC output [[GH-2465](https://github.com/hashicorp/nomad/issues/2465)] * client: Fix panic when restarting non-running tasks [[GH-2480](https://github.com/hashicorp/nomad/issues/2480)] * client: Fix env vars when multiple tasks and ports present [[GH-2491](https://github.com/hashicorp/nomad/issues/2491)] * client: Fix `user` attribute disregarding membership of non-main group [[GH-2461](https://github.com/hashicorp/nomad/issues/2461)] * client/vault: Stop Vault token renewal on task exit [[GH-2495](https://github.com/hashicorp/nomad/issues/2495)] * driver/docker: Proper reference counting through task restarts [[GH-2484](https://github.com/hashicorp/nomad/issues/2484)] ## 0.5.5 (March 14, 2017) __BACKWARDS INCOMPATIBILITIES:__ * api: The api package definition of a Job has changed from exposing primitives to pointers to primitives to allow defaulting of unset fields. * driver/docker: The `load` configuration took an array of paths to images prior to this release. A single image is expected by the driver so this behavior has been changed to take a single path as a string. Jobs using the `load` command should update the syntax to a single string. [[GH-2361](https://github.com/hashicorp/nomad/issues/2361)] IMPROVEMENTS: * core: Handle Serf Reap event [[GH-2310](https://github.com/hashicorp/nomad/issues/2310)] * core: Update Serf and Memberlist for more reliable gossip [[GH-2255](https://github.com/hashicorp/nomad/issues/2255)] * api: API defaults missing values [[GH-2300](https://github.com/hashicorp/nomad/issues/2300)] * api: Validate the restart policy interval [[GH-2311](https://github.com/hashicorp/nomad/issues/2311)] * api: New task event for task environment setup [[GH-2302](https://github.com/hashicorp/nomad/issues/2302)] * api/cli: Add nomad operator command and API for interacting with Raft configuration [[GH-2305](https://github.com/hashicorp/nomad/issues/2305)] * cli: node-status displays enabled drivers on the node [[GH-2349](https://github.com/hashicorp/nomad/issues/2349)] * client: Apply GC related configurations properly [[GH-2273](https://github.com/hashicorp/nomad/issues/2273)] * client: Don't force uppercase meta keys in env vars [[GH-2338](https://github.com/hashicorp/nomad/issues/2338)] * client: Limit parallelism during garbage collection [[GH-2427](https://github.com/hashicorp/nomad/issues/2427)] * client: Don't exec `uname -r` for node attribute kernel.version [[GH-2380](https://github.com/hashicorp/nomad/issues/2380)] * client: Artifact support for git and hg as well as netrc support [[GH-2386](https://github.com/hashicorp/nomad/issues/2386)] * client: Add metrics to show number of allocations on in each state [[GH-2425](https://github.com/hashicorp/nomad/issues/2425)] * client: Add `NOMAD_{IP,PORT}__