1 天前

etcd 发布版本: v3.1.18

Please check out [CHANGELOG](https://github.com/coreos/etcd/blob/master/CHANGELOG-3.1.md) for a full list of changes. And make sure to read [upgrade guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_1.md) before upgrading etcd (there may be breaking changes). For installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://github.com/coreos/etcd/tree/master/Documentation#operating-etcd-clusters). Latest support status for common architectures and operating systems can be found at [supported platforms](https://github.com/coreos/etcd/blob/master/Documentation/op-guide/supported-platform.md). Release signing key can be found at [coreos.com/security/app-signing-key](https://coreos.com/security/app-signing-key). ###### Linux ```bash ETCD_VER=v3.1.18 # choose either URL GOOGLE_URL=https://storage.googleapis.com/etcd GITHUB_URL=https://github.com/coreos/etcd/releases/download DOWNLOAD_URL=${GOOGLE_URL} rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz /tmp/etcd-download-test/etcd --version ETCDCTL_API=3 /tmp/etcd-download-test/etcdctl version ``` ```bash # start a local etcd server /tmp/etcd-download-test/etcd # write,read to etcd ETCDCTL_API=3 /tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar ETCDCTL_API=3 /tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo ``` ###### macOS (Darwin) ```bash ETCD_VER=v3.1.18 # choose either URL GOOGLE_URL=https://storage.googleapis.com/etcd GITHUB_URL=https://github.com/coreos/etcd/releases/download DOWNLOAD_URL=${GOOGLE_URL} rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip unzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64 /tmp/etcd-download-test/etcd --version ETCDCTL_API=3 /tmp/etcd-download-test/etcdctl version ``` ###### Docker etcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd) as a primary container registry, and [`quay.io/coreos/etcd`](https://quay.io/coreos/etcd) as secondary. ```bash rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \ docker rmi gcr.io/etcd-development/etcd:v3.1.18 || true && \ docker run \ -p 2379:2379 \ -p 2380:2380 \ --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \ --name etcd-gcr-v3.1.18 \ gcr.io/etcd-development/etcd:v3.1.18 \ /usr/local/bin/etcd \ --name s1 \ --data-dir /etcd-data \ --listen-client-urls http://0.0.0.0:2379 \ --advertise-client-urls http://0.0.0.0:2379 \ --listen-peer-urls http://0.0.0.0:2380 \ --initial-advertise-peer-urls http://0.0.0.0:2380 \ --initial-cluster s1=http://0.0.0.0:2380 \ --initial-cluster-token tkn \ --initial-cluster-state new docker exec etcd-gcr-v3.1.18 /bin/sh -c "/usr/local/bin/etcd --version" docker exec etcd-gcr-v3.1.18 /bin/sh -c "ETCDCTL_API=3 /usr/local/bin/etcdctl version" docker exec etcd-gcr-v3.1.18 /bin/sh -c "ETCDCTL_API=3 /usr/local/bin/etcdctl endpoint health" docker exec etcd-gcr-v3.1.18 /bin/sh -c "ETCDCTL_API=3 /usr/local/bin/etcdctl put foo bar" docker exec etcd-gcr-v3.1.18 /bin/sh -c "ETCDCTL_API=3 /usr/local/bin/etcdctl get foo" ```

1 天前

signale 发布版本: 1.2.0

Lots of new features, fixes and improvements! ## Highlights - Added new `interactive mode`. (#21) [`48948a1`](https://github.com/klauscfhq/signale/commit/48948a1) - Added support for `string interpolation`. (#23) [`7b7ae98`](https://github.com/klauscfhq/signale/commit/7b7ae98) - Added support for colored `string interpolation`. [`c4601e6`](https://github.com/klauscfhq/signale/commit/c4601e6) - Added support for multiple custom streams. (#27) [`608f882`](https://github.com/klauscfhq/signale/commit/608f882) - Added support for optional streams per logger. (#27) [`608f882`](https://github.com/klauscfhq/signale/commit/608f882) - Added support for object logging. (#23) [`7b7ae98`](https://github.com/klauscfhq/signale/commit/7b7ae98) - Added option to disable `signale` instances. [`567f468`](https://github.com/klauscfhq/signale/commit/567f468) - Enabled deep-merging between default & custom types. (#31) [`e37a001`](https://github.com/klauscfhq/signale/commit/e37a001) - Validate stack existence when logging `Error` instances. (#38) [`b45d5b4`](https://github.com/klauscfhq/signale/commit/b45d5b4) - Added support for anonymous callsites. (#30) [`a0da14b`](https://github.com/klauscfhq/signale/commit/a0da14b) - Prevent override of regular logs by interactive ones. [`dd06050`](https://github.com/klauscfhq/signale/commit/dd06050) - Added new `uppercaseLabel` option. (#16) [`ad92362`](https://github.com/klauscfhq/signale/commit/ad92362) - Added new `underlineSuffix` option. [`8372dbd`](https://github.com/klauscfhq/signale/commit/8372dbd) - Added new `underlinePrefix` option. [`ddeaa80`](https://github.com/klauscfhq/signale/commit/ddeaa80) ## Miscellaneous - Updated documentation. [`ff50706`](https://github.com/klauscfhq/signale/commit/ff50706) - Fixed link to `help-wanted` label on contributing guidelines. (#28) [`11ef63b`](https://github.com/klauscfhq/signale/commit/11ef63b) ## Thanks Huge thank you to @rjoydip @jordrake @RyanBruno @robertoschiavone & @brettimus for contributing and helping out with this release! ❤ ## All changes [klauscfhq/signale@`v1.1.0...v1.2.0`](https://github.com/klauscfhq/signale/compare/v1.1.0...v1.2.0)