Skip to content

Commit

Permalink
bump version to 1.7.0 (#965)
Browse files Browse the repository at this point in the history
* release v1.7.0
  • Loading branch information
yyuuttaaoo authored Jul 3, 2023
1 parent 0307ca0 commit 7a2f144
Show file tree
Hide file tree
Showing 19 changed files with 94 additions and 25 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ your changes, such as:
- [public] [both] [updated] add a new feature

## [Unreleased]

- [public] [both] [updated] support timestamp nanosecond
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

.DEFAULT_GOAL := all
VERSION ?= 1.6.0
VERSION ?= 1.7.0
DOCKER_PUSH ?= false
DOCKER_REPOSITORY ?= aliyun/ilogtail
BUILD_REPOSITORY ?= aliyun/ilogtail_build
Expand Down
37 changes: 37 additions & 0 deletions changes/v1.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 1.7.0

## Changes

All issues and pull requests are [here](https://github.com/alibaba/ilogtail/milestone/20).

### Features

- [public] [both] [added] support timestamp nanosecond
- [public] [both] [added] add RawLogTag to support original log key rename
- [public] [both] [updated] upgrade go.mod version to 1.19
- [public] [both] [updated] add too long log split alarm

### Fixed

- [public] [both] [fixed] metric_system_v2 add timeout func when collect disk metrics

### Doc

- [public] [both] [doc] add parse high resolution time while upload raw log config example
- [public] [both] [doc] add parse swift alliance gateway log for audit config example
- [public] [both] [doc] add guidance to setup iLogtail resource limit feature in k8s deployment.
- [public] [both] [doc] fix the description error of supported version range for Kafka

## Download

| **Filename** | **OS** | **Arch** | **SHA256 Checksum** |
| ---- | ---- | ---- | ---- |
|[ilogtail-1.7.0.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.7.0/ilogtail-1.7.0.linux-amd64.tar.gz)|Linux|x86-64|[ilogtail-1.7.0.linux-amd64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.7.0/ilogtail-1.7.0.linux-amd64.tar.gz.sha256)|
|[ilogtail-1.7.0.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.7.0/ilogtail-1.7.0.linux-arm64.tar.gz)|Linux|arm64|[ilogtail-1.7.0.linux-arm64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.7.0/ilogtail-1.7.0.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.7.0
```
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ option(ENABLE_STATIC_LINK_CRT "Build Logtail by linking CRT statically" OFF)

# Name/Version information.
if (NOT DEFINED LOGTAIL_VERSION)
set(LOGTAIL_VERSION "1.6.0")
set(LOGTAIL_VERSION "1.7.0")
endif ()
message(STATUS "Version: ${LOGTAIL_VERSION}")

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_build
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKDIR /src
COPY . .

ARG HOST_OS=Linux
ARG VERSION=1.6.0
ARG VERSION=1.7.0

USER root

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_development_part
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FROM sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:latest

ARG HOST_OS=Linux
ARG VERSION=1.6.0
ARG VERSION=1.7.0

USER root
WORKDIR /ilogtail
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile_production
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

FROM --platform=$TARGETPLATFORM centos:centos7.9.2009 as build
ARG VERSION=1.6.0
ARG VERSION=1.7.0
ARG TARGETPLATFORM
WORKDIR /usr/local
COPY dist/ilogtail-${VERSION}.linux-*.tar.gz .
Expand All @@ -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.6.0
ARG VERSION=1.7.0
ARG TARGETPLATFORM

COPY --from=build /usr/local/ilogtail-${VERSION} /usr/local/ilogtail
Expand Down
2 changes: 1 addition & 1 deletion docker/build-multi-arch-build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# -o type=registry \
# --no-cache -f Dockerfile.ilogtail-toolchain-linux .

#docker buildx build --platform linux/amd64,linux/arm64 \
#docker buildx build --sbom=false --provenance=false --platform linux/amd64,linux/arm64 \
# -t sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:1.2.0 \
# -o type=registry \
# --no-cache -f Dockerfile.ilogtail-build-linux .
Expand Down
4 changes: 2 additions & 2 deletions docs/cn/data-pipeline/accelerator/delimiter-accelerate.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ inputs:
FilePattern: delimiter.log
processors:
- Type: processor_delimiter_accelerate
Seperator: ,
Quote: ‘“’
Separator: ','
Quote: '"'
ColumnKeys:
- ip
- time
Expand Down
33 changes: 33 additions & 0 deletions docs/cn/installation/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# 发布历史

## 1.7.0

### 发布记录

发版日期:2023 年 7 月 2 日

新功能

* 写入SLS支持纳秒级高精度时间 [#952](https://github.com/alibaba/ilogtail/pull/952)

优化

* Go版本升级到1.19 [#936](https://github.com/alibaba/ilogtail/issues/415)
* 为metric_system_v2收集磁盘指标添加超时,避免影响其他指标采集 [#933](https://github.com/alibaba/ilogtail/pull/933)
* 增加日志超长切分失败告警 [#915](https://github.com/alibaba/ilogtail/pull/915)

[详情和源代码](https://github.com/alibaba/ilogtail/blob/main/changes/v1.7.0.md)

### 下载

| 文件名 | 系统 | 架构 | SHA256 校验码 |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------ | ---------------------------------------------------------------- |
| [ilogtail-1.7.0.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.7.0/ilogtail-1.7.0.linux-amd64.tar.gz) | Linux | x86-64 | d64061f9b5dc33e40f385c5514000157cc530c5b1f325afb3552267231334cd8 |
| [ilogtail-1.7.0.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.7.0/ilogtail-1.7.0.linux-arm64.tar.gz) | Linux | arm64 | 27f9a34df79869bffb1c1be639c3602f1bd021c068e97fc3e287ef9cbabb3834 |

### Docker 镜像

**Docker Pull 命令** 

``` bash
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.7.0
```

## 1.6.0

### 发布记录
Expand Down
8 changes: 4 additions & 4 deletions docs/en/guides/How-to-build-with-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ make solib

### Build image.
- The default {DOCKER_REPOSITORY} is `aliyun/ilogtail`.
- The default {VERSION} is `1.6.0`.
- The default {VERSION} is `1.7.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.6.0` would be stored in local repository.
So when you exec `make wholedocker` command, the built image named as `aliyun/ilogtail:1.7.0` would be stored in local repository.


## Build Pure Go image.
If the features that you want to use only in Go part, such as collecting stdout logs or metrics inputs, you cloud build a pure Go image to use.

### Build image.
- The default {DOCKER_REPOSITORY} is `aliyun/ilogtail`.
- The default {VERSION} is `1.6.0`.
- The default {VERSION} is `1.7.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.6.0` would be stored in local repository.
So when you exec `make docker` command, the built image named as `aliyun/ilogtail:1.7.0` would be stored in local repository.
6 changes: 3 additions & 3 deletions docs/en/guides/How-to-do-manual-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.0`.
2. Rename `aliyun/ilogtail:1.6.0` to a custom name and push to the remotes, such
as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.6.0`.
images named `aliyun/ilogtail:1.7.0`.
2. Rename `aliyun/ilogtail:1.7.0` to a custom name and push to the remotes, such
as `registry.cn-beijing.aliyuncs.com/aliyun/ilogtail:1.7.0`.
3. Replace the mirror of `logtail-ds` of [ACK](https://www.aliyun.com/product/list/alibabacloudnative) or your self
platform and restart.
2 changes: 1 addition & 1 deletion scripts/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function check_docker_buildkit_support {
ARCH=$(arch)
CATEGORY=$1
GENERATED_HOME=$2
VERSION=${3:-1.6.0}
VERSION=${3:-1.7.0}
REPOSITORY=${4:-aliyun/ilogtail}
PUSH=${5:-false}
USE_DOCKER_BUILDKIT=${6:-${DOCKER_BUILD_USE_BUILDKIT:-$(check_docker_buildkit_support)}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_build_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.0}
VERSION=${3:-1.7.0}
REPOSITORY=${4:-aliyun/ilogtail}
OUT_DIR=${5:-output}
EXPORT_GO_ENVS=${6:-${DOCKER_BUILD_EXPORT_GO_ENVS:-true}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/plugin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function os() {
MOD=${1:-mod}
BUILDMODE=${2:-default}
OUT_DIR=${3:-output}
VERSION=${4:-1.6.0}
VERSION=${4:-1.7.0}
PLUGINS_CONFIG_FILE=${5:-${PLUGINS_CONFIG_FILE:-plugins.yml,external_plugins.yml}}
GO_MOD_FILE=${6:-${GO_MOD_FILE:-go.mod}}
NAME=ilogtail
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows32_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REM 2. Build iLogtail.
REM 3. Build iLogtail plugin.
REM 4. Make package.

set ILOGTAIL_VERSION=1.6.0
set ILOGTAIL_VERSION=1.7.0
if not "%1" == "" set ILOGTAIL_VERSION=%1
set CurrentPath=%~dp0
set P1Path=
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows64_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REM 2. Build iLogtail.
REM 3. Build iLogtail plugin.
REM 4. Make package.

set ILOGTAIL_VERSION=1.6.0
set ILOGTAIL_VERSION=1.7.0
if not "%1" == "" set ILOGTAIL_VERSION=%1
set CurrentPath=%~dp0
set P1Path=
Expand Down
3 changes: 2 additions & 1 deletion scripts/windows64_dist.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.0
set ILOGTAIL_VERSION=1.7.0
if not "%1" == "" set ILOGTAIL_VERSION=%1
set CurrentPath=%~dp0
set P1Path=
Expand All @@ -29,6 +29,7 @@ cd %ILOGTAIL_PLUGIN_SRC_PATH%
md %DIST_DIR%\%PACKAGE_DIR%
xcopy /Y LICENSE %DIST_DIR%\%PACKAGE_DIR%
xcopy /Y README.md %DIST_DIR%\%PACKAGE_DIR%
xcopy /Y LICENSE README.md %DIST_DIR%\%PACKAGE_DIR%
xcopy /Y %OUTPUT_DIR% %DIST_DIR%\%PACKAGE_DIR%

cd %DIST_DIR%
Expand Down
2 changes: 1 addition & 1 deletion test/engine/boot/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ services:
interval: 1s
retries: 10
ilogtailC:
image: aliyun/ilogtail:1.6.0
image: aliyun/ilogtail:1.7.0
hostname: ilogtail
privileged: true
pid: host
Expand Down

0 comments on commit 7a2f144

Please sign in to comment.