github.com/hhrutter/nomad@v0.6.0-rc2.0.20170723054333-80c4b03f0705/CHANGELOG.md (about)

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