Skip to content

Commit e7d872a

Browse files
authored
Merge pull request #1180 from ploxiln/prep_v120
bump v1.2.0 stable
2 parents 1db3903 + 1633454 commit e7d872a

File tree

3 files changed

+45
-4
lines changed

3 files changed

+45
-4
lines changed

ChangeLog.md

+43
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,49 @@
22

33
## Releases
44

5+
### 1.2.0 - 2019-08-26
6+
7+
**Upgrading**
8+
9+
* #1055 - `nsqd`: removed support for old metadata scheme used in v0.3.8 and earlier
10+
* you cannot upgrade directly from v0.3.8 to v1.2.0, you must go through v1.0.0-compat or v1.1.0
11+
* #1115 - manage dependencies with go modules
12+
* `dep` support still present for now, but deprecated
13+
14+
Features:
15+
16+
* #1136 - `nsqd`: add `--max-channel-consumers` (default unlimited) (thanks @andyxning)
17+
* #1133 - `nsqd`: add `--min-output-buffer-timeout` (default 25ms) to limit how low a timeout a consumer can request
18+
* and raise default `--max-output-buffer-timeout` to 30 seconds (lower timeout, more cpu usage)
19+
* #1127 - `nsqd`: add topic total message bytes to stats (thanks @andyxning)
20+
* #1125 - `nsqd`: add flag to adjust default `--output-buffer-timeout` (thanks @andyxning)
21+
* #1163 - `nsqd`: add random load balancing for authd requests (thanks @shenhui0509)
22+
* #1119 - `nsqd`: include client TLS cert CommonName in authd requests
23+
* #1147 - `nsq_to_file`: include topic/channel in most log messages
24+
* #1117 - `nsq_to_file`: add `--log-level` and `--log-prefix` flags
25+
* #1117/#1120/#1123 - `nsq_to_file`: big refactor, more robust file switching and syncing and error handling
26+
* #1118 - `nsqd`: add param to `/stats` endpoint to allow skipping per-client stats (much faster if many clients)
27+
* #1118 - `nsqadmin`, `nsq_stat`: use `include_clients` param for `/stats` for a big speedup for big clusters
28+
* #1110 - `nsq_to_file`: support for separate working directory with `--work-dir` (thanks @mccutchen)
29+
* #856 - `nsqadmin`: add `--base-path` flag (thanks @blinklv)
30+
* #1072 - `nsq_to_http`: add `--header` flag (thanks @alwindoss)
31+
* #881 - `nsqd`: add producer client tcp connections to stats (thanks @sparklxb)
32+
* #1071/#1074 - `nsq_to_file`: new flag `--sync-interval` (default same as previous behavior, 30 seconds) (thanks @alpaker)
33+
34+
Bugs:
35+
36+
* #1153 - `nsqd`: close connections that don't send "magic" header (thanks @JoseFeng)
37+
* #1140 - `nsqd`: exit on all fatal Accept() errors - restart enables better recovery for some conditions (thanks @mdh67899)
38+
* #1140 - `nsqd`, `nsqlookupd`, `nsqadmin`: refactor LogLevel, general refactor to better exit on all fatal errors
39+
* #1140 - `nsqadmin`: switch to using `judwhite/go-svc` like `nsqd` and `nsqadmin` do
40+
* #1134 - `nsqadmin`: fix clients count and channel total message rate (new bugs introduced in this cycle)
41+
* #1132 - `nsqd`, `nsqlookupd`, `nsqadmin`: fix http error response unreliable json serialization
42+
* #1116 - `nsqlookupd`: fix orphaned ephemeral topics in registration DB
43+
* #1109 - `nsqd`: fix topic message mis-counting if there are backend write errors (thanks @SwanSpouse)
44+
* #1099 - `nsqlookupd`: optimize `/nodes` endpoint, much better for hundreds of nsqd (thanks @andyxning)
45+
* #1085 - switch `GOFLAGS` to `BLDFLAGS` in `Makefile` now that `GOFLAGS` is automatically used by go
46+
* #1080 - `nsqadmin`: eslint reported fixes/cleanups
47+
548
### 1.1.0 - 2018-08-19
649

750
**Upgrading from 1.0.0-compat**: Just a few backwards incompatible changes:

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ COPY . /go/src/github.com/nsqio/nsq
55

66
WORKDIR /go/src/github.com/nsqio/nsq
77

8-
RUN wget -O /bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 \
9-
&& chmod +x /bin/dep \
10-
&& /bin/dep ensure \
8+
RUN export GO111MODULE=on \
119
&& ./test.sh \
1210
&& CGO_ENABLED=0 make DESTDIR=/opt PREFIX=/nsq BLDFLAGS='-ldflags="-s -w"' install
1311

internal/version/binary.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"runtime"
66
)
77

8-
const Binary = "1.1.1-alpha"
8+
const Binary = "1.2.0"
99

1010
func String(app string) string {
1111
return fmt.Sprintf("%s v%s (built w/%s)", app, Binary, runtime.Version())

0 commit comments

Comments
 (0)