Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit 317b101

Browse files
authored
Version 0.13.4 (#3244)
If I didn't mess up the workflow, this should remove some ugliness from the version string (e.g. 0.13.2+57ddbe0.57ddbe0, dupe commit hash, as a result of #3147)
1 parent 89482ad commit 317b101

File tree

7 files changed

+26
-30
lines changed

7 files changed

+26
-30
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232
if: github.event_name == 'release' # Only for GitHub releases
3333
run: |
3434
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
35-
echo "BUILD=$(git rev-parse --short HEAD || \"\")" >> $GITHUB_ENV
36-
BRANCH=$(git symbolic-ref --short HEAD | tr -d \/)
37-
[ ${BRANCH} == "main" ] && BRANCH=""
38-
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV
3935
- name: Set up QEMU
4036
uses: docker/setup-qemu-action@v1
4137
- name: Set up Docker Buildx
@@ -60,7 +56,6 @@ jobs:
6056
cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:buildcache
6157
cache-to: type=registry,ref=ghcr.io/${{ env.GHCR_NAMESPACE }}/dendrite-monolith:buildcache,mode=max
6258
context: .
63-
build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
6459
platforms: ${{ env.PLATFORMS }}
6560
push: true
6661
tags: |
@@ -75,7 +70,6 @@ jobs:
7570
cache-from: type=gha
7671
cache-to: type=gha,mode=max
7772
context: .
78-
build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
7973
platforms: ${{ env.PLATFORMS }}
8074
push: true
8175
tags: |
@@ -109,10 +103,6 @@ jobs:
109103
if: github.event_name == 'release' # Only for GitHub releases
110104
run: |
111105
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
112-
echo "BUILD=$(git rev-parse --short HEAD || \"\")" >> $GITHUB_ENV
113-
BRANCH=$(git symbolic-ref --short HEAD | tr -d \/)
114-
[ ${BRANCH} == "main" ] && BRANCH=""
115-
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV
116106
- name: Set up QEMU
117107
uses: docker/setup-qemu-action@v1
118108
- name: Set up Docker Buildx
@@ -137,7 +127,6 @@ jobs:
137127
cache-from: type=gha
138128
cache-to: type=gha,mode=max
139129
context: .
140-
build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
141130
file: ./build/docker/Dockerfile.demo-pinecone
142131
platforms: ${{ env.PLATFORMS }}
143132
push: true
@@ -153,7 +142,6 @@ jobs:
153142
cache-from: type=gha
154143
cache-to: type=gha,mode=max
155144
context: .
156-
build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
157145
file: ./build/docker/Dockerfile.demo-pinecone
158146
platforms: ${{ env.PLATFORMS }}
159147
push: true
@@ -176,10 +164,6 @@ jobs:
176164
if: github.event_name == 'release' # Only for GitHub releases
177165
run: |
178166
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
179-
echo "BUILD=$(git rev-parse --short HEAD || \"\")" >> $GITHUB_ENV
180-
BRANCH=$(git symbolic-ref --short HEAD | tr -d \/)
181-
[ ${BRANCH} == "main" ] && BRANCH=""
182-
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV
183167
- name: Set up QEMU
184168
uses: docker/setup-qemu-action@v1
185169
- name: Set up Docker Buildx
@@ -204,7 +188,6 @@ jobs:
204188
cache-from: type=gha
205189
cache-to: type=gha,mode=max
206190
context: .
207-
build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
208191
file: ./build/docker/Dockerfile.demo-yggdrasil
209192
platforms: ${{ env.PLATFORMS }}
210193
push: true
@@ -220,7 +203,6 @@ jobs:
220203
cache-from: type=gha
221204
cache-to: type=gha,mode=max
222205
context: .
223-
build-args: FLAGS=-X github.com/matrix-org/dendrite/internal.branch=${{ env.BRANCH }} -X github.com/matrix-org/dendrite/internal.build=${{ env.BUILD }}
224206
file: ./build/docker/Dockerfile.demo-yggdrasil
225207
platforms: ${{ env.PLATFORMS }}
226208
push: true

CHANGES.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## Dendrite 0.13.4 (2023-10-25)
4+
5+
Upgrading to this version is **highly** recommended, as it fixes a long-standing bug in the state resolution
6+
algorithm.
7+
8+
### Fixes:
9+
10+
- The "device list updater" now de-duplicates the servers to fetch devices from on startup. (This also
11+
avoids spamming the logs when shutting down.)
12+
- A bug in the state resolution algorithm has been fixed. This bug could result in users "being reset"
13+
out of rooms and other missing state events due to calculating the wrong state.
14+
- A bug when setting notifications from Element Android has been fixed by implementing MSC3987
15+
16+
### Features
17+
18+
- Updated dependencies
19+
- Internal NATS Server has been updated from v2.9.19 to v2.9.23
20+
321
## Dendrite 0.13.3 (2023-09-28)
422

523
### Fixes:

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# base installs required dependencies and runs go mod download to cache dependencies
55
#
6-
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.20-alpine AS base
6+
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.21-alpine AS base
77
RUN apk --update --no-cache add bash build-base curl git
88

99
#
@@ -13,15 +13,14 @@ FROM --platform=${BUILDPLATFORM} base AS build
1313
WORKDIR /src
1414
ARG TARGETOS
1515
ARG TARGETARCH
16-
ARG FLAGS
1716
RUN --mount=target=. \
1817
--mount=type=cache,target=/root/.cache/go-build \
1918
--mount=type=cache,target=/go/pkg/mod \
2019
USERARCH=`go env GOARCH` \
2120
GOARCH="$TARGETARCH" \
2221
GOOS="linux" \
2322
CGO_ENABLED=$([ "$TARGETARCH" = "$USERARCH" ] && echo "1" || echo "0") \
24-
go build -v -ldflags="${FLAGS}" -trimpath -o /out/ ./cmd/...
23+
go build -v -trimpath -o /out/ ./cmd/...
2524

2625

2726
#

build/docker/Dockerfile.demo-yggdrasil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/golang:1.19-alpine AS base
1+
FROM docker.io/golang:1.21-alpine AS base
22

33
#
44
# Needs to be separate from the main Dockerfile for OpenShift,

helm/dendrite/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: dendrite
3-
version: "0.13.4"
4-
appVersion: "0.13.3"
3+
version: "0.13.5"
4+
appVersion: "0.13.4"
55
description: Dendrite Matrix Homeserver
66
type: application
77
keywords:

helm/dendrite/README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# dendrite
33

4-
![Version: 0.13.4](https://img.shields.io/badge/Version-0.13.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.3](https://img.shields.io/badge/AppVersion-0.13.3-informational?style=flat-square)
4+
![Version: 0.13.5](https://img.shields.io/badge/Version-0.13.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.13.4](https://img.shields.io/badge/AppVersion-0.13.4-informational?style=flat-square)
55
Dendrite Matrix Homeserver
66

77
Status: **NOT PRODUCTION READY**
@@ -48,16 +48,13 @@ Create a folder `appservices` and place your configurations in there. The confi
4848
| signing_key.create | bool | `true` | Create a new signing key, if not exists |
4949
| signing_key.existingSecret | string | `""` | Use an existing secret |
5050
| resources | object | sets some sane default values | Default resource requests/limits. |
51-
| persistence.storageClass | string | `""` | The storage class to use for volume claims. Used unless specified at the specific component. Defaults to the cluster default storage class. |
51+
| persistence.jetstream | object | `{"capacity":"1Gi","existingClaim":""}` | The storage class to use for volume claims. Used unless specified at the specific component. Defaults to the cluster default storage class. # If defined, storageClassName: <storageClass> # If set to "-", storageClassName: "", which disables dynamic provisioning # If undefined (the default) or set to null, no storageClassName spec is # set, choosing the default provisioner. (gp2 on AWS, standard on # GKE, AWS & OpenStack) # storageClass: "" |
5252
| persistence.jetstream.existingClaim | string | `""` | Use an existing volume claim for jetstream |
5353
| persistence.jetstream.capacity | string | `"1Gi"` | PVC Storage Request for the jetstream volume |
54-
| persistence.jetstream.storageClass | string | `""` | The storage class to use for volume claims. Defaults to persistence.storageClass |
5554
| persistence.media.existingClaim | string | `""` | Use an existing volume claim for media files |
5655
| persistence.media.capacity | string | `"1Gi"` | PVC Storage Request for the media volume |
57-
| persistence.media.storageClass | string | `""` | The storage class to use for volume claims. Defaults to persistence.storageClass |
5856
| persistence.search.existingClaim | string | `""` | Use an existing volume claim for the fulltext search index |
5957
| persistence.search.capacity | string | `"1Gi"` | PVC Storage Request for the search volume |
60-
| persistence.search.storageClass | string | `""` | The storage class to use for volume claims. Defaults to persistence.storageClass |
6158
| extraVolumes | list | `[]` | Add additional volumes to the Dendrite Pod |
6259
| extraVolumeMounts | list | `[]` | Configure additional mount points volumes in the Dendrite Pod |
6360
| strategy.type | string | `"RollingUpdate"` | Strategy to use for rolling updates (e.g. Recreate, RollingUpdate) If you are using ReadWriteOnce volumes, you should probably use Recreate |

internal/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var build string
1818
const (
1919
VersionMajor = 0
2020
VersionMinor = 13
21-
VersionPatch = 3
21+
VersionPatch = 4
2222
VersionTag = "" // example: "rc1"
2323

2424
gitRevLen = 7 // 7 matches the displayed characters on github.com

0 commit comments

Comments
 (0)