diff --git a/CHANGELOG.md b/CHANGELOG.md index 53b4f46067..69cbd0aaa3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,39 +36,3 @@ your changes, such as: - [public] [both] [updated] add a new feature ## [Unreleased] - -- [public] [both] [added] refactoried C++ process pipeline -- [public] [both] [added] support use accelerate processors with go processors -- [public] [both] [added] add new logtail metric module -- [public] [both] [added] ddd JSON flatten protocol, data can be flattened and then brushed into storage such as Kafka and ES. -- [public] [both] [added] use env `LOGTAIL_LOG_LEVEL` to control ilogtail log level -- [public] [both] [added] add global host path blacklist -- [public] [both] [updated] support continue/end regex patterns to split multiline log -- [public] [both] [updated] support reader flush timeout -- [public] [both] [updated] flusher Kafka V2: support send the message with headers to kafka -- [public] [both] [updated] sls flusher supports nanosecond timestamp -- [public] [both] [updated] update gcc version to 9.3.1 -- [public] [both] [updated] add make flag WITHOUTGDB -- [public] [both] [updated] cache incomplete line in memory to avoid repeated read system call -- [public] [both] [updated] unify metrics format -- [public] [both] [updated] verify host ip against NIC to get more accurate host ip -- [public] [both] [fixed] remove the ip restrict of config server address, allow domain and hostname -- [public] [both] [fixed] add APSARA\_LOG\_TRACE to solve the problem of not being able to find LOG\_TRACE. -- [public] [both] [fixed] fix collection duplication for statefulset sidecar that may mount same volume on different nodes -- [public] [both] [fixed] fix multiline is splitted if not flushed to disk together -- [public] [both] [fixed] fix line is truncated if \0 is in the middle of line -- [public] [both] [fixed] container cannot exit for file reopened by checkpoint -- [public] [both] [fixed] fix filename being mismatched to the deleted file if the deleted file size is 0 and their inode is same -- [public] [both] [fixed] fix config server panic caused by concurrent read and write shared object -- [public] [both] [fixed] add expand array switch in json processor for backward compatibility -- [public] [both] [fixed] timezone adjust not working with apsara\_log -- [public] [both] [fixed] fix parse json without newline may result in partial parsing -- [public] [both] [fixed] fix json does not split correctly if beginning buffer contains invalid json -- [public] [both] [added] support plugin ProcessorParseTimestampNative -- [public] [both] [added] support plugin processor_otel_metric -- [public] [both] [updated] skywalking plugin support to capture `db.connection_string` tag -- [public] [both] [added] support plugin ProcessorParseApsaraNative -- [public] [both] [added] support plugin ProcessorParseDelimiterNative -- [public] [both] [added] support plugin ProcessorFilterNative -- [public] [both] [added] support plugin ProcessorDesensitizeNative -- [public] [both] [added] add resource tag for env created logtail config diff --git a/Makefile b/Makefile index 02b94c2669..8a049b7839 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ # limitations under the License. .DEFAULT_GOAL := all -VERSION ?= 1.7.1 +VERSION ?= 1.8.0 DOCKER_PUSH ?= false DOCKER_REPOSITORY ?= aliyun/ilogtail BUILD_REPOSITORY ?= aliyun/ilogtail_build diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index d0851fb4ff..b33b0c569e 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.7.1") + set(LOGTAIL_VERSION "1.8.0") endif () message(STATUS "Version: ${LOGTAIL_VERSION}") diff --git a/docker/Dockerfile_build b/docker/Dockerfile_build index 9b2e853bfe..7e44380dbf 100644 --- a/docker/Dockerfile_build +++ b/docker/Dockerfile_build @@ -19,7 +19,7 @@ WORKDIR /src COPY . . ARG HOST_OS=Linux -ARG VERSION=1.7.1 +ARG VERSION=1.8.0 USER root diff --git a/docker/Dockerfile_development_part b/docker/Dockerfile_development_part index 3f50cdde3e..4f46ce1559 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-1 ARG HOST_OS=Linux -ARG VERSION=1.7.1 +ARG VERSION=1.8.0 USER root WORKDIR /ilogtail diff --git a/docker/Dockerfile_production b/docker/Dockerfile_production index 86a94e04b4..2f3b91f239 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.7.1 +ARG VERSION=1.8.0 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.7.1 +ARG VERSION=1.8.0 ARG TARGETPLATFORM COPY --from=build /usr/local/ilogtail-${VERSION} /usr/local/ilogtail diff --git a/docs/en/guides/How-to-build-with-docker.md b/docs/en/guides/How-to-build-with-docker.md index dcbeca5c32..1190e7fd11 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.7.1`. + - The default {VERSION} is `1.8.0`. - 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.7.1` would be stored in local repository. + So when you exec `make wholedocker` command, the built image named as `aliyun/ilogtail:1.8.0` 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.7.1`. + - The default {VERSION} is `1.8.0`. - 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.7.1` 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.0` 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 d01caf12cd..babcc6167b 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.7.1`. -2. Rename `aliyun/ilogtail:1.7.1` to a custom name and push to the remotes, such - as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.7.1`. + 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`. 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 48034b2fc5..b357dc3029 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.7.1} +VERSION=${3:-1.8.0} 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 d35b4b350e..d86e4011bd 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.7.1} +VERSION=${3:-1.8.0} 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 ae2cfbdb4a..8757b7447b 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.7.1} +VERSION=${4:-1.8.0} 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 6545c60ded..716174466f 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.7.1 +set ILOGTAIL_VERSION=1.8.0 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 c2bf9ded0a..16ee0f8b25 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.7.1 +set ILOGTAIL_VERSION=1.8.0 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 65a6f7ac0c..fc32a4b02d 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.7.1 +set ILOGTAIL_VERSION=1.8.0 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 ccaf452bdc..30822ff014 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.7.1 + image: aliyun/ilogtail:1.8.0 hostname: ilogtail privileged: true pid: host