diff --git a/Makefile b/Makefile index f1b18592bf..dcefb82cf7 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # limitations under the License. .DEFAULT_GOAL := all -VERSION ?= 1.8.4 +VERSION ?= 1.8.8 DOCKER_PUSH ?= false DOCKER_REPOSITORY ?= aliyun/ilogtail BUILD_REPOSITORY ?= aliyun/ilogtail_build diff --git a/changes/v1.8.8.md b/changes/v1.8.8.md new file mode 100644 index 0000000000..082de0340d --- /dev/null +++ b/changes/v1.8.8.md @@ -0,0 +1,37 @@ +# 1.8.8 + +## Changes + +All issues and pull requests are [here](https://github.com/alibaba/ilogtail/milestone/21). + +### Features + +- [public] [both] [added] Processor rate limit #1321 + +### Fixed + +- [public] [both] [fixed] Fix apsara base field parse error #1307 +- [public] [both] [fixed] Fix microsecond handling in Apsara log parser #1309 +- [public] [both] [fixed] Resolve unintended Go module loading caused by high-precision timestamp settings #1336 +- [public] [both] [fixed] Ensure process is able to exit when history file import is ever used #1369 +- [public] [both] [fixed] Fix missing Connection_string tag in Skywalking database Span #1407 +- [public] [both] [fixed] Maintain sequential info of the original log content and allow multivalue for single key for apsara processor #1416 +- [public] [both] [fixed] Improve sender log condition to record valuable debug info #1419 + +### Doc + + +## Download + +| **Filename** | **OS** | **Arch** | **SHA256 Checksum** | +| ---- | ---- | ---- | ---- | +|[ilogtail-1.8.8.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.linux-amd64.tar.gz)|Linux|x86-64|[ilogtail-1.8.8.linux-amd64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.linux-amd64.tar.gz.sha256)| +|[ilogtail-1.8.8.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.linux-arm64.tar.gz)|Linux|arm64|[ilogtail-1.8.8.linux-arm64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.linux-arm64.tar.gz.sha256)| +|[ilogtail-1.8.8.windows-amd64.zip](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.windows-amd64.zip)|Windows|x86-64|[ilogtail-1.8.8.windows-amd64.zip.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.windows-amd64.zip.sha256)| + +## Docker Image + +**Docker Pull Command** +``` bash +docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.8.8 +``` diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index dcfce8a624..2f6073ea44 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -24,7 +24,7 @@ option(WITHOUTGDB "Build Logtail without gdb" OFF) # Name/Version information. if (NOT DEFINED LOGTAIL_VERSION) - set(LOGTAIL_VERSION "1.8.4") + set(LOGTAIL_VERSION "1.8.8") endif () message(STATUS "Version: ${LOGTAIL_VERSION}") diff --git a/docker/Dockerfile_build b/docker/Dockerfile_build index a18567825c..e2e152d770 100644 --- a/docker/Dockerfile_build +++ b/docker/Dockerfile_build @@ -19,7 +19,7 @@ WORKDIR /src COPY . . ARG HOST_OS=Linux -ARG VERSION=1.8.4 +ARG VERSION=1.8.8 USER root diff --git a/docker/Dockerfile_development_part b/docker/Dockerfile_development_part index b7e47cbc24..93889f6cad 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:1.3.0 ARG HOST_OS=Linux -ARG VERSION=1.8.4 +ARG VERSION=1.8.8 USER root WORKDIR /ilogtail diff --git a/docker/Dockerfile_production b/docker/Dockerfile_production index c0f4f6c430..d7d7477691 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.4 +ARG VERSION=1.8.8 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.4 +ARG VERSION=1.8.8 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 21bdb97875..1ef5916b27 100644 --- a/docs/cn/installation/release-notes.md +++ b/docs/cn/installation/release-notes.md @@ -1,5 +1,44 @@ # 发布历史 +## 1.8.8 + +### 发布记录 + +发版日期:2024 年 3 月 27 日 + +新功能 + +* 新增processo_rate_limit采样限流插件 [#1321](https://github.com/alibaba/ilogtail/pull/1321) + +优化 + +* 优化Sender日志打印和告警 [#1419](https://github.com/alibaba/ilogtail/pull/1419) +* Skywalking插件中数据库Span新增Connection_string标签 [#1407](https://github.com/alibaba/ilogtail/pull/1407) + +问题修复 + +* 修复飞天格式解析字段和时间错乱问题 [#1307](https://github.com/alibaba/ilogtail/pull/1307) [#1309](https://github.com/alibaba/ilogtail/pull/1309) +* 解决高精度时间设置后Go插件意外加载的问题 [#1336](https://github.com/alibaba/ilogtail/pull/1307) [#1309](https://github.com/alibaba/ilogtail/pull/1336) +* 确保导入历史文件后进程可以正常退出 [#1369](https://github.com/alibaba/ilogtail/pull/1307) [#1309](https://github.com/alibaba/ilogtail/pull/1369) +* 维持解析后的日志字段顺序与原始日志一致,飞天格式允许重复key以兼容原有行为 [#1416](https://github.com/alibaba/ilogtail/pull/1416) + +[详情和源代码](https://github.com/alibaba/ilogtail/blob/main/changes/v1.8.8.md) + +### 下载 + +| 文件名 | 系统 | 架构 | SHA256 校验码 | +| -------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------ | ---------------------------------------------------------------- | +| [ilogtail-1.8.8.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.linux-amd64.tar.gz) | Linux | x86-64 | 0f0b7d707f91e583fd8f73f9ebae7051de7c965d581176a84550745862213e91 | +| [ilogtail-1.8.8.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.8.8/ilogtail-1.8.8.linux-arm64.tar.gz) | Linux | arm64 | 1828515e7dbef33c2d6b3d260c25fb2b84bf60d3a8b756df8dd0e3c7c6ad1737 | + +### Docker 镜像 + +**Docker Pull 命令** + +``` bash +docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.8.8 +``` + ## 1.8.4 ### 发布记录 diff --git a/docs/en/guides/How-to-build-with-docker.md b/docs/en/guides/How-to-build-with-docker.md index 4d060172c6..350e16398c 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.4`. + - The default {VERSION} is `1.8.8`. - 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.4` would be stored in local repository. + So when you exec `make wholedocker` command, the built image named as `aliyun/ilogtail:1.8.8` 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.4`. + - The default {VERSION} is `1.8.8`. - 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.4` 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.8` 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 4488cfb256..144a587c18 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.4`. -2. Rename `aliyun/ilogtail:1.8.4` to a custom name and push to the remotes, such - as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.8.4`. + images named `aliyun/ilogtail:1.8.8`. +2. Rename `aliyun/ilogtail:1.8.8` to a custom name and push to the remotes, such + as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.8.8`. 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 5741465202..1d86e13ec3 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.4} +VERSION=${3:-1.8.8} 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 85b3bb8e48..7b37c9a315 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.4} +VERSION=${3:-1.8.8} 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 8352c6e045..7725a56029 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.4} +VERSION=${4:-1.8.8} 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 f225b6610a..0f0253a27e 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.4 +set ILOGTAIL_VERSION=1.8.8 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 d3351e92f6..51c6d5d6ee 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.4 +set ILOGTAIL_VERSION=1.8.8 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 7d072fe94d..8d95165af1 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.4 +set ILOGTAIL_VERSION=1.8.8 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 e950c49012..05f31436d8 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.4 + image: aliyun/ilogtail:1.8.8 hostname: ilogtail privileged: true pid: host