diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c8e95b5a..ead75716cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,13 +36,5 @@ your changes, such as: - [public] [both] [updated] add a new feature ## [Unreleased] -- [public] [both] [fixed] fix prometheus send wrong sls logs when reuse string memory -- [public] [both] [fixed] fix dropping jvm metrics when collecting multiple skywalking instances's data -- [public] [both] [fixed] fix elasticsearch flusher authentication tls config and http config -- [public] [both] [fixed] fix profiling wrong type when the different profiling type having same stack. -- [public] [both] [fixed] fix send local buffer failed when upgrade iLogtail from version earlier than 1.3. -- [public] [both] [fixed] change strptime_ns to parse %c format from "%x %X" to "%a %b %d %H:%M:%S %Y" for consistent behavior with striptime. -- [public] [both] [fixed] fix topic key does not support underscore. -- [public] [both] [fixed] fix jmxfetch status error when exist multi jmxfetch config in the same machine. -- [public] [both] [fixed] fix increasing WSS memory issue in collected containers. -- [public] [both] [fixed] fix cannot log blacklist config error + +- [public] [both] [added] add UsingOldContentTag. When UsingOldContentTag is set to false, the Tag is now placed in the Meta instead of Logs during cgo. diff --git a/Makefile b/Makefile index 8a049b7839..9b60d5cbb6 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # limitations under the License. .DEFAULT_GOAL := all -VERSION ?= 1.8.0 +VERSION ?= 1.8.1 DOCKER_PUSH ?= false DOCKER_REPOSITORY ?= aliyun/ilogtail BUILD_REPOSITORY ?= aliyun/ilogtail_build diff --git a/changes/v1.8.0.md b/changes/v1.8.0.md index 3c7a0d0a6e..c4f0c8f3ea 100644 --- a/changes/v1.8.0.md +++ b/changes/v1.8.0.md @@ -54,7 +54,6 @@ All issues and pull requests are [here](https://github.com/alibaba/ilogtail/mile | ---- | ---- | ---- | ---- | |[ilogtail-1.8.0.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.0/ilogtail-1.8.0.linux-amd64.tar.gz)|Linux|x86-64|[ilogtail-1.8.0.linux-amd64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.0/ilogtail-1.8.0.linux-amd64.tar.gz.sha256)| |[ilogtail-1.8.0.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.0/ilogtail-1.8.0.linux-arm64.tar.gz)|Linux|arm64|[ilogtail-1.8.0.linux-arm64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.0/ilogtail-1.8.0.linux-arm64.tar.gz.sha256)| -|[ilogtail-1.8.0.windows-amd64.zip](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.0/ilogtail-1.8.0.windows-amd64.zip)|Windows|x86-64|[ilogtail-1.8.0.windows-amd64.zip.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.0/ilogtail-1.8.0.windows-amd64.zip.sha256)| ## Docker Image diff --git a/changes/v1.8.1.md b/changes/v1.8.1.md new file mode 100644 index 0000000000..dfbfccddfe --- /dev/null +++ b/changes/v1.8.1.md @@ -0,0 +1,38 @@ +# 1.8.1 + +## Changes + +All issues and pull requests are [here](https://github.com/alibaba/ilogtail/milestone/21). + +### Features + + +### Fixed + +- [public] [both] [fixed] fix prometheus send wrong sls logs when reuse string memory +- [public] [both] [fixed] fix dropping jvm metrics when collecting multiple skywalking instances's data +- [public] [both] [fixed] fix elasticsearch flusher authentication tls config and http config +- [public] [both] [fixed] fix profiling wrong type when the different profiling type having same stack. +- [public] [both] [fixed] fix send local buffer failed when upgrade iLogtail from version earlier than 1.3. +- [public] [both] [fixed] change strptime_ns to parse %c format from "%x %X" to "%a %b %d %H:%M:%S %Y" for consistent behavior with striptime. +- [public] [both] [fixed] fix topic key does not support underscore. +- [public] [both] [fixed] fix jmxfetch status error when exist multi jmxfetch config in the same machine. +- [public] [both] [fixed] fix increasing WSS memory issue in collected containers. +- [public] [both] [fixed] fix cannot log blacklist config error + +### Doc + + +## Download + +| **Filename** | **OS** | **Arch** | **SHA256 Checksum** | +| ---- | ---- | ---- | ---- | +|[ilogtail-1.8.1.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.1/ilogtail-1.8.1.linux-amd64.tar.gz)|Linux|x86-64|[ilogtail-1.8.1.linux-amd64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.1/ilogtail-1.8.1.linux-amd64.tar.gz.sha256)| +|[ilogtail-1.8.1.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.1/ilogtail-1.8.1.linux-arm64.tar.gz)|Linux|arm64|[ilogtail-1.8.1.linux-arm64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.1/ilogtail-1.8.1.linux-arm64.tar.gz.sha256)| + +## Docker Image + +**Docker Pull Command** +``` bash +docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.8.1 +``` diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index ae5b546155..d70ab45cee 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -23,7 +23,7 @@ option(WITHOUTGDB "Build Logtail without gdb" OFF) # Name/Version information. if (NOT DEFINED LOGTAIL_VERSION) - set(LOGTAIL_VERSION "1.8.0") + set(LOGTAIL_VERSION "1.8.1") endif () message(STATUS "Version: ${LOGTAIL_VERSION}") diff --git a/docker/Dockerfile_build b/docker/Dockerfile_build index 683c981a31..10aedc58dd 100644 --- a/docker/Dockerfile_build +++ b/docker/Dockerfile_build @@ -19,7 +19,7 @@ WORKDIR /src COPY . . ARG HOST_OS=Linux -ARG VERSION=1.8.0 +ARG VERSION=1.8.1 USER root diff --git a/docker/Dockerfile_development_part b/docker/Dockerfile_development_part index d049ac6ca0..0070d61c69 100644 --- a/docker/Dockerfile_development_part +++ b/docker/Dockerfile_development_part @@ -15,7 +15,7 @@ FROM sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:gcc_9.3.1-2 ARG HOST_OS=Linux -ARG VERSION=1.8.0 +ARG VERSION=1.8.1 USER root WORKDIR /ilogtail diff --git a/docker/Dockerfile_production b/docker/Dockerfile_production index 2f3b91f239..491d300227 100644 --- a/docker/Dockerfile_production +++ b/docker/Dockerfile_production @@ -13,7 +13,7 @@ # limitations under the License. FROM --platform=$TARGETPLATFORM centos:centos7.9.2009 as build -ARG VERSION=1.8.0 +ARG VERSION=1.8.1 ARG TARGETPLATFORM WORKDIR /usr/local COPY dist/ilogtail-${VERSION}.linux-*.tar.gz . @@ -28,7 +28,7 @@ ENV container docker RUN yum update -y && yum upgrade -y && yum -y clean all && rm -fr /var/cache && rm -rf /core.* ARG HOST_OS=Linux -ARG VERSION=1.8.0 +ARG VERSION=1.8.1 ARG TARGETPLATFORM COPY --from=build /usr/local/ilogtail-${VERSION} /usr/local/ilogtail diff --git a/docs/cn/installation/release-notes.md b/docs/cn/installation/release-notes.md index 24252e2bde..7beff6a3df 100644 --- a/docs/cn/installation/release-notes.md +++ b/docs/cn/installation/release-notes.md @@ -1,5 +1,46 @@ # 发布历史 +## 1.8.1 + +### 发布记录 + +发版日期:2023 年 11 月 8 日 + +问题修复 + +* 修复因字符串内存重用导致Promethus插件发送错误数据 [#1201](https://github.com/alibaba/ilogtail/pull/1201) +* 修复采集多个SkyWalking实例时丢失JVM指标的问题 [#1163](https://github.com/alibaba/ilogtail/pull/1163) +* 修复ElasticSearch Flusher TLS鉴权问题 [#1157](https://github.com/alibaba/ilogtail/issues/1157) +* 修复Profiling在相同Java堆栈下类型错误问题 [#1187](https://github.com/alibaba/ilogtail/pull/1187) +* 修复从1.3之前的版本升级时本地send buffer丢失的问题 [#1199](https://github.com/alibaba/ilogtail/pull/1199) +* 修复strptime_ns解析%c与原有striptime存在差异的问题 [#1204](https://github.com/alibaba/ilogtail/pull/1204) +* 修复topic提取命名不支持带下划线的问题 [#1205](https://github.com/alibaba/ilogtail/pull/1205) +* 修复存在多个jmxfetch配置时jmxfetch状态异常 [#1210](https://github.com/alibaba/ilogtail/pull/1210) +* 修复被采集容器内存WSS增长的问题 [#1216](https://github.com/alibaba/ilogtail/pull/1216) +* 修复采集路径黑名单配置错误没有日志提示的问题 [#1218](https://github.com/alibaba/ilogtail/pull/1218) + +* [public] [both] [fixed] fix increasing WSS memory issue in collected containers. +* [public] [both] [fixed] fix cannot log blacklist config error + +* 解决采集有挂载卷的statefulset漂移到不同节点时数据重复采集的问题 [#1081](https://github.com/alibaba/ilogtail/issues/1081) + +[详情和源代码](https://github.com/alibaba/ilogtail/blob/main/changes/v1.8.1.md) + +### 下载 + +| 文件名 | 系统 | 架构 | SHA256 校验码 | +| -------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------ | ---------------------------------------------------------------- | +| [ilogtail-1.8.1.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.1/ilogtail-1.8.1.linux-amd64.tar.gz) | Linux | x86-64 | b659e711b1960db995787b306c9d87c615345df562affdaa1a090dad7cb453f4 | +| [ilogtail-1.8.1.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.1/ilogtail-1.8.1.linux-arm64.tar.gz) | Linux | arm64 | a44ef5a4affcbff27dd551c57224c8e8447be37ad6c36292b63790673bba0b7c | + +### Docker 镜像 + +**Docker Pull 命令** + +``` bash +docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.8.1 +``` + ## 1.8.0 ### 发布记录 @@ -38,7 +79,7 @@ * 修复json模式日志最后没有回车可能解析不正确的问题 [#1126](https://github.com/alibaba/ilogtail/issues/1126) * 修复读取到的数据开头含有非法jon时json解析异常的问题 [#1161](https://github.com/alibaba/ilogtail/issues/1161) -[详情和源代码](https://github.com/alibaba/ilogtail/blob/main/changes/v1.7.1.md) +[详情和源代码](https://github.com/alibaba/ilogtail/blob/main/changes/v1.8.0.md) ### 下载 diff --git a/docs/en/guides/How-to-build-with-docker.md b/docs/en/guides/How-to-build-with-docker.md index 1190e7fd11..2b4eb9c0f2 100644 --- a/docs/en/guides/How-to-build-with-docker.md +++ b/docs/en/guides/How-to-build-with-docker.md @@ -13,13 +13,13 @@ make solib ### Build image. - The default {DOCKER_REPOSITORY} is `aliyun/ilogtail`. - - The default {VERSION} is `1.8.0`. + - The default {VERSION} is `1.8.1`. - The default {DOCKER_PUSH} is `false`. When the option is configured as true, the built images would also be pushed to the {DOCKER_REPOSITORY} with {VERSION} tag. ```shell DOCKER_PUSH={DOCKER_PUSH} DOCKER_REPOSITORY={DOCKER_REPOSITORY} VERSION={VERSION} make wholedocker ``` - So when you exec `make wholedocker` command, the built image named as `aliyun/ilogtail:1.8.0` would be stored in local repository. + So when you exec `make wholedocker` command, the built image named as `aliyun/ilogtail:1.8.1` would be stored in local repository. ## Build Pure Go image. @@ -27,10 +27,10 @@ If the features that you want to use only in Go part, such as collecting stdout ### Build image. - The default {DOCKER_REPOSITORY} is `aliyun/ilogtail`. - - The default {VERSION} is `1.8.0`. + - The default {VERSION} is `1.8.1`. - The default {DOCKER_PUSH} is `false`. When the option is configured as true, the built images would also be pushed to the {DOCKER_REPOSITORY} with {VERSION} tag. ```shell DOCKER_PUSH={DOCKER_PUSH} DOCKER_REPOSITORY={DOCKER_REPOSITORY} VERSION={VERSION} make docker ``` -So when you exec `make docker` command, the built image named as `aliyun/ilogtail:1.8.0` would be stored in local repository. \ No newline at end of file +So when you exec `make docker` command, the built image named as `aliyun/ilogtail:1.8.1` would be stored in local repository. \ No newline at end of file diff --git a/docs/en/guides/How-to-do-manual-test.md b/docs/en/guides/How-to-do-manual-test.md index babcc6167b..cf2275ddb9 100644 --- a/docs/en/guides/How-to-do-manual-test.md +++ b/docs/en/guides/How-to-do-manual-test.md @@ -114,8 +114,8 @@ program written by yourself. ### Run [Logtail AlibabaCloud](https://help.aliyun.com/document_detail/28979.html) on container 1. Run `make docker` to compile [Logtail AlibabaCloud](https://help.aliyun.com/document_detail/28979.html) docker - images named `aliyun/ilogtail:1.8.0`. -2. Rename `aliyun/ilogtail:1.8.0` to a custom name and push to the remotes, such - as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.8.0`. + images named `aliyun/ilogtail:1.8.1`. +2. Rename `aliyun/ilogtail:1.8.1` to a custom name and push to the remotes, such + as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.8.1`. 3. Replace the mirror of `logtail-ds` of [ACK](https://www.aliyun.com/product/list/alibabacloudnative) or your self platform and restart. diff --git a/scripts/docker_build.sh b/scripts/docker_build.sh index b357dc3029..257df01c85 100755 --- a/scripts/docker_build.sh +++ b/scripts/docker_build.sh @@ -56,7 +56,7 @@ function check_docker_buildkit_support { ARCH=$(arch) CATEGORY=$1 GENERATED_HOME=$2 -VERSION=${3:-1.8.0} +VERSION=${3:-1.8.1} REPOSITORY=${4:-aliyun/ilogtail} PUSH=${5:-false} USE_DOCKER_BUILDKIT=${6:-${DOCKER_BUILD_USE_BUILDKIT:-$(check_docker_buildkit_support)}} diff --git a/scripts/gen_build_scripts.sh b/scripts/gen_build_scripts.sh index 958e53eb89..806d236a92 100755 --- a/scripts/gen_build_scripts.sh +++ b/scripts/gen_build_scripts.sh @@ -24,7 +24,7 @@ set -o pipefail # e2e: Build plugin dynamic lib with GOC and build the CPP part. CATEGORY=$1 GENERATED_HOME=$2 -VERSION=${3:-1.8.0} +VERSION=${3:-1.8.1} REPOSITORY=${4:-aliyun/ilogtail} OUT_DIR=${5:-output} EXPORT_GO_ENVS=${6:-${DOCKER_BUILD_EXPORT_GO_ENVS:-true}} diff --git a/scripts/plugin_build.sh b/scripts/plugin_build.sh index 8757b7447b..0f852ae9f0 100755 --- a/scripts/plugin_build.sh +++ b/scripts/plugin_build.sh @@ -27,7 +27,7 @@ function os() { MOD=${1:-mod} BUILDMODE=${2:-default} OUT_DIR=${3:-output} -VERSION=${4:-1.8.0} +VERSION=${4:-1.8.1} PLUGINS_CONFIG_FILE=${5:-${PLUGINS_CONFIG_FILE:-plugins.yml,external_plugins.yml}} GO_MOD_FILE=${6:-${GO_MOD_FILE:-go.mod}} NAME=ilogtail diff --git a/scripts/windows32_build.bat b/scripts/windows32_build.bat index 716174466f..b639b865ba 100644 --- a/scripts/windows32_build.bat +++ b/scripts/windows32_build.bat @@ -6,7 +6,7 @@ REM 2. Build iLogtail. REM 3. Build iLogtail plugin. REM 4. Make package. -set ILOGTAIL_VERSION=1.8.0 +set ILOGTAIL_VERSION=1.8.1 if not "%1" == "" set ILOGTAIL_VERSION=%1 set CurrentPath=%~dp0 set P1Path= diff --git a/scripts/windows64_build.bat b/scripts/windows64_build.bat index 16ee0f8b25..13e9c6314d 100644 --- a/scripts/windows64_build.bat +++ b/scripts/windows64_build.bat @@ -6,7 +6,7 @@ REM 2. Build iLogtail. REM 3. Build iLogtail plugin. REM 4. Make package. -set ILOGTAIL_VERSION=1.8.0 +set ILOGTAIL_VERSION=1.8.1 if not "%1" == "" set ILOGTAIL_VERSION=%1 set CurrentPath=%~dp0 set P1Path= diff --git a/scripts/windows64_dist.bat b/scripts/windows64_dist.bat index fc32a4b02d..efb9595eb4 100644 --- a/scripts/windows64_dist.bat +++ b/scripts/windows64_dist.bat @@ -5,7 +5,7 @@ REM 1. Set environments. REM 2. Copy output to dist package dir. REM 3. Pack dir to zip archive. -set ILOGTAIL_VERSION=1.8.0 +set ILOGTAIL_VERSION=1.8.1 if not "%1" == "" set ILOGTAIL_VERSION=%1 set CurrentPath=%~dp0 set P1Path= diff --git a/test/engine/boot/compose.go b/test/engine/boot/compose.go index 30822ff014..7ceae1508d 100644 --- a/test/engine/boot/compose.go +++ b/test/engine/boot/compose.go @@ -55,7 +55,7 @@ services: interval: 1s retries: 10 ilogtailC: - image: aliyun/ilogtail:1.8.0 + image: aliyun/ilogtail:1.8.1 hostname: ilogtail privileged: true pid: host