Skip to content

Commit

Permalink
chore(releasing): cherry picking 0.44.0 commits (#22207)
Browse files Browse the repository at this point in the history
* chore(releasing): Prepare v0.44.0 (#22192)

* chore(releasing): Prepare v0.44.0

* Bump Alpine Linux base image to 3.21

* cargo update -p vrl

* cargo vdev build release-cue

* upgrade guide

* commit website/cue/reference/releases/0.44.0.cue

* bump versions

* spelling fixes

* update changelog

* enforce changelog rendering order

* tweak upgrade guide

* add website prefix to the preparation branch so that we can get previews

* address Jesse's review points

* improve changelog change header and content alignment

chore(releasing): docs feedback on v0.44.0 (#22193)

chore(releasing): docs feedback

* reset VRL to track main

* bump vector version
  • Loading branch information
pront authored Jan 14, 2025
1 parent a0b4e0a commit e28d6e8
Show file tree
Hide file tree
Showing 33 changed files with 405 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/minor-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The week before the release:
- [ ] Create a new release branch from master to freeze commits
- `git fetch && git checkout origin/master && git checkout -b v0.<new version number> && git push -u`
- [ ] Create a new release preparation branch from `master`
- `git checkout -b prepare-v0.<new version number> && git push -u`
- `git checkout -b website-prepare-v0.<new version number> && git push -u`
- [ ] Pin VRL to latest released version rather than `main`
- [ ] Check if there is a newer version of [Alpine](https://alpinelinux.org/releases/) or
[Debian](https://www.debian.org/releases/) available to update the release images in
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/patch-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: "domain: releasing"
Before the release:

- [ ] Create a new release preparation branch from the current release branch
- `git fetch && git checkout v0.<current minor version> && git checkout -b prepare-v0.<new version number>`
- `git fetch && git checkout v0.<current minor version> && git checkout -b website-prepare-v0.<new version number>`
- [ ] Cherry-pick in all commits to be released from the associated release milestone
- If any merge conflicts occur, attempt to solve them and if needed enlist the aid of those familiar with the conflicting commits.
- [ ] Bump the release number in the `Cargo.toml` to the current version number
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,4 @@ teledisk
UMTS
WCDMA
XMODEM
cbor
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vector"
version = "0.44.0"
version = "0.45.0"
authors = ["Vector Contributors <[email protected]>"]
edition = "2021"
description = "A lightweight and ultra-fast tool for building observability pipelines"
Expand Down
3 changes: 0 additions & 3 deletions changelog.d/21128_log_aws_s3_objects_consumed.enhancement.md

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/21822-nats-sink-multiple-urls.enhancement.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/21864_kubernetes_logs_user_agent.fix.md

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/21939_log_to_metric_tags_expansion.feature.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/21985_parse_dnstap.feature.md

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/22026-retry-kafka-policy-violations.fix.md

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/22090_remove_gcp_pubsub_msg_size_limit.fix.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/22126.fix.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/pass-sample-rate-key-config.fix.md

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions distribution/docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/alpine:3.20 AS builder
FROM docker.io/alpine:3.21 AS builder

WORKDIR /vector

Expand All @@ -12,7 +12,7 @@ RUN ARCH=$(if [ "$TARGETPLATFORM" = "linux/arm/v6" ]; then echo "arm"; else cat

RUN mkdir -p /var/lib/vector

FROM docker.io/alpine:3.20
FROM docker.io/alpine:3.21
# we want the latest versions of these
# hadolint ignore=DL3018
RUN apk --no-cache add ca-certificates tzdata
Expand Down
2 changes: 1 addition & 1 deletion distribution/docker/distroless-static/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/alpine:3.20 AS builder
FROM docker.io/alpine:3.21 AS builder

WORKDIR /vector

Expand Down
2 changes: 1 addition & 1 deletion distribution/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -u
# If PACKAGE_ROOT is unset or empty, default it.
PACKAGE_ROOT="${PACKAGE_ROOT:-"https://packages.timber.io/vector"}"
# If VECTOR_VERSION is unset or empty, default it.
VECTOR_VERSION="${VECTOR_VERSION:-"0.43.1"}"
VECTOR_VERSION="${VECTOR_VERSION:-"0.44.0"}"
_divider="--------------------------------------------------------------------------------"
_prompt=">>>"
_indent=" "
Expand Down
42 changes: 42 additions & 0 deletions website/content/en/highlights/2025-01-13-0-44-0-upgrade-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
date: "2025-01-13"
title: "0.44 Upgrade Guide"
description: "An upgrade guide that addresses breaking changes in 0.40.0"
authors: [ "pront" ]
release: "0.44.0"
hide_on_release_notes: false
badges:
type: breaking change
---

## Table of Contents

Breaking Changes:

1. [Clickhouse Sink `skip_unknown_fields` changes](#clickhouse-sink)
2. [File source `ignored_header_bytes` and `lines` fix](#file-source)
3. [Some VRL functions are now fallible](#vrl-breaking-changes)

## Clickhouse Sink `skip_unknown_fields` changes {#clickhouse-sink}

The [skip_unknown_fields](https://vector.dev/docs/reference/configuration/sinks/clickhouse/#skip_unknown_fields) behavior was changed:

- `skip_unknown_fields` is `true`: enables skipping unknown fields (overrides the server's default)
- `skip_unknown_fields` is `false`: enables "strict" mode and does not allow skipping unknown fields for the request, (overrides the
server's
default)
- `skip_unknown_fields` is not set: follows the server's default

Double-check your configuration and update the setting per above.

## File source `ignored_header_bytes` and `lines` fix {##file-source}

When sourcing from compressed files, `ignored_header_bytes` no longer looks at the compressed file's bytes (which would include the
magic bytes for the compression header). Instead, it ignores the bytes from the uncompressed content. Similarly, `lines` no longer
looks for new line delimiters in the compressed content, but the uncompressed content.

## Some VRL functions are now fallible {#vrl-breaking-changes}

`to_unix_timestamp`, `to_float`, and `uuid_v7` can now return an error if the supplied timestamp is unrepresentable as a nanosecond
timestamp. Previously the function calls would panic. VRL scripts using the above functions need to be updated to handle potential
errors.
4 changes: 4 additions & 0 deletions website/content/en/releases/0.44.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Vector v0.44.0 release notes
weight: 21
---
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ administration: interfaces: kubectl: {
role_implementations: [Name=string]: {
commands: {
_deployment_variant: string
_vector_version: "0.43"
_vector_version: "0.44"
_namespace: string | *"vector"
_controller_resource_type: string
_controller_resource_name: string | *_deployment_variant
Expand Down
Loading

0 comments on commit e28d6e8

Please sign in to comment.