github.com/blixtra/nomad@v0.7.2-0.20171221000451-da9a1d7bb050/CHANGELOG.md (about)

     1  ## 0.8 (Unreleased)
     2  
     3  BUG FIXES:
     4   * core: Fix search endpoint forwarding for multi-region clusters [GH-3680]
     5  
     6  ## 0.7.1 (December 19, 2017)
     7  
     8  __BACKWARDS INCOMPATIBILITIES:__
     9   * client: The format of service IDs in Consul has changed. If you rely upon
    10     Nomad's service IDs (*not* service names; those are stable), you will need
    11     to update your code.  [GH-3632]
    12   * config: Nomad no longer parses Atlas configuration stanzas. Atlas has been
    13     deprecated since earlier this year. If you have an Atlas stanza in your
    14     config file it will have to be removed.
    15   * telemetry: Hostname is now emitted via a tag rather than within the key name.
    16     To maintain old behavior during an upgrade path specify
    17     `backwards_compatible_metrics` in the telemetry configuration.
    18  
    19  IMPROVEMENTS:
    20   * core: Allow operators to reload TLS certificate and key files via SIGHUP
    21     [GH-3479]
    22   * core: Allow configurable stop signals for a task, when drivers support
    23     sending stop signals [GH-1755]
    24   * core: Allow agents to be run in `rpc_upgrade_mode` when migrating a cluster
    25     to TLS rather than changing `heartbeat_grace`
    26   * api: Allocations now track and return modify time in addition to create time
    27     [GH-3446]
    28   * api: Introduced new fields to track details and display message for task
    29     events, and deprecated redundant existing fields [GH-3399]
    30   * api: Environment variables are ignored during service name validation [GH-3532]
    31   * cli: Allocation create and modify times are displayed in a human readable
    32     relative format like `6 h ago` [GH-3449]
    33   * client: Support `address_mode` on checks [GH-3619]
    34   * client: Sticky volume migrations are now atomic. [GH-3563]
    35   * client: Added metrics to track state transitions of allocations [GH-3061]
    36   * client: When `network_interface` is unspecified use interface attached to
    37     default route [GH-3546]
    38   * client: Support numeric ports on services and checks when
    39     `address_mode="driver"` [GH-3619]
    40   * driver/docker: Detect OOM kill event [GH-3459]
    41   * driver/docker: Adds support for adding host device to container via
    42     `--device` [GH-2938]
    43   * driver/docker: Adds support for `ulimit` and `sysctl` options [GH-3568]
    44   * driver/docker: Adds support for StopTimeout (set to the same value as
    45     kill_timeout [GH-3601]
    46   * driver/rkt: Add support for passing through user [GH-3612]
    47   * driver/qemu: Support graceful shutdowns on unix platforms [GH-3411]
    48   * template: Updated to consul template 0.19.4 [GH-3543]
    49   * core/enterprise: Return 501 status code in Nomad Pro for Premium end points
    50   * ui: Added log streaming for tasks [GH-3564]
    51   * ui: Show the modify time for allocations [GH-3607]
    52   * ui: Added a dedicated Task page under allocations [GH-3472]
    53   * ui: Added placement failures to the Job Detail page [GH-3603]
    54   * ui: Warn uncaught exceptions to the developer console [GH-3623]
    55  
    56  BUG FIXES:
    57  
    58   * core: Fix issue in which restoring periodic jobs could fail when a leader
    59     election occurs [GH-3646]
    60   * core: Fix race condition in which rapid reprocessing of a blocked evaluation
    61     may lead to the scheduler not seeing the results of the previous scheduling
    62     event [GH-3669]
    63   * core: Fixed an issue where the leader server could get into a state where it
    64     was no longer performing the periodic leader loop duties after a barrier
    65     timeout error [GH-3402]
    66   * core: Fixes an issue with jobs that have `auto_revert` set to true, where
    67     reverting to a previously stable job that fails to start up causes an
    68     infinite cycle of reverts [GH-3496]
    69   * api: Apply correct memory default when task's do not specify memory
    70     explicitly [GH-3520]
    71   * cli: Fix passing Consul address via flags [GH-3504]
    72   * cli: Fix panic when running `keyring` commands [GH-3509]
    73   * client: Fix advertising services with tags that require URL escaping
    74     [GH-3632]
    75   * client: Fix a panic when restoring an allocation with a dead leader task
    76     [GH-3502]
    77   * client: Fix crash when following logs from a Windows node [GH-3608]
    78   * client: Fix service/check updating when just interpolated variables change
    79     [GH-3619]
    80   * client: Fix allocation accounting in GC and trigger GCs on allocation
    81     updates [GH-3445]
    82   * driver/docker: Fix container name conflict handling [GH-3551]
    83   * driver/rkt: Remove pods on shutdown [GH-3562]
    84   * driver/rkt: Don't require port maps when using host networking [GH-3615]
    85   * template: Fix issue where multiple environment variable templates would be
    86     parsed incorrectly when contents of one have changed after the initial
    87     rendering [GH-3529]
    88   * sentinel: (Nomad Enterprise) Fix an issue that could cause an import error
    89     when multiple Sentinel policies are applied
    90   * telemetry: Do not emit metrics for non-running tasks [GH-3559]
    91   * telemetry: Emit hostname as a tag rather than within the key name [GH-3616]
    92   * ui: Remove timezone text from timestamps [GH-3621]
    93   * ui: Allow cross-origin requests from the UI [GH-3530]
    94   * ui: Consistently use Clients instead of Nodes in copy [GH-3466]
    95   * ui: Fully expand the job definition on the Job Definition page [GH-3631]
    96  
    97  ## 0.7.0 (November 1, 2017)
    98  
    99  __BACKWARDS INCOMPATIBILITIES:__
   100   * driver/rkt: Nomad now requires at least rkt version `1.27.0` for the rkt
   101     driver to function. Please update your version of rkt to at least this
   102     version.
   103  
   104  IMPROVEMENTS:
   105   * core: Capability based ACL system with authoratative region, providing
   106     federated ACLs.
   107   * core/enterprise: Sentinel integration for fine grain policy enforcement.
   108   * core/enterprise: Namespace support allowing jobs and their associated
   109     objects to be isolated from each other and other users of the cluster.
   110   * api: Allow force deregistration of a node [GH-3447]
   111   * api: New `/v1/agent/health` endpoint for health checks.
   112   * api: Metrics endpoint exposes Prometheus formatted metrics [GH-3171]
   113   * cli: Consul config option flags for nomad agent command [GH-3327]
   114   * discovery: Allow restarting unhealthy tasks with `check_restart` [GH-3105]
   115   * driver/rkt: Enable rkt driver to use address_mode = 'driver' [GH-3256]
   116   * telemetry: Add support for tagged metrics for Nomad clients [GH-3147]
   117   * telemetry: Add basic Prometheus configuration for a Nomad cluster [GH-3186]
   118  
   119  BUG FIXES:
   120   * core: Fix restoration of stopped periodic jobs [GH-3201]
   121   * core: Run deployment garbage collector on an interval [GH-3267]
   122   * core: Fix paramterized jobs occasionally showing status dead incorrectly
   123     [GH-3460]
   124   * core: Fix issue in which job versions above a threshold potentially wouldn't
   125     be stored [GH-3372]
   126   * core: Fix issue where node-drain with complete batch allocation would create
   127     replacement [GH-3217]
   128   * core: Allow batch jobs that have been purged to be rerun without a job
   129     specification change [GH-3375]
   130   * core: Fix issue in which batch allocations from previous job versions may not
   131     have been stopped properly. [GH-3217]
   132   * core: Fix issue in which allocations with the same name during a scale
   133     down/stop event wouldn't be properly stopped [GH-3217]
   134   * core: Fix a race condition in which scheduling results from one invocation of
   135     the scheduler wouldn't be considered by the next for the same job [GH-3206]
   136   * api: Sort /v1/agent/servers output so that output of Consul checks does not
   137     change [GH-3214]
   138   * api: Fix search handling of jobs with more than four hyphens and case were
   139     length could cause lookup error [GH-3203]
   140   * client: Improve the speed at which clients detect garbage collection events
   141     [GH_-3452]
   142   * client: Fix lock contention that could cause a node to miss a heartbeat and
   143     be marked as down [GH-3195]
   144   * client: Fix data race that could lead to concurrent map read/writes during
   145     hearbeating and fingerprinting [GH-3461]
   146   * driver/docker: Fix docker user specified syslogging [GH-3184]
   147   * driver/docker: Fix issue where CPU usage statistics were artificially high
   148     [GH-3229]
   149   * client/template: Fix issue in which secrets would be renewed too aggressively
   150     [GH-3360]
   151  
   152  ## 0.6.3 (September 11, 2017)
   153  
   154  BUG FIXES:
   155   * api: Search handles prefix longer than allowed UUIDs [GH-3138]
   156   * api: Search endpoint handles even UUID prefixes with hyphens [GH-3120]
   157   * api: Don't merge empty update stanza from job into task groups [GH-3139]
   158   * cli: Sort task groups when displaying a deployment [GH-3137]
   159   * cli: Handle reading files that are in a symlinked directory [GH-3164]
   160   * cli: All status commands handle even UUID prefixes with hyphens [GH-3122]
   161   * cli: Fix autocompletion of paths that include directories on zsh [GH-3129]
   162   * cli: Fix job deployment -latest handling of jobs without deployments
   163     [GH-3166]
   164   * cli: Hide CLI commands not expected to be run by user from autocomplete
   165     suggestions [GH-3177]
   166   * cli: Status command honors exact job match even when it is the prefix of
   167     another job [GH-3120]
   168   * cli: Fix setting of TLSServerName for node API Client. This fixes an issue of
   169     contacting nodes that are using TLS [GH-3127]
   170   * client/template: Fix issue in which the template block could cause high load
   171     on Vault when secret lease duration was less than the Vault grace [GH-3153]
   172   * driver/docker: Always purge stopped containers [GH-3148]
   173   * driver/docker: Fix MemorySwappiness on Windows [GH-3187]
   174   * driver/docker: Fix issue in which mounts could parse incorrectly [GH-3163]
   175   * driver/docker: Fix issue where potentially incorrect syslog server address is
   176     used [GH-3135]
   177   * driver/docker: Fix server url passed to credential helpers and properly
   178     capture error output [GH-3165]
   179   * jobspec: Allow distinct_host constraint to have L/RTarget set [GH-3136]
   180  
   181  ## 0.6.2 (August 28, 2017)
   182  
   183  BUG FIXES:
   184   * api/cli: Fix logs and fs api and command [GH-3116]
   185  
   186  ## 0.6.1 (August 28, 2017)
   187  
   188  __BACKWARDS INCOMPATIBILITIES:__
   189   * deployment: Specifying an update stanza with a max_parallel of zero is now
   190     a validation error. Please update the stanza to be greater than zero or
   191     remove the stanza as a zero parallelism update is not valid.
   192  
   193  IMPROVEMENTS:
   194   * core: Lost allocations replaced even if part of failed deployment [GH-2961]
   195   * core: Add autocomplete functionality for resources: allocations, evaluations,
   196     jobs, deployments and nodes [GH-2964]
   197   * core: `distinct_property` constraint can set the number of allocations that
   198     are allowed to share a property value [GH-2942]
   199   * core: Placing allocation counts towards placement limit fixing issue where
   200     rolling update could remove an unnecessary amount of allocations [GH-3070]
   201   * api: Redact Vault.Token from AgentSelf response [GH-2988]
   202   * cli: node-status displays node version [GH-3002]
   203   * cli: Disable color output when STDOUT is not a TTY [GH-3057]
   204   * cli: Add autocomplete functionality for flags for all CLI command [GH 3087]
   205   * cli: Add status command which takes any identifier and routes to the
   206     appropriate status command.
   207   * client: Unmount task directories when alloc is terminal [GH-3006]
   208   * client/template: Allow template to set Vault grace [GH-2947]
   209   * client/template: Template emits events explaining why it is blocked [GH-3001]
   210   * deployment: Disallow max_parallel of zero [GH-3081]
   211   * deployment: Emit task events explaining unhealthy allocations [GH-3025]
   212   * deployment: Better description when a deployment should auto-revert but there
   213     is no target [GH-3024]
   214   * discovery: Add HTTP header and method support to checks [GH-3031]
   215   * driver/docker: Added DNS options [GH-2992]
   216   * driver/docker: Add mount options for volumes [GH-3021]
   217   * driver/docker: Allow retry of 500 API errors to be handled by restart
   218     policies when starting a container [GH-3073]
   219   * driver/rkt: support read-only volume mounts [GH-2883]
   220   * jobspec: Add `shutdown_delay` so tasks can delay shutdown after deregistering
   221     from Consul [GH-3043]
   222  
   223  BUG FIXES:
   224   * core: Fix purging of job versions [GH-3056]
   225   * core: Fix race creating EvalFuture [GH-3051]
   226   * core: Fix panic occuring from improper bitmap size [GH-3023]
   227   * core: Fix restoration of parameterized, periodic jobs [GH-2959]
   228   * core: Fix incorrect destructive update with `distinct_property` constraint
   229     [GH-2939]
   230   * cli: Fix autocmpleting global flags [GH-2928]
   231   * cli: Fix panic when using 0.6.0 cli with an older cluster [GH-2929]
   232   * cli: Fix TLS handling for alloc stats API calls [GH-3108]
   233   * client: Fix `LC_ALL=C` being set on subprocesses [GH-3041]
   234   * client/networking: Handle interfaces that only have link-local addresses
   235     while prefering globally routable addresses [GH-3089]
   236   * deployment: Fix alloc health with services/checks using interpolation
   237     [GH-2984]
   238   * discovery: Fix timeout validation for script checks [GH-3022]
   239   * driver/docker: Fix leaking plugin file used by syslog server [GH-2937]
   240  
   241  ## 0.6.0 (July 26, 2017)
   242  
   243  __BACKWARDS INCOMPATIBILITIES:__
   244   * cli: When given a prefix that does not resolve to a particular object,
   245     commands now return exit code 1 rather than 0.
   246  
   247  IMPROVEMENTS:
   248   * core: Rolling updates based on allocation health [GH-2621, GH-2634, GH-2799]
   249   * core: New deployment object to track job updates [GH-2621, GH-2634, GH-2799]
   250   * core: Default advertise to private IP address if bind is 0.0.0.0 [GH-2399]
   251   * core: Track multiple job versions and add a stopped state for jobs [GH-2566]
   252   * core: Job updates can create canaries before beginning rolling update
   253     [GH-2621, GH-2634, GH-2799]
   254   * core: Back-pressure when evaluations are nacked and ensure scheduling
   255     progress on evaluation failures [GH-2555]
   256   * agent/config: Late binding to IP addresses using go-sockaddr/template syntax
   257     [GH-2399]
   258   * api: Add `verify_https_client` to require certificates from HTTP clients
   259     [GH-2587]
   260   * api/job: Ability to revert job to older versions [GH-2575]
   261   * cli: Autocomplete for CLI commands [GH-2848]
   262   * client: Use a random host UUID by default [GH-2735]
   263   * client: Add `NOMAD_GROUP_NAME` environment variable [GH-2877]
   264   * client: Environment variables for client DC and Region [GH-2507]
   265   * client: Hash host ID so its stable and well distributed [GH-2541]
   266   * client: GC dead allocs if total allocs > `gc_max_allocs` tunable [GH-2636]
   267   * client: Persist state using bolt-db and more efficient write patterns
   268     [GH-2610]
   269   * client: Fingerprint all routable addresses on an interface including IPv6
   270     addresses [GH-2536]
   271   * client/artifact: Support .xz archives [GH-2836]
   272   * client/artifact: Allow specifying a go-getter mode [GH-2781]
   273   * client/artifact: Support non-Amazon S3-compatible sources [GH-2781]
   274   * client/template: Support reading env vars from templates [GH-2654]
   275   * config: Support Unix socket addresses for Consul [GH-2622]
   276   * discovery: Advertise driver-specified IP address and port [GH-2709]
   277   * discovery: Support `tls_skip_verify` for Consul HTTPS checks [GH-2467]
   278   * driver/docker: Allow specifying extra hosts [GH-2547]
   279   * driver/docker: Allow setting seccomp profiles [GH-2658]
   280   * driver/docker: Support Docker credential helpers [GH-2651]
   281   * driver/docker: Auth failures can optionally be ignored [GH-2786]
   282   * driver/docker: Add `driver.docker.bridge_ip` node attribute [GH-2797]
   283   * driver/docker: Allow setting container IP with user defined networks
   284     [GH-2535]
   285   * driver/rkt: Support `no_overlay` [GH-2702]
   286   * driver/rkt: Support `insecure_options` list [GH-2695]
   287   * server: Allow tuning of node heartbeat TTLs [GH-2859]
   288   * server/networking: Shrink dynamic port range to not overlap with majority of
   289     operating system's ephemeral port ranges to avoid port conflicts [GH-2856]
   290  
   291  BUG FIXES:
   292   * core: Protect against nil job in new allocation, avoiding panic [GH-2592]
   293   * core: System jobs should be running until explicitly stopped [GH-2750]
   294   * core: Prevent invalid job updates (eg service -> batch) [GH-2746]
   295   * client: Lookup `ip` utility on `$PATH` [GH-2729]
   296   * client: Add sticky bit to temp directory [GH-2519]
   297   * client: Shutdown task group leader before other tasks [GH-2753]
   298   * client: Include symlinks in snapshots when migrating disks [GH-2687]
   299   * client: Regression for allocation directory unix perms introduced in v0.5.6
   300     fixed [GH-2675]
   301   * client: Client syncs allocation state with server before waiting for
   302     allocation destroy fixing a corner case in which an allocation may be blocked
   303     till destroy [GH-2563]
   304   * client: Improved state file handling and reduced write volume [GH-2878]
   305   * client/artifact: Honor netrc [GH-2524]
   306   * client/artifact: Handle tars where file in directory is listed before
   307     directory [GH-2524]
   308   * client/config: Use `cpu_total_compute` whenever it is set [GH-2745]
   309   * client/config: Respect `vault.tls_server_name` setting in consul-template
   310     [GH-2793]
   311   * driver/exec: Properly set file/dir ownership in chroots [GH-2552]
   312   * driver/docker: Fix panic in Docker driver on Windows [GH-2614]
   313   * driver/rkt: Fix env var interpolation [GH-2777]
   314   * jobspec/validation: Prevent static port conflicts [GH-2807]
   315   * server: Reject non-TLS clients when TLS enabled [GH-2525]
   316   * server: Fix a panic in plan evaluation with partial failures and all_at_once
   317     set [GH-2544]
   318   * server/periodic: Restoring periodic jobs takes launch time zone into
   319     consideration [GH-2808]
   320   * server/vault: Fix Vault Client panic when given nonexistant role [GH-2648]
   321   * telemetry: Fix merging of use node name [GH-2762]
   322  
   323  ## 0.5.6 (March 31, 2017)
   324  
   325  IMPROVEMENTS:
   326    * api: Improve log API error when task doesn't exist or hasn't started
   327      [GH-2512]
   328    * client: Improve error message when artifact downloading fails [GH-2289]
   329    * client: Track task start/finish time [GH-2512]
   330    * client/template: Access Node meta and attributes in template [GH-2488]
   331  
   332  BUG FIXES:
   333    * core: Fix periodic job state switching to dead incorrectly [GH-2486]
   334    * core: Fix dispatch of periodic job launching allocations immediately
   335      [GH-2489]
   336    * api: Fix TLS in logs and fs commands/APIs [GH-2290]
   337    * cli/plan: Fix diff alignment and remove no change DC output [GH-2465]
   338    * client: Fix panic when restarting non-running tasks [GH-2480]
   339    * client: Fix env vars when multiple tasks and ports present [GH-2491]
   340    * client: Fix `user` attribute disregarding membership of non-main group
   341      [GH-2461]
   342    * client/vault: Stop Vault token renewal on task exit [GH-2495]
   343    * driver/docker: Proper reference counting through task restarts [GH-2484]
   344  
   345  ## 0.5.5 (March 14, 2017)
   346  
   347  __BACKWARDS INCOMPATIBILITIES:__
   348    * api: The api package definition of a Job has changed from exposing
   349      primitives to pointers to primitives to allow defaulting of unset fields.
   350    * driver/docker: The `load` configuration took an array of paths to images
   351      prior to this release. A single image is expected by the driver so this
   352      behavior has been changed to take a single path as a string. Jobs using the
   353      `load` command should update the syntax to a single string.  [GH-2361]
   354  
   355  IMPROVEMENTS:
   356    * core: Handle Serf Reap event [GH-2310]
   357    * core: Update Serf and Memberlist for more reliable gossip [GH-2255]
   358    * api: API defaults missing values [GH-2300]
   359    * api: Validate the restart policy interval [GH-2311]
   360    * api: New task event for task environment setup [GH-2302]
   361    * api/cli: Add nomad operator command and API for interacting with Raft
   362      configuration [GH-2305]
   363    * cli: node-status displays enabled drivers on the node [GH-2349]
   364    * client: Apply GC related configurations properly [GH-2273]
   365    * client: Don't force uppercase meta keys in env vars [GH-2338]
   366    * client: Limit parallelism during garbage collection [GH-2427]
   367    * client: Don't exec `uname -r` for node attribute kernel.version [GH-2380]
   368    * client: Artifact support for git and hg as well as netrc support [GH-2386]
   369    * client: Add metrics to show number of allocations on in each state [GH-2425]
   370    * client: Add `NOMAD_{IP,PORT}_<task>_<label>` environment variables [GH-2426]
   371    * client: Allow specification of `cpu_total_compute` to override fingerprinter
   372      [GH-2447]
   373    * client: Reproducible Node ID on OSes that provide system-level UUID
   374      [GH-2277]
   375    * driver/docker: Add support for volume drivers [GH-2351]
   376    * driver/docker: Docker image coordinator and caching [GH-2361]
   377    * jobspec: Add leader task to allow graceful shutdown of other tasks within
   378      the task group [GH-2308]
   379    * periodic: Allow specification of timezones in Periodic Jobs [GH-2321]
   380    * scheduler: New `distinct_property` constraint [GH-2418]
   381    * server: Allow specification of eval/job gc threshold [GH-2370]
   382    * server/vault: Vault Client on Server handles SIGHUP to reload configs
   383      [GH-2270]
   384    * telemetry: Clients report allocated/unallocated resources [GH-2327]
   385    * template: Allow specification of template delimiters [GH-2315]
   386    * template: Permissions can be set on template destination file [GH-2262]
   387    * vault: Server side Vault telemetry [GH-2318]
   388    * vault: Disallow root policy from being specified [GH-2309]
   389  
   390  BUG FIXES:
   391    * core: Handle periodic paramaterized jobs [GH-2385]
   392    * core: Improve garbage collection of stopped batch jobs [GH-2432]
   393    * api: Fix escaping of HTML characters [GH-2322]
   394    * cli: Display disk resources in alloc-status [GH-2404]
   395    * client: Drivers log during fingerprinting [GH-2337]
   396    * client: Fix race condition with deriving vault tokens [GH-2275]
   397    * client: Fix remounting alloc dirs after reboots [GH-2391] [GH-2394]
   398    * client: Replace `-` with `_` in environment variable names [GH-2406]
   399    * client: Fix panic and deadlock during client restore state when prestart
   400      fails [GH-2376]
   401    * config: Fix Consul Config Merging/Copying [GH-2278]
   402    * config: Fix Client reserved resource merging panic [GH-2281]
   403    * server: Fix panic when forwarding Vault derivation requests from non-leader
   404      servers [GH-2267]
   405  
   406  ## 0.5.4 (January 31, 2017)
   407  
   408  IMPROVEMENTS:
   409    * client: Made the GC related tunables configurable via client configuration
   410      [GH-2261]
   411  
   412  BUG FIXES:
   413    * client: Fix panic when upgrading to 0.5.3 [GH-2256]
   414  
   415  ## 0.5.3 (January 30, 2017)
   416  
   417  IMPROVEMENTS:
   418    * core: Introduce parameterized jobs and dispatch command/API [GH-2128]
   419    * core: Cancel blocked evals upon successful one for job [GH-2155]
   420    * api: Added APIs for requesting GC of allocations [GH-2192]
   421    * api: Job summary endpoint includes summary status for child jobs [GH-2128]
   422    * api/client: Plain text log streaming suitable for viewing logs in a browser
   423      [GH-2235]
   424    * cli: Defaulting to showing allocations which belong to currently registered
   425      job [GH-2032]
   426    * client: Garbage collect Allocation Runners to free up disk resouces
   427      [GH-2081]
   428    * client: Don't retrieve Driver Stats if unsupported [GH-2173]
   429    * client: Filter log lines in the executor based on client's log level
   430      [GH-2172]
   431    * client: Added environment variables to discover addresses of sibling tasks
   432      in an allocation [GH-2223]
   433    * discovery: Register service with duplicate names on different ports [GH-2208]
   434    * driver/docker: Add support for network aliases [GH-1980]
   435    * driver/docker: Add `force_pull` option to force downloading an image [GH-2147]
   436    * driver/docker: Retry when image is not found while creating a container
   437      [GH-2222]
   438    * driver/java: Support setting class_path and class name. [GH-2199]
   439    * telemetry: Prefix gauge values with node name instead of hostname [GH-2098]
   440    * template: The template block supports keyOrDefault [GH-2209]
   441    * template: The template block can now interpolate Nomad environment variables
   442      [GH-2209]
   443    * vault: Improve validation of the Vault token given to Nomad servers
   444      [GH-2226]
   445    * vault: Support setting the Vault role to derive tokens from with
   446      `create_from_role` setting [GH-2226]
   447  
   448  BUG FIXES:
   449    * client: Fixed namespacing for the cpu arch attribute [GH-2161]
   450    * client: Fix issue where allocations weren't pulled for several minutes. This
   451      manifested as slow starts, delayed kills, etc [GH-2177]
   452    * client: Fix a panic that would occur with a racy alloc migration
   453      cancellation [GH-2231]
   454    * config: Fix merging of Consul options which caused auto_adverise to be
   455      ignored [GH-2159]
   456    * driver: Fix image based drivers (eg docker) having host env vars set [GH-2211]
   457    * driver/docker: Fix Docker auth/logging interprelation [GH-2063, GH-2130]
   458    * driver/docker: Fix parsing of Docker Auth Configurations. New parsing is
   459      in-line with Docker itself. Also log debug message if auth lookup failed
   460      [GH-2190]
   461    * template: Fix splay being used as a wait and instead randomize the delay
   462      from 0 seconds to splay duration [GH-2227]
   463  
   464  ## 0.5.2 (December 23, 2016)
   465  
   466  BUG FIXES:
   467    * client: Fixed a race condition and remove panic when handling duplicate
   468      allocations [GH-2096]
   469    * client: Cancel wait for remote allocation if migration is no longer required
   470      [GH-2097]
   471    * client: Failure to stat a single mountpoint does not cause all of host
   472      resource usage collection to fail [GH-2090]
   473  
   474  ## 0.5.1 (December 12, 2016)
   475  
   476  IMPROVEMENTS:
   477    * driver/rkt: Support rkt's `--dns=host` and `--dns=none` options [GH-2028]
   478  
   479  BUG FIXES:
   480    * agent/config: Fix use of IPv6 addresses [GH-2036]
   481    * api: Fix file descriptor leak and high CPU usage when using the logs
   482      endpoint [GH-2079]
   483    * cli: Improve parsing error when a job without a name is specified [GH-2030]
   484    * client: Fixed permissions of migrated allocation directory [GH-2061]
   485    * client: Ensuring allocations are not blocked more than once [GH-2040]
   486    * client: Fix race on StreamFramer Destroy which would cause a panic [GH-2007]
   487    * client: Not migrating allocation directories on the same client if sticky is
   488      turned off [GH-2017]
   489    * client/vault: Fix issue in which deriving a Vault token would fail with
   490      allocation does not exist due to stale queries [GH-2050]
   491    * driver/docker: Make container exist errors non-retriable by task runner
   492      [GH-2033]
   493    * driver/docker: Fixed an issue related to purging containers with same name
   494      as Nomad is trying to start [GH-2037]
   495    * driver/rkt: Fix validation of rkt volumes [GH-2027]
   496  
   497  ## 0.5.0 (November 16, 2016)
   498  
   499  __BACKWARDS INCOMPATIBILITIES:__
   500    * jobspec: Extracted the disk resources from the task to the task group. The
   501      new block is name `ephemeral_disk`. Nomad will automatically convert
   502      existing jobs but newly submitted jobs should refactor the disk resource
   503      [GH-1710, GH-1679]
   504    * agent/config: `network_speed` is now an override and not a default value. If
   505      the network link speed is not detected a default value is applied.
   506  
   507  IMPROVEMENTS:
   508    * core: Support for gossip encryption [GH-1791]
   509    * core: Vault integration to handle secure introduction of tasks [GH-1583,
   510      GH-1713]
   511    * core: New `set_contains` constraint to determine if a set contains all
   512      specified values [GH-1839]
   513    * core: Scheduler version enforcement disallows different scheduler version
   514      from making decisions simultaneously [GH-1872]
   515    * core: Introduce node SecretID which can be used to minimize the available
   516      surface area of RPCs to malicious Nomad Clients [GH-1597]
   517    * core: Add `sticky` volumes which inform the scheduler to prefer placing
   518      updated allocations on the same node and to reuse the `local/` and
   519      `alloc/data` directory from previous allocation allowing semi-persistent
   520      data and allow those folders to be synced from a remote node [GH-1654,
   521      GH-1741]
   522    * agent: Add DataDog telemetry sync [GH-1816]
   523    * agent: Allow Consul health checks to use bind address rather than advertise
   524      [GH-1866]
   525    * agent/config: Advertise addresses do not need to specify a port [GH-1902]
   526    * agent/config: Bind address defaults to 0.0.0.0 and Advertise defaults to
   527      hostname [GH-1955]
   528    * api: Support TLS for encrypting Raft, RPC and HTTP APIs [GH-1853]
   529    * api: Implement blocking queries for querying a job's evaluations [GH-1892]
   530    * cli: `nomad alloc-status` shows allocation creation time [GH-1623]
   531    * cli: `nomad node-status` shows node metadata in verbose mode [GH-1841]
   532    * client: Failed RPCs are retried on all servers [GH-1735]
   533    * client: Fingerprint and driver blacklist support [GH-1949]
   534    * client: Introduce a `secrets/` directory to tasks where sensitive data can
   535      be written [GH-1681]
   536    * client/jobspec: Add support for templates that can render static files,
   537      dynamic content from Consul and secrets from Vault [GH-1783]
   538    * driver: Export `NOMAD_JOB_NAME` environment variable [GH-1804]
   539    * driver/docker: Docker For Mac support [GH-1806]
   540    * driver/docker: Support Docker volumes [GH-1767]
   541    * driver/docker: Allow Docker logging to be configured [GH-1767]
   542    * driver/docker: Add `userns_mode` (`--userns`) support [GH-1940]
   543    * driver/lxc: Support for LXC containers [GH-1699]
   544    * driver/rkt: Support network configurations [GH-1862]
   545    * driver/rkt: Support rkt volumes (rkt >= 1.0.0 required) [GH-1812]
   546    * server/rpc: Added an RPC endpoint for retreiving server members [GH-1947]
   547  
   548  BUG FIXES:
   549    * core: Fix case where dead nodes were not properly handled by System
   550      scheduler [GH-1715]
   551    * agent: Handle the SIGPIPE signal preventing panics on journalctl restarts
   552      [GH-1802]
   553    * api: Disallow filesystem APIs to read paths that escape the allocation
   554      directory [GH-1786]
   555    * cli: `nomad run` failed to run on Windows [GH-1690]
   556    * cli: `alloc-status` and `node-status` work without access to task stats
   557      [GH-1660]
   558    * cli: `alloc-status` does not query for allocation statistics if node is down
   559      [GH-1844]
   560    * client: Prevent race when persisting state file [GH-1682]
   561    * client: Retry recoverable errors when starting a driver [GH-1891]
   562    * client: Do not validate the command does not contain spaces [GH-1974]
   563    * client: Fix old services not getting removed from consul on update [GH-1668]
   564    * client: Preserve permissions of nested directories while chrooting [GH-1960]
   565    * client: Folder permissions are dropped even when not running as root [GH-1888]
   566    * client: Artifact download failures will be retried before failing tasks
   567      [GH-1558]
   568    * client: Fix a memory leak in the executor that caused failed allocations
   569      [GH-1762]
   570    * client: Fix a crash related to stats publishing when driver hasn't started
   571      yet [GH-1723]
   572    * client: Chroot environment is only created once, avoid potential filesystem
   573      errors [GH-1753]
   574    * client: Failures to download an artifact are retried according to restart
   575      policy before failing the allocation [GH-1653]
   576    * client/executor: Prevent race when updating a job configuration with the
   577      logger [GH-1886]
   578    * client/fingerprint: Fix inconsistent CPU MHz fingerprinting [GH-1366]
   579    * env/aws: Fix an issue with reserved ports causing placement failures
   580      [GH-1617]
   581    * discovery: Interpolate all service and check fields [GH-1966]
   582    * discovery: Fix old services not getting removed from Consul on update
   583      [GH-1668]
   584    * discovery: Fix HTTP timeout with Server HTTP health check when there is no
   585      leader [GH-1656]
   586    * discovery: Fix client flapping when server is in a different datacenter as
   587      the client [GH-1641]
   588    * discovery/jobspec: Validate service name after interpolation [GH-1852]
   589    * driver/docker: Fix `local/` directory mount into container [GH-1830]
   590    * driver/docker: Interpolate all string configuration variables [GH-1965]
   591    * jobspec: Tasks without a resource block no longer fail to validate [GH-1864]
   592    * jobspec: Update HCL to fix panic in JSON parsing [GH-1754]
   593  
   594  ## 0.4.1 (August 18, 2016)
   595  
   596  __BACKWARDS INCOMPATIBILITIES:__
   597    * telemetry: Operators will have to explicitly opt-in for Nomad client to
   598      publish allocation and node metrics
   599  
   600  IMPROVEMENTS:
   601    * core: Allow count 0 on system jobs [GH-1421]
   602    * core: Summarize the current status of registered jobs. [GH-1383, GH-1517]
   603    * core: Gracefully handle short lived outages by holding RPC calls [GH-1403]
   604    * core: Introduce a lost state for allocations that were on Nodes that died
   605      [GH-1516]
   606    * api: client Logs endpoint for streaming task logs [GH-1444]
   607    * api/cli: Support for tailing/streaming files [GH-1404, GH-1420]
   608    * api/server: Support for querying job summaries [GH-1455]
   609    * cli: `nomad logs` command for streaming task logs [GH-1444]
   610    * cli: `nomad status` shows the create time of allocations [GH-1540]
   611    * cli: `nomad plan` exit code indicates if changes will occur [GH-1502]
   612    * cli: status commands support JSON output and go template formating [GH-1503]
   613    * cli: Validate and plan command supports reading from stdin [GH-1460,
   614      GH-1458]
   615    * cli: Allow basic authentication through address and environment variable
   616      [GH-1610]
   617    * cli: `nomad node-status` shows volume name for non-physical volumes instead
   618      of showing 0B used [GH-1538]
   619    * cli: Support retrieving job files using go-getter in the `run`, `plan` and
   620      `validate` command [GH-1511]
   621    * client: Add killing event to task state [GH-1457]
   622    * client: Fingerprint network speed on Windows [GH-1443]
   623    * discovery: Support for initial check status [GH-1599]
   624    * discovery: Support for query params in health check urls [GH-1562]
   625    * driver/docker: Allow working directory to be configured [GH-1513]
   626    * driver/docker: Remove docker volumes when removing container [GH-1519]
   627    * driver/docker: Set windows containers network mode to nat by default
   628      [GH-1521]
   629    * driver/exec: Allow chroot environment to be configurable [GH-1518]
   630    * driver/qemu: Allows users to pass extra args to the qemu driver [GH-1596]
   631    * telemetry: Circonus integration for telemetry metrics [GH-1459]
   632    * telemetry: Allow operators to opt-in for publishing metrics [GH-1501]
   633  
   634  BUG FIXES:
   635    * agent: Reload agent configuration on SIGHUP [GH-1566]
   636    * core: Sanitize empty slices/maps in jobs to avoid incorrect create/destroy
   637      updates [GH-1434]
   638    * core: Fix race in which a Node registers and doesn't receive system jobs
   639      [GH-1456]
   640    * core: Fix issue in which Nodes with large amount of reserved ports would
   641      casue dynamic port allocations to fail [GH-1526]
   642    * core: Fix a condition in which old batch allocations could get updated even
   643      after terminal. In a rare case this could cause a server panic [GH-1471]
   644    * core: Do not update the Job attached to Allocations that have been marked
   645      terminal [GH-1508]
   646    * agent: Fix advertise address when using IPv6 [GH-1465]
   647    * cli: Fix node-status when using IPv6 advertise address [GH-1465]
   648    * client: Merging telemetry configuration properly [GH-1670]
   649    * client: Task start errors adhere to restart policy mode [GH-1405]
   650    * client: Reregister with servers if node is unregistered [GH-1593]
   651    * client: Killing an allocation doesn't cause allocation stats to block
   652      [GH-1454]
   653    * driver/docker: Disable swap on docker driver [GH-1480]
   654    * driver/docker: Fix improper gating on priviledged mode [GH-1506]
   655    * driver/docker: Default network type is "nat" on Windows [GH-1521]
   656    * driver/docker: Cleanup created volume when destroying container [GH-1519]
   657    * driver/rkt: Set host environment variables [GH-1581]
   658    * driver/rkt: Validate the command and trust_prefix configs [GH-1493]
   659    * plan: Plan on system jobs discounts nodes that do not meet required
   660      constraints [GH-1568]
   661  
   662  ## 0.4.0 (June 28, 2016)
   663  
   664  __BACKWARDS INCOMPATIBILITIES:__
   665    * api: Tasks are no longer allowed to have slashes in their name [GH-1210]
   666    * cli: Remove the eval-monitor command. Users should switch to `nomad
   667      eval-status -monitor`.
   668    * config: Consul configuration has been moved from client options map to
   669      consul block under client configuration
   670    * driver/docker: Enabled SSL by default for pulling images from docker
   671      registries. [GH-1336]
   672  
   673  IMPROVEMENTS:
   674    * core: Scheduler reuses blocked evaluations to avoid unbounded creation of
   675      evaluations under high contention [GH-1199]
   676    * core: Scheduler stores placement failures in evaluations, no longer
   677      generating failed allocations for debug information [GH-1188]
   678    * api: Faster JSON response encoding [GH-1182]
   679    * api: Gzip compress HTTP API requests [GH-1203]
   680    * api: Plan api introduced for the Job endpoint [GH-1168]
   681    * api: Job endpoint can enforce Job Modify Index to ensure job is being
   682      modified from a known state [GH-1243]
   683    * api/client: Add resource usage APIs for retrieving tasks/allocations/host
   684      resource usage [GH-1189]
   685    * cli: Faster when displaying large amounts ouptuts [GH-1362]
   686    * cli: Deprecate `eval-monitor` and introduce `eval-status` [GH-1206]
   687    * cli: Unify the `fs` family of commands to be a single command [GH-1150]
   688    * cli: Introduce `nomad plan` to dry-run a job through the scheduler and
   689      determine its effects [GH-1181]
   690    * cli: node-status command displays host resource usage and allocation
   691      resources [GH-1261]
   692    * cli: Region flag and environment variable introduced to set region
   693      forwarding. Automatic region forwarding for run and plan [GH-1237]
   694    * client: If Consul is available, automatically bootstrap Nomad Client
   695      using the `_nomad` service in Consul. Nomad Servers now register
   696      themselves with Consul to make this possible. [GH-1201]
   697    * drivers: Qemu and Java can be run without an artifact being download. Useful
   698      if the artifact exists inside a chrooted directory [GH-1262]
   699    * driver/docker: Added a client options to set SELinux labels for container
   700      bind mounts. [GH-788]
   701    * driver/docker: Enabled SSL by default for pulling images from docker
   702      registries. [GH-1336]
   703    * server: If Consul is available, automatically bootstrap Nomad Servers
   704      using the `_nomad` service in Consul.  [GH-1276]
   705  
   706  BUG FIXES:
   707    * core: Improve garbage collection of allocations and nodes [GH-1256]
   708    * core: Fix a potential deadlock if establishing leadership fails and is
   709      retried [GH-1231]
   710    * core: Do not restart successful batch jobs when the node is removed/drained
   711      [GH-1205]
   712    * core: Fix an issue in which the scheduler could be invoked with insufficient
   713      state [GH-1339]
   714    * core: Updated User, Meta or Resources in a task cause create/destroy updates
   715      [GH-1128, GH-1153]
   716    * core: Fix blocked evaluations being run without properly accounting for
   717      priority [GH-1183]
   718    * api: Tasks are no longer allowed to have slashes in their name [GH-1210]
   719    * client: Delete tmp files used to communicate with execcutor [GH-1241]
   720    * client: Prevent the client from restoring with incorrect task state [GH-1294]
   721    * discovery: Ensure service and check names are unique [GH-1143, GH-1144]
   722    * driver/docker: Ensure docker client doesn't time out after a minute.
   723      [GH-1184]
   724    * driver/java: Fix issue in which Java on darwin attempted to chroot [GH-1262]
   725    * driver/docker: Fix issue in which logs could be spliced [GH-1322]
   726  
   727  ## 0.3.2 (April 22, 2016)
   728  
   729  IMPROVEMENTS:
   730    * core: Garbage collection partitioned to avoid system delays [GH-1012]
   731    * core: Allow count zero task groups to enable blue/green deploys [GH-931]
   732    * core: Validate driver configurations when submitting jobs [GH-1062, GH-1089]
   733    * core: Job Deregister forces an evaluation for the job even if it doesn't
   734      exist [GH-981]
   735    * core: Rename successfully finished allocations to "Complete" rather than
   736      "Dead" for clarity [GH-975]
   737    * cli: `alloc-status` explains restart decisions [GH-984]
   738    * cli: `node-drain -self` drains the local node [GH-1068]
   739    * cli: `node-status -self` queries the local node [GH-1004]
   740    * cli: Destructive commands now require confirmation [GH-983]
   741    * cli: `alloc-status` display is less verbose by default [GH-946]
   742    * cli: `server-members` displays the current leader in each region [GH-935]
   743    * cli: `run` has an `-output` flag to emit a JSON version of the job [GH-990]
   744    * cli: New `inspect` command to display a submitted job's specification
   745      [GH-952]
   746    * cli: `node-status` display is less verbose by default and shows a node's
   747      total resources [GH-946]
   748    * client: `artifact` source can be interpreted [GH-1070]
   749    * client: Add IP and Port environment variables [GH-1099]
   750    * client: Nomad fingerprinter to detect client's version [GH-965]
   751    * client: Tasks can interpret Meta set in the task group and job [GH-985]
   752    * client: All tasks in a task group are killed when a task fails [GH-962]
   753    * client: Pass environment variables from host to exec based tasks [GH-970]
   754    * client: Allow task's to be run as particular user [GH-950, GH-978]
   755    * client: `artifact` block now supports downloading paths relative to the
   756      task's directory [GH-944]
   757    * docker: Timeout communications with Docker Daemon to avoid deadlocks with
   758      misbehaving Docker Daemon [GH-1117]
   759    * discovery: Support script based health checks [GH-986]
   760    * discovery: Allowing registration of services which don't expose ports
   761      [GH-1092]
   762    * driver/docker: Support for `tty` and `interactive` options [GH-1059]
   763    * jobspec: Improved validation of services referencing port labels [GH-1097]
   764    * periodic: Periodic jobs are always evaluated in UTC timezone [GH-1074]
   765  
   766  BUG FIXES:
   767    * core: Prevent garbage collection of running batch jobs [GH-989]
   768    * core: Trigger System scheduler when Node drain is disabled [GH-1106]
   769    * core: Fix issue where in-place updated allocation double counted resources
   770      [GH-957]
   771    * core: Fix drained, batched allocations from being migrated indefinitely
   772      [GH-1086]
   773    * client: Garbage collect Docker containers on exit [GH-1071]
   774    * client: Fix common exec failures on CentOS and Amazon Linux [GH-1009]
   775    * client: Fix S3 artifact downloading with IAM credentials [GH-1113]
   776    * client: Fix handling of environment variables containing multiple equal
   777      signs [GH-1115]
   778  
   779  ## 0.3.1 (March 16, 2016)
   780  
   781  __BACKWARDS INCOMPATIBILITIES:__
   782    * Service names that dont conform to RFC-1123 and RFC-2782 will fail
   783      validation. To fix, change service name to conform to the RFCs before
   784      running the job [GH-915]
   785    * Jobs that downloaded artifacts will have to be updated to the new syntax and
   786      be resubmitted. The new syntax consolidates artifacts to the `task` rather
   787      than being duplicated inside each driver config [GH-921]
   788  
   789  IMPROVEMENTS:
   790    * cli: Validate job file schemas [GH-900]
   791    * client: Add environment variables for task name, allocation ID/Name/Index
   792      [GH-869, GH-896]
   793    * client: Starting task is retried under the restart policy if the error is
   794      recoverable [GH-859]
   795    * client: Allow tasks to download artifacts, which can be archives, prior to
   796      starting [GH-921]
   797    * config: Validate Nomad configuration files [GH-910]
   798    * config: Client config allows reserving resources [GH-910]
   799    * driver/docker: Support for ECR [GH-858]
   800    * driver/docker: Periodic Fingerprinting [GH-893]
   801    * driver/docker: Preventing port reservation for log collection on Unix platforms [GH-897]
   802    * driver/rkt: Pass DNS information to rkt driver [GH-892]
   803    * jobspec: Require RFC-1123 and RFC-2782 valid service names [GH-915]
   804  
   805  BUG FIXES:
   806    * core: No longer cancel evaluations that are delayed in the plan queue
   807      [GH-884]
   808    * api: Guard client/fs/ APIs from being accessed on a non-client node [GH-890]
   809    * client: Allow dashes in variable names during interprelation [GH-857]
   810    * client: Updating kill timeout adheres to operator specified maximum value [GH-878]
   811    * client: Fix a case in which clients would pull but not run allocations
   812      [GH-906]
   813    * consul: Remove concurrent map access [GH-874]
   814    * driver/exec: Stopping tasks with more than one pid in a cgroup [GH-855]
   815    * client/executor/linux: Add /run/resolvconf/ to chroot so DNS works [GH-905]
   816  
   817  ## 0.3.0 (February 25, 2016)
   818  
   819  __BACKWARDS INCOMPATIBILITIES:__
   820    * Stdout and Stderr log files of tasks have moved from task/local to
   821      alloc/logs [GH-851]
   822    * Any users of the runtime environment variable `$NOMAD_PORT_` will need to
   823      update to the new `${NOMAD_ADDR_}` varriable [GH-704]
   824    * Service names that include periods will fail validation. To fix, remove any
   825      periods from the service name before running the job [GH-770]
   826    * Task resources are now validated and enforce minimum resources. If a job
   827      specifies resources below the minimum they will need to be updated [GH-739]
   828    * Node ID is no longer specifiable. For users who have set a custom Node
   829      ID, the node should be drained before Nomad is updated and the data_dir
   830      should be deleted before starting for the first time [GH-675]
   831    * Users of custom restart policies should update to the new syntax which adds
   832      a `mode` field. The `mode` can be either `fail` or `delay`. The default for
   833      `batch` and `service` jobs is `fail` and `delay` respectively [GH-594]
   834    * All jobs that interpret variables in constraints or driver configurations
   835      will need to be updated to the new syntax which wraps the interpreted
   836      variable in curly braces. (`$node.class` becomes `${node.class}`) [GH-760]
   837  
   838  IMPROVEMENTS:
   839    * core: Populate job status [GH-663]
   840    * core: Cgroup fingerprinter [GH-712]
   841    * core: Node class constraint [GH-618]
   842    * core: User specifiable kill timeout [GH-624]
   843    * core: Job queueing via blocked evaluations  [GH-726]
   844    * core: Only reschedule failed batch allocations [GH-746]
   845    * core: Add available nodes by DC to AllocMetrics [GH-619]
   846    * core: Improve scheduler retry logic under contention [GH-787]
   847    * core: Computed node class and stack optimization [GH-691, GH-708]
   848    * core: Improved restart policy with more user configuration [GH-594]
   849    * core: Periodic specification for jobs [GH-540, GH-657, GH-659, GH-668]
   850    * core: Batch jobs are garbage collected from the Nomad Servers [GH-586]
   851    * core: Free half the CPUs on leader node for use in plan queue and evaluation
   852      broker [GH-812]
   853    * core: Seed random number generator used to randomize node traversal order
   854      during scheduling [GH-808]
   855    * core: Performance improvements [GH-823, GH-825, GH-827, GH-830, GH-832,
   856      GH-833, GH-834, GH-839]
   857    * core/api: System garbage collection endpoint [GH-828]
   858    * core/api: Allow users to set arbitrary headers via agent config [GH-699]
   859    * core/cli: Prefix based lookups of allocs/nodes/evals/jobs [GH-575]
   860    * core/cli: Print short identifiers and UX cleanup [GH-675, GH-693, GH-692]
   861    * core/client: Client pulls minimum set of required allocations [GH-731]
   862    * cli: Output of agent-info is sorted [GH-617]
   863    * cli: Eval monitor detects zero wait condition [GH-776]
   864    * cli: Ability to navigate allocation directories [GH-709, GH-798]
   865    * client: Batch allocation updates to the server [GH-835]
   866    * client: Log rotation for all drivers [GH-685, GH-763, GH-819]
   867    * client: Only download artifacts from http, https, and S3 [GH-841]
   868    * client: Create a tmp/ directory inside each task directory [GH-757]
   869    * client: Store when an allocation was received by the client [GH-821]
   870    * client: Heartbeating and saving state resilient under high load [GH-811]
   871    * client: Handle updates to tasks Restart Policy and KillTimeout [GH-751]
   872    * client: Killing a driver handle is retried with an exponential backoff
   873      [GH-809]
   874    * client: Send Node to server when periodic fingerprinters change Node
   875      attributes/metadata [GH-749]
   876    * client/api: File-system access to allocation directories [GH-669]
   877    * drivers: Validate the "command" field contains a single value [GH-842]
   878    * drivers: Interpret Nomad variables in environment variables/args [GH-653]
   879    * driver/rkt: Add support for CPU/Memory isolation [GH-610]
   880    * driver/rkt: Add support for mounting alloc/task directory [GH-645]
   881    * driver/docker: Support for .dockercfg based auth for private registries
   882      [GH-773]
   883  
   884  BUG FIXES:
   885    * core: Node drain could only be partially applied [GH-750]
   886    * core: Fix panic when eval Ack occurs at delivery limit [GH-790]
   887    * cli: Handle parsing of un-named ports [GH-604]
   888    * cli: Enforce absolute paths for data directories [GH-622]
   889    * client: Cleanup of the allocation directory [GH-755]
   890    * client: Improved stability under high contention [GH-789]
   891    * client: Handle non-200 codes when parsing AWS metadata [GH-614]
   892    * client: Unmounted of shared alloc dir when client is rebooted [GH-755]
   893    * client/consul: Service name changes handled properly [GH-766]
   894    * driver/rkt: handle broader format of rkt version outputs [GH-745]
   895    * driver/qemu: failed to load image and kvm accelerator fixes [GH-656]
   896  
   897  ## 0.2.3 (December 17, 2015)
   898  
   899  BUG FIXES:
   900    * core: Task States not being properly updated [GH-600]
   901    * client: Fixes for user lookup to support CoreOS [GH-591]
   902    * discovery: Using a random prefix for nomad managed services [GH-579]
   903    * discovery: De-Registering Tasks while Nomad sleeps before failed tasks are
   904      restarted.
   905    * discovery: Fixes for service registration when multiple allocations are bin
   906      packed on a node [GH-583]
   907    * configuration: Sort configuration files [GH-588]
   908    * cli: RetryInterval was not being applied properly [GH-601]
   909  
   910  ## 0.2.2 (December 11, 2015)
   911  
   912  IMPROVEMENTS:
   913    * core: Enable `raw_exec` driver in dev mode [GH-558]
   914    * cli: Server join/retry-join command line and config options [GH-527]
   915    * cli: Nomad reports which config files are loaded at start time, or if none
   916      are loaded [GH-536], [GH-553]
   917  
   918  BUG FIXES:
   919    * core: Send syslog to `LOCAL0` by default as previously documented [GH-547]
   920    * client: remove all calls to default logger [GH-570]
   921    * consul: Nomad is less noisy when Consul is not running [GH-567]
   922    * consul: Nomad only deregisters services that it created [GH-568]
   923    * driver/exec: Shutdown a task now sends the interrupt signal first to the
   924      process before forcefully killing it. [GH-543]
   925    * driver/docker: Docker driver no longer leaks unix domain socket connections
   926      [GH-556]
   927    * fingerprint/network: Now correctly detects interfaces on Windows [GH-382]
   928  
   929  ## 0.2.1 (November 28, 2015)
   930  
   931  IMPROVEMENTS:
   932  
   933    * core: Can specify a whitelist for activating drivers [GH-467]
   934    * core: Can specify a whitelist for activating fingerprinters [GH-488]
   935    * core/api: Can list all known regions in the cluster [GH-495]
   936    * client/spawn: spawn package tests made portable (work on Windows) [GH-442]
   937    * client/executor: executor package tests made portable (work on Windows) [GH-497]
   938    * client/driver: driver package tests made portable (work on windows) [GH-502]
   939    * client/discovery: Added more consul client api configuration options [GH-503]
   940    * driver/docker: Added TLS client options to the config file [GH-480]
   941    * jobspec: More flexibility in naming Services [GH-509]
   942  
   943  BUG FIXES:
   944  
   945    * core: Shared reference to DynamicPorts caused port conflicts when scheduling
   946      count > 1 [GH-494]
   947    * client/restart policy: Not restarting Batch Jobs if the exit code is 0 [GH-491]
   948    * client/service discovery: Make Service IDs unique [GH-479]
   949    * client/service: Fixes update to check definitions and services which are already registered [GH-498]
   950    * driver/docker: Expose the container port instead of the host port [GH-466]
   951    * driver/docker: Support `port_map` for static ports [GH-476]
   952    * driver/docker: Pass 0.2.0-style port environment variables to the docker container [GH-476]
   953    * jobspec: distinct_hosts constraint can be specified as a boolean (previously panicked) [GH-501]
   954  
   955  ## 0.2.0 (November 18, 2015)
   956  
   957  __BACKWARDS INCOMPATIBILITIES:__
   958  
   959    * core: HTTP API `/v1/node/<id>/allocations` returns full Allocation and not
   960      stub [GH-402]
   961    * core: Removed weight and hard/soft fields in constraints [GH-351]
   962    * drivers: Qemu and Java driver configurations have been updated to both use
   963      `artifact_source` as the source for external images/jars to be ran
   964    * jobspec: New reserved and dynamic port specification [GH-415]
   965    * jobspec/drivers: Driver configuration supports arbitrary struct to be
   966      passed in jobspec [GH-415]
   967  
   968  FEATURES:
   969  
   970    * core: Blocking queries supported in API [GH-366]
   971    * core: System Scheduler that runs tasks on every node [GH-287]
   972    * core: Regexp, version and lexical ordering constraints [GH-271]
   973    * core: distinctHost constraint ensures Task Groups are running on distinct
   974      clients [GH-321]
   975    * core: Service block definition with Consul registration [GH-463, GH-460,
   976      GH-458, GH-455, GH-446, GH-425]
   977    * client: GCE Fingerprinting [GH-215]
   978    * client: Restart policy for task groups enforced by the client [GH-369,
   979      GH-393]
   980    * driver/rawexec: Raw Fork/Exec Driver [GH-237]
   981    * driver/rkt: Experimental Rkt Driver [GH-165, GH-247]
   982    * drivers: Add support for downloading external artifacts to execute for
   983      Exec, Raw exec drivers [GH-381]
   984  
   985  IMPROVEMENTS:
   986  
   987    * core: Configurable Node GC threshold [GH-362]
   988    * core: Overlap plan verification and plan application for increased
   989      throughput [GH-272]
   990    * cli: Output of `alloc-status` also displays task state [GH-424]
   991    * cli: Output of `server-members` is sorted [GH-323]
   992    * cli: Show node attributes in `node-status` [GH-313]
   993    * client/fingerprint: Network fingerprinter detects interface suitable for
   994      use, rather than defaulting to eth0 [GH-334, GH-356]
   995    * client: Client Restore State properly reattaches to tasks and recreates
   996      them as needed [GH-364, GH-380, GH-388, GH-392, GH-394, GH-397, GH-408]
   997    * client: Periodic Fingerprinting [GH-391]
   998    * client: Precise snapshotting of TaskRunner and AllocRunner [GH-403, GH-411]
   999    * client: Task State is tracked by client [GH-416]
  1000    * client: Test Skip Detection [GH-221]
  1001    * driver/docker: Can now specify auth for docker pull [GH-390]
  1002    * driver/docker: Can now specify DNS and DNSSearch options [GH-390]
  1003    * driver/docker: Can now specify the container's hostname [GH-426]
  1004    * driver/docker: Containers now have names based on the task name. [GH-389]
  1005    * driver/docker: Mount task local and alloc directory to docker containers [GH-290]
  1006    * driver/docker: Now accepts any value for `network_mode` to support userspace networking plugins in docker 1.9
  1007    * driver/java: Pass JVM options in java driver [GH-293, GH-297]
  1008    * drivers: Use BlkioWeight rather than BlkioThrottleReadIopsDevice [GH-222]
  1009    * jobspec and drivers: Driver configuration supports arbitrary struct to be passed in jobspec [GH-415]
  1010  
  1011  BUG FIXES:
  1012  
  1013    * core: Nomad Client/Server RPC codec encodes strings properly [GH-420]
  1014    * core: Reset Nack timer in response to scheduler operations [GH-325]
  1015    * core: Scheduler checks for updates to environment variables [GH-327]
  1016    * cli: Fix crash when -config was given a directory or empty path [GH-119]
  1017    * client/fingerprint: Use correct local interface on OS X [GH-361, GH-365]
  1018    * client: Nomad Client doesn't restart failed containers [GH-198]
  1019    * client: Reap spawn-daemon process, avoiding a zombie process [GH-240]
  1020    * client: Resource exhausted errors because of link-speed zero [GH-146,
  1021      GH-205]
  1022    * client: Restarting Nomad Client leads to orphaned containers [GH-159]
  1023    * driver/docker: Apply SELinux label for mounting directories in docker
  1024      [GH-377]
  1025    * driver/docker: Docker driver exposes ports when creating container [GH-212,
  1026      GH-412]
  1027    * driver/docker: Docker driver uses docker environment variables correctly
  1028      [GH-407]
  1029    * driver/qemu: Qemu fingerprint and tests work on both windows/linux [GH-352]
  1030  
  1031  ## 0.1.2 (October 6, 2015)
  1032  
  1033  IMPROVEMENTS:
  1034  
  1035    * client: Nomad client cleans allocations on exit when in dev mode [GH-214]
  1036    * drivers: Use go-getter for artifact retrieval, add artifact support to
  1037      Exec, Raw Exec drivers [GH-288]
  1038  
  1039  ## 0.1.1 (October 5, 2015)
  1040  
  1041  IMPROVEMENTS:
  1042  
  1043    * cli: Nomad Client configurable from command-line [GH-191]
  1044    * client/fingerprint: Native IP detection and user specifiable network
  1045      interface for fingerprinting [GH-189]
  1046    * driver/docker: Docker networking mode is configurable [GH-184]
  1047    * drivers: Set task environment variables [GH-206]
  1048  
  1049  BUG FIXES:
  1050  
  1051    * client/fingerprint: Network fingerprinting failed if default network
  1052      interface did not exist [GH-189]
  1053    * client: Fixed issue where network resources throughput would be set to 0
  1054      MBits if the link speed could not be determined [GH-205]
  1055    * client: Improved detection of Nomad binary [GH-181]
  1056    * driver/docker: Docker dynamic port mapping were not being set properly
  1057      [GH-199]
  1058  
  1059  ## 0.1.0 (September 28, 2015)
  1060  
  1061    * Initial release
  1062