Skip to content

Releases: google/trillian

v1.6.1

28 Aug 13:10
68ab90c
Compare
Choose a tag to compare

What's Changed

  • Recommended go version for development: 1.22
    • This is the version used by the cloudbuild presubmits. Using a different version can lead to presubmits failing due to unexpected diffs.

MySQL

  • Add TLS support for MySQL by @fghanmi in #3593
    • --mysql_tls_ca: users can provide a CA certificate, that is used to establish a secure communication with MySQL server.
    • --mysql_server_name: users can provide the name of the MySQL server to be used as the Server Name in the TLS configuration.
  • dedup leafidentityhash values ahead of SQL lookup of existing leaves by @bobcallaway in #3607

Documentation

Misc

Dependency updates

  • Bump google.golang.org/api from 0.155.0 to 0.156.0 by @dependabot in #3290
  • Bump golang from 688ad7f to cbee5d2 in /integration/cloudbuild/testbase by @dependabot in #3286
  • Bump golang from 688ad7f to cbee5d2 in /examples/deployment/docker/db_client by @dependabot in #3287
  • Bump golang from 688ad7f to cbee5d2 in /examples/deployment/docker/log_signer by @dependabot in #3289
  • Bump golang from 688ad7f to cbee5d2 in /examples/deployment/docker/log_server by @dependabot in #3288
  • Bump actions/upload-artifact from 4.0.0 to 4.1.0 by @dependabot in #3292
  • Bump golang.org/x/tools from 0.16.1 to 0.17.0 by @dependabot in #3291
  • Bump go 1.20 -> 1.21 by @mhutchinson in #3293
  • Bump github.com/apache/beam/sdks/v2 from 2.52.0 to 2.53.0 by @dependabot in #3281
  • Bump CockroachDB to 22.2.17 by @roger2hk in #3301
  • Bump github.com/cockroachdb/cockroach-go/v2 from 2.3.5 to 2.3.6 by @dependabot in #3305
  • Bump actions/upload-artifact from 4.1.0 to 4.2.0 by @dependabot in #3302
  • Bump k8s.io/klog/v2 from 2.120.0 to 2.120.1 by @dependabot in #3303
  • Bump google.golang.org/api from 0.156.0 to 0.157.0 by @dependabot in #3304
  • Bump golang from cbee5d2 to c4b696f in /integration/cloudbuild/testbase by @dependabot in #3298
  • Bump ubuntu from 6042500 to e6173d4 in /examples/deployment/kubernetes/mysql/image by @dependabot in #3299
  • Bump golang from cbee5d2 to c4b696f in /examples/deployment/docker/db_client by @dependabot in #3295
  • Bump golang from cbee5d2 to c4b696f in /examples/deployment/docker/log_server by @dependabot in #3297
  • Bump golang from cbee5d2 to c4b696f in /examples/deployment/docker/log_signer by @dependabot in #3296
  • Bump mysql from 8.2 to 8.3 in /examples/deployment/docker/db_server by @dependabot in #3306
  • Bump golang from c4b696f to d8c365d in /examples/deployment/docker/log_signer by @dependabot in #3308
  • Bump actions/upload-artifact from 4.2.0 to 4.3.0 by @dependabot in #3309
  • Bump golang from c4b696f to d8c365d in /integration/cloudbuild/testbase by @dependabot in #3310
  • Bump golang from c4b696f to d8c365d in /examples/deployment/docker/log_server by @dependabot in #3311
  • Bump golang from c4b696f to d8c365d in /examples/deployment/docker/db_client by @dependabot in #3312
  • Bump google.golang.org/grpc from 1.60.1 to 1.61.0 by @dependabot in #3314
  • Bump google.golang.org/api from 0.157.0 to 0.158.0 by @dependabot in #3315
  • Bump google-auth-library from 9.4.2 to 9.5.0 in /scripts/gcb2slack by @dependabot in #3316
  • Bump google.golang.org/api from 0.158.0 to 0.159.0 by @dependabot in #3317
  • Bump google-auth-library from 9.5.0 to 9.6.0 in /scripts/gcb2slack by @dependabot in #3319
  • Bump google.golang.org/api from 0.159.0 to 0.160.0 by @dependabot in #3320
  • Bump alpine from 51b6726 to c5b1261 in /examples/deployment/docker/envsubst by @dependabot in #3321
  • Bump cloud.google.com/go/spanner from 1.55.0 to 1.56.0 by @dependabot in #3322
  • Bump go.etcd.io/etcd/v3 from 3.5.11 to 3.5.12 by @dependabot in #3327
  • Bump google.golang.org/api from 0.160.0 to 0.161.0 by @dependabot in #3323
  • Bump nick-fields/retry from 2.9.0 to 3.0.0 by @dependabot in #3328
  • Bump golang from d8c365d to 3efef61 in /examples/deployment/docker/db_client by @dependabot in #3329
  • Bump golang from d8c365d to 3efef61 in /integration/cloudbuild/testbase by @dependabot in #3331
  • Bump golang from d8c365d to 3efef61 in /examples/deployment/docker/log_signer by @dependabot in #3330
  • Bump golang from d8c365d to 3efef61 in /examples/deployment/docker/log_server by @dependabot in #3332
  • Bump google-auth-library from 9.6.0 to 9.6.1 in /scripts/gcb2slack by @dependabot in #3333
  • Bump google-auth-library from 9.6.1 to 9.6.2 in /scripts/gcb2slack by @dependabot in #3334
  • Bump ubuntu from e6173d4 to e9569c2 in /examples/deployment/kubernetes/mysql/image by @dependabot in #3335
  • Bump distroless/base-debian12 from 0a93daa to f47fa3d in /examples/deployment/docker/log_server by @dependabot in #3336
  • Bump distroless/base-debian12 from 0a93daa to f47fa3d in /examples/deployment/docker/log_signer by @dependabot in #3337
  • Bump google.golang.org/api from 0.161.0 to 0.162.0 by @dependabot in #3340
  • Bump actions/upload-artifact from 4.3.0 to 4.3.1 by @dependabot in #3342
  • Bump kaniko to v1.20.0 to fix #3338 by @AlCutter in #3339
  • Bump golang.org/x/crypto from 0.18.0 to 0.19.0 by @dependabot in #3347
  • Bump golang from 1.21.6-bookworm to 1.22.0-bookworm in /integration/cloudbuild/testbase by @dependabot in #3346
  • Bump google-auth-library from 9.6.2 to 9.6.3 in /scripts/gcb2slack by @dependabot in #3352
  • Bump golang from 1.21.6-bookworm to 1.22.0-bookworm in /examples/deployment/docker/log_server by @dependabot in #3351
  • Bump golang from 1.21.6-bookworm to 1.22.0-bookworm in /examples/deployment/docker/log_signer by @dependabot in #3350
  • Bump golang from 1.21.6-bookworm to 1.22.0-bookworm in /examples/deployment/docker/db_client by @dependabot in #3349
  • Bump golangci/golangci-lint-action from 3.7.0 to 3.7.1 by @dependabot in #3354
  • Bump google.golang.org/api from 0.162.0 to 0.163.0 by @dependabot in #3353
  • Bump distroless/base-debian12 from f47fa3d to 2102ce1 in /examples/deployment/docker/log_server by @dependabot in #3355
  • Bump distroless/base-debian12 from f47fa3d to 2102ce1 in /examples/deployment/docker/log_signer by @dependabot in #3356
  • Bump golang from 874c267 to 925fe3f in /integration/cloudbuild/testbase by @dependabot in #3361
  • Bump cloud.google.com/go/spanner from 1.56.0 to 1.57.0 by @dependabot in #3358
  • Bump github.com/apache/beam/sdks/v2 from 2.53.0 to 2.54.0 by @dependabot in #3365
  • Bump google.golang.org/api from 0.163.0 to 0.165.0 by @dependabot in #3366
  • Bump golang from 874c267 to 925fe3f in /examples/deployment/docker/log_signer by @dependabot in #3357
  • Bump golang from 874c267 to 925fe3f in /examples/deployment/docker/db_client by @dependabot in #3362
  • Bump golan...
Read more

v1.6.0

11 Jan 12:37
aa8c9dc
Compare
Choose a tag to compare

What's Changed

Storage

  • Support for skipping subtree revisions to increase read performance and reduce disk usage by @mhutchinson in #3201
  • Skip SELECTing revision that isn't used by @mhutchinson in #3207
  • Inlined storage/sql.go into both implementations that use it by @mhutchinson in #3235

CI

  • Disable the OS package patches to bypass the mysql8 gpg key rotation issue by @roger2hk in #3270
  • Switch from using unmaintained Google Cloud mysql db image to dockerhub official image by @patflynn in #3272
  • Strip unused docker image manipulation from cloudbuild by @mhutchinson in #3278
  • Updated all MySQL deps to 8.0 #3182 by @mhutchinson in #3183
  • Do vuln scanning with a version of Go not subject to GO-2023-2185 by @mhutchinson in #3202
  • Increase some timeouts in integration tests by @mhutchinson in #3203
  • Move golangci-lint from Cloud Build to GitHub Action by @roger2hk in #3188

Misc

Dependency updates

  • Bump golangci-lint from 1.51.1 to 1.55.1 by @roger2hk in #3177
  • Bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 by @dependabot in #3175
  • Bump golang from 20f9ab5 to deebfda in /integration/cloudbuild/testbase by @dependabot in #3178
  • Bump golang from 20f9ab5 to deebfda in /examples/deployment/docker/db_client by @dependabot in #3179
  • Bump golang from 20f9ab5 to deebfda in /examples/deployment/docker/log_server by @dependabot in #3180
  • Bump golang from 20f9ab5 to deebfda in /examples/deployment/docker/log_signer by @dependabot in #3181
  • Bump golang from deebfda to 5bafbbb in /examples/deployment/docker/log_signer by @dependabot in #3184
  • Bump golang from deebfda to 5bafbbb in /integration/cloudbuild/testbase by @dependabot in #3186
  • Bump golang from deebfda to 5bafbbb in /examples/deployment/docker/log_server by @dependabot in #3185
  • Bump golang from deebfda to 5bafbbb in /examples/deployment/docker/db_client by @dependabot in #3187
  • Bump golang.org/x/sys from 0.13.0 to 0.14.0 by @dependabot in #3191
  • Bump golang.org/x/sync from 0.4.0 to 0.5.0 by @dependabot in #3190
  • Bump golang from 1.21.3-bookworm to 1.21.4-bookworm in /examples/deployment/docker/log_server by @dependabot in #3195
  • Bump MariaDB image from 10.3 to 11.1 in Cloud Build by @roger2hk in #3189
  • Bump google.golang.org/api from 0.149.0 to 0.150.0 by @dependabot in #3193
  • Bump golang from 1.21.3-bookworm to 1.21.4-bookworm in /integration/cloudbuild/testbase by @dependabot in #3192
  • Bump golang from 1.21.3-bookworm to 1.21.4-bookworm in /examples/deployment/docker/log_signer by @dependabot in #3194
  • Bump golang from 1.21.3-bookworm to 1.21.4-bookworm in /examples/deployment/docker/db_client by @dependabot in #3196
  • Bump golang from 932f877 to 85aacbe in /integration/cloudbuild/testbase by @dependabot in #3197
  • Bump golang from f559da8 to 85aacbe in /examples/deployment/docker/log_server by @dependabot in #3198
  • Bump golang.org/x/tools from 0.14.0 to 0.15.0 by @dependabot in #3204
  • Bump golang from f559da8 to 85aacbe in /examples/deployment/docker/log_signer by @dependabot in #3199
  • Bump cloud.google.com/go/spanner from 1.51.0 to 1.53.0 by @dependabot in #3206
  • Bump google.golang.org/api from 0.150.0 to 0.151.0 by @dependabot in #3208
  • Bump github.com/apache/beam/sdks/v2 from 2.51.0 to 2.52.0 by @dependabot in #3209
  • Bump golang from 85aacbe to c870468 in /examples/deployment/docker/log_signer by @dependabot in #3210
  • Bump golang from 85aacbe to c870468 in /examples/deployment/docker/db_client by @dependabot in #3211
  • Bump golang from 85aacbe to c870468 in /integration/cloudbuild/testbase by @dependabot in #3212
  • Bump golang from 85aacbe to c870468 in /examples/deployment/docker/log_server by @dependabot in #3213
  • Bump golang from c870468 to 52362e2 in /examples/deployment/docker/db_client by @dependabot in #3215
  • Bump golang from c870468 to 52362e2 in /examples/deployment/docker/log_signer by @dependabot in #3216
  • Bump golang from c870468 to 52362e2 in /integration/cloudbuild/testbase by @dependabot in #3217
  • Bump golang from c870468 to 52362e2 in /examples/deployment/docker/log_server by @dependabot in #3218
  • Bump golang.org/x/tools from 0.15.0 to 0.16.0 by @dependabot in #3222
  • Bump google.golang.org/api from 0.151.0 to 0.152.0 by @dependabot in #3220
  • Bump google-auth-library from 9.2.0 to 9.3.0 in /scripts/gcb2slack by @dependabot in #3224
  • Bump google-auth-library from 9.3.0 to 9.4.0 in /scripts/gcb2slack by @dependabot in #3225
  • Bump google-auth-library from 9.4.0 to 9.4.1 in /scripts/gcb2slack by @dependabot in #3226
  • Bump alpine from eece025 to 34871e7 in /examples/deployment/docker/envsubst by @dependabot in #3227
  • Bump cloud.google.com/go/spanner from 1.53.0 to 1.53.1 by @dependabot in #3228
  • Bump ubuntu from 2b7412e to 8eab65d in /examples/deployment/kubernetes/mysql/image by @dependabot in #3229
  • Bump golang from 1.21.4-bookworm to 1.21.5-bookworm in /examples/deployment/docker/log_signer by @dependabot in #3230
  • Bump golang from 1.21.4-bookworm to 1.21.5-bookworm in /integration/cloudbuild/testbase by @dependabot in #3231
  • Bump google.golang.org/api from 0.152.0 to 0.153.0 by @dependabot in #3232
  • Bump golang from 1.21.4-bookworm to 1.21.5-bookworm in /examples/deployment/docker/db_client by @dependabot in #3233
  • Bump golang from 1.21.4-bookworm to 1.21.5-bookworm in /examples/deployment/docker/log_server by @dependabot in #3234
  • Bump go-version-input from 1.20.11 to 1.20.12 in govulncheck.yml by @roger2hk in #3237
  • Bump actions/setup-go from 4.1.0 to 5.0.0 by @dependabot in #3238
  • Bump go.etcd.io/etcd/v3 from 3.5.10 to 3.5.11 by @dependabot in #3242
  • Bump alpine from 3.18 to 3.19 in /examples/deployment/docker/envsubst by @dependabot in #3243
  • Bump golang from a6b787c to 2d3b13c in /integration/cloudbuild/testbase by @dependabot in #3245
  • Bump golang from a6b787c to 2d3b13c in /examples/deployment/docker/log_server by @dependabot in #3246
  • Bump golang from a6b787c to 2d3b13c in /examples/deployment/docker/db_client by @dependabot in #3247
  • Bump golang from a6b787c to 2d3b13c in /examples/deployment/docker/log_signer by @dependabot in #3248
  • Bump google.golang.org/api from 0.153.0 to 0.154.0 by @dependabot in #3250
  • Bump golang.org/x/tools from 0.16.0 to 0.16.1 by @dependabot in #3252
  • Bump google.golang.org/grpc from 1.59.0 to 1.60.0 by @dependabot in #3251
  • Bump distroless/base-debian12 from 1dfdb5e to 8a0bb63 in /examples/deployment/docker/log_server by @dependabot in #3253
  • Bump distroless/base-debian12 from 1dfdb5e to 8a0bb63 in /examples/deployment/docker/log_signer by @dependabot in #3254
  • Bump golang.org/x/crypto from 0.16.0 to 0.18.0 by @dependabot in #326...
Read more

v1.5.3

01 Nov 12:43
dbacbf2
Compare
Choose a tag to compare

What's Changed

Storage

MySQL

  • mysql: check for error when getting subtrees by @jsha in #3173

Documentation

Misc

Dependency updates

  • Bump go.etcd.io/etcd/etcdctl/v3 from 3.5.8 to 3.5.9 by @dependabot in #3003
  • Bump google.golang.org/api from 0.121.0 to 0.122.0 by @dependabot in #3006
  • Bump golang.org/x/tools from 0.8.0 to 0.9.1 by @dependabot in #3005
  • Bump github.com/apache/beam/sdks/v2 from 2.47.0-RC3 to 2.47.0 by @dependabot in #3000
  • Bump golang.org/x/crypto from 0.8.0 to 0.9.0 by @dependabot in #3007
  • Bump go.etcd.io/etcd/v3 from 3.5.8 to 3.5.9 by @dependabot in #3004
  • Bump actions/setup-go from 4.0.0 to 4.0.1 by @dependabot in #3008
  • Bump google.golang.org/api from 0.122.0 to 0.123.0 by @dependabot in #3010
  • Bump github/codeql-action from 2.3.3 to 2.3.5 by @dependabot in #3013
  • Bump github/codeql-action from 2.3.5 to 2.3.6 by @dependabot in #3020
  • Bump golang.org/x/tools from 0.9.1 to 0.9.3 by @dependabot in #3016
  • Bump github.com/cockroachdb/cockroach-go/v2 from 2.3.3 to 2.3.4 by @dependabot in #3017
  • Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 by @dependabot in #3021
  • Bump golang.org/x/sys from 0.8.0 to 0.9.0 by @dependabot in #3025
  • Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 by @dependabot in #3027
  • Bump github/codeql-action from 2.3.6 to 2.13.4 by @dependabot in #3026
  • Bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #3028
  • Bump golang.org/x/tools from 0.9.3 to 0.10.0 by @dependabot in #3029
  • Bump github.com/cockroachdb/cockroach-go/v2 from 2.3.4 to 2.3.5 by @dependabot in #3035
  • Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 by @dependabot in #3030
  • Update mysql Dockerfile base image from ubuntu:trusty to ubuntu:jammy by @roger2hk in #3036
  • Bump golang.org/x/tools from 0.10.0 to 0.11.0 by @dependabot in #3044
  • Bump ossf/scorecard-action from 2.1.3 to 2.2.0 by @dependabot in #3039
  • Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by @dependabot in #3041
  • Bump golang.org/x/tools from 0.11.0 to 0.12.0 by @dependabot in #3055
  • Bump actions/setup-go from 4.0.1 to 4.1.0 by @dependabot in #3059
  • Bump google-auth-library from 8.7.0 to 9.0.0 in /scripts/gcb2slack by @dependabot in #3069
  • Bump golang from 1.19-buster to 1.20-buster in /examples/deployment/docker/db_client by @dependabot in #3064
  • Bump alpine from 3.8 to 3.18 in /examples/deployment/docker/envsubst by @dependabot in #3067
  • Bump golang from 1.19-buster to 1.20-buster in /integration/cloudbuild/testbase by @dependabot in #3065
  • Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in #3063
  • Bump golang from 1.19-buster to 1.20-buster in /examples/deployment/docker/log_server by @dependabot in #3066
  • Bump golang from 1.19-buster to 1.20-buster in /examples/deployment/docker/log_signer by @dependabot in #3071
  • Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #3076
  • Bump go from 1.19 to 1.20 by @mhutchinson in #3080
  • Bump golang.org/x/sys from 0.11.0 to 0.12.0 by @dependabot in #3081
  • Bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #3082
  • Bump golang.org/x/crypto from 0.12.0 to 0.13.0 by @dependabot in #3084
  • Bump golang.org/x/tools from 0.12.0 to 0.13.0 by @dependabot in #3086
  • Bump actions/upload-artifact from 3.1.2 to 3.1.3 by @dependabot in #3085
  • Bump Go version in Docker base images to 1.20.8-bookworm by @roger2hk in #3094
  • Bump golang from 1.20.8-bookworm to 1.21.1-bookworm in /examples/deployment/docker/db_client by @dependabot in #3100
  • Bump gcr.io/kaniko-project/executor from 1.6.0 to 1.15.0 by @roger2hk in #3095
  • Bump golang from 1.20.8-bookworm to 1.21.1-bookworm in /integration/cloudbuild/testbase by @dependabot in #3098
  • Bump golang from 1.20.8-bookworm to 1.21.1-bookworm in /examples/deployment/docker/log_signer by @dependabot in #3097
  • Bump golang from 1.20.8-bookworm to 1.21.1-bookworm in /examples/deployment/docker/log_server by @dependabot in #3099
  • Bump golang from d3114db to a0b3bc4 in /integration/cloudbuild/testbase by @dependabot in #3104
  • Bump golang from d3114db to a0b3bc4 in /examples/deployment/docker/log_server by @dependabot in #3105
  • Bump golang from d3114db to a0b3bc4 in /examples/deployment/docker/log_signer by @dependabot in #3106
  • Bump golang from d3114db to a0b3bc4 in /examples/deployment/docker/db_client by @dependabot in #3107
  • Bump golang from e06b3a4 to 114b9cc in /examples/deployment/docker/log_signer by @dependabot in #3108
  • Bump trillian-opensource-ci/mysql5 from 51cc6df to edf7def in /examples/deployment/docker/db_server by @dependabot in #3110
  • Bump golang from a0b3bc4 to 114b9cc in /examples/deployment/docker/log_server by @dependabot in #3109
  • Bump golang from a0b3bc4 to 114b9cc in /integration/cloudbuild/testbase by @dependabot in #3111
  • Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #3117
  • Bump golang from 114b9cc to 9c7ea4a in /examples/deployment/docker/db_client by @dependabot in #3116
  • Bump golang from 114b9cc to 9c7ea4a in /examples/deployment/docker/log_server by @dependabot in #3114
  • Bump golang from 114b9cc to 9c7ea4a in /examples/deployment/docker/log_signer by @dependabot in #3115
  • Bump nick-fields/retry from 2.8.3 to 2.9.0 by @dependabot in #3119
  • Bump trillian-opensource-ci/mysql5 from edf7def to f45c849 in /examples/deployment/docker/db_server by @dependabot in #3120
  • Bump golang from 9c7ea4a to 61f84bc in /examples/deployment/docker/db_client by @dependabot in #3121
  • Bump golang from 9c7ea4a to 61f84bc in /integration/cloudbuild/testbase by @dependabot in #3124
  • Bump golang from 9c7ea4a to 61f84bc in /examples/deployment/docker/log_server by @dependabot in #3122
  • Bump alpine from 7144f7b to eece025 in /examples/deployment/docker/envsubst by @dependabot in #3125
  • Bump golang from 9c7ea4a to 61f84bc in /examples/deployment/docker/log_signer by @dependabot in #3123
  • Bump ubuntu from aabed32 to 9b8dec3 in /examples/deployment/kubernetes/mysql/image by @dependabo...
Read more

v1.5.2

09 May 14:44
8ba85b5
Compare
Choose a tag to compare

Repo magagement

Cleanups

Claimant model

Misc

  • Prepare CHANGELOG.md for v1.5.2 release by @phbnf #2997

Dependency updates

Read more

v1.5.1

14 Dec 14:16
a319215
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.5.1

v1.5.0

18 Aug 15:23
32d4a9c
Compare
Choose a tag to compare

Storage

  • Ephemeral nodes are no-longer written for any tree by default (and have not been read since the v1.4.0 release), the corresponding --tree_ids_with_no_ephemeral_nodes flag is now deprecated (and will be removed in a future release).

Cleanup

Misc

Dependency updates

v1.4.2

25 Jul 14:48
0501b88
Compare
Choose a tag to compare

Allow disabling the writes of ephemeral nodes to storage via the --tree_ids_with_no_ephemeral_nodes flag to the sequencer.

  • Allow not storing ephemeral node hashes by @pavelkalinnikov in #2568
  • Log skipped ephemeral nodes writes by @pavelkalinnikov in #2756

Developer updates

  • #2765 copies the required protos from googleapis into third_party in this repository. This simplifies the preconditions in order to compile the proto definitions, and removes a big dependency on $GOPATH/src which was archaic; $GOPATH/src/github.com/googleapis/googleapis is no longer required.

Minor fixes

  • Fix flag initialization by @pavelkalinnikov in #2755
  • Propagate Log Update Failures in AddSequencedLeaves by @therealdrake in #1544

Maintenance

Dependency updates

New Contributors

Full Changelog: v1.4.1...v1.4.2

v1.4.1

10 May 17:31
39951e7
Compare
Choose a tag to compare

This release mostly contains refactoring and dependency updates, and some improvements in log operation cycle.

Improved log operation

  • Add undeletetree command [#2638]
  • Query information_schema compatible with MySQL 8 [#2652]
  • Gracefully exit the program when lease expires [#2655]
  • Fix MySQL world-writable config warning [#2713]
  • Update provision tree script in k8s to use createtree [#2676]

Merkle refactoring

Minor refactoring

  • Check the tile height invariant stricter [#2726]
  • Remake dumplib into integration test [#2710]
  • Remove unused code and data [#2709, #2711]

Some changes technically break semver, but most of this code was not intended for external use. E.g.:

  • Unexport helper [#2720]

Dependency updates

  • bitbucket.org/creachadair/shell: 0.0.6 -> 0.0.7 [#2637]
  • cloud.google.com/go/spanner: 1.25.0 -> 1.31.0 [#2630, #2639, #2650, #2697]
  • contrib.go.opencensus.io/exporter/stackdriver: 0.13.8 -> 0.13.12 [#2634, #2699, #2723]
  • github.com/apache/beam: 2.32.0+incompatible -> 2.33.0+incompatible [#2620]
  • github.com/fullstorydev/grpcurl: 1.8.2 -> 1.8.6 [#2621, #2674]
  • github.com/google/go-cmp: 0.5.7 -> 0.5.8 [#2729]
  • github.com/prometheus/client_golang: 1.11.0 -> 1.12.1 [#2662]
  • github.com/pseudomuto/protoc-gen-doc: 1.5.0 -> 1.5.1 [#2677]
  • github.com/transparency-dev/merkle: v0.0.1 [#2734]
  • go.etcd.io/etcd/*/v3: 3.5.0 -> 3.5.4 [#2631, #2667, #2716]
  • golang.org/x/tools: 0.1.5 -> 0.1.10 [#2615, #2618, ..., #2684]
  • google.golang.org/api: 0.54.0 -> 0.77.0 [#2613, #2619, ..., #2728]
  • google.golang.org/grpc: 1.40.0 -> 1.44.0 [#2617, #2635, #2643, #2661]
  • google.golang.org/grpc/cmd/protoc-gen-go-grpc: 1.1.0 -> 1.2.0 [#2645]
  • google.golang.org/protobuf: 1.27.1 -> 1.28.0 [#2686]
  • protoc: 3.12.4 -> 3.20.1 [#2731]

Full Changelog: v1.4.0...v1.4.1

v1.4.0

21 Sep 11:06
Compare
Choose a tag to compare

v1.4.0

  • Recommended go version for development: 1.17
    This is the version used by the cloudbuild presubmits. Using a different version can lead to presubmits failing due to unexpected diffs.
  • GCP terraform script updated. GKE 1.19 and updated CPU type to E2

Dependency updates

Many dep updates, including:

  • Upgraded to etcd v3 in order to allow grpc to be upgraded (#2195)
  • etcd was v0.5.0-alpha.5, now v3.5.0
  • grpc upgraded from v1.29.1 to v1.40.0
  • certificate-transparency-go from v1.0.21 to v1.1.2-0.20210512142713-bed466244fa6
  • protobuf upgraded from v1 to v2
  • MySQL driver from 1.5.0 to 1.6.0

Cleanup

  • Removed signatures from LogRoot and EntryTimestamps returned by RPCs (reflecting that there should not be a trust boundary between Trillian and the personality.)
  • Removed the deprecated crypto.NewSHA256Signer function.
  • Finish removing the LogMetadata.GetUnsequencedCounts() method.
  • Removed the following APIs:
    • TrillianLog.GetLeavesByHash
    • TrillianLog.GetLeavesByIndex
    • TrillianLog.QueueLeaves
  • Removed the incomplete Postgres storage backend (#1298).
  • Deprecated LogRootV1.Revision field.
  • Moved rfc6962 hasher one directory up to eliminate empty leftover package.
  • Removed unused log_client tool.
  • Various tidyups and improvements to merke & proof generation code.
  • Remove some remnants of experimental map.

Storage refactoring

  • NodeReader.GetMerkleNodes does not accept revisions anymore. The implementations must use the transaction's ReadRevision
    instead.
  • TreeStorage migrated to using compact.NodeID type suitable for logs.
  • Removed the tree storage ReadRevision and WriteRevision methods.
    Revisions are now an implementation detail of the current storages. The change allows log implementations which don't need revisions.
  • Removed Rollback methods from storage interfaces, as Close is enough to cover the use-case.
  • Removed the unused IsOpen and IsClosed methods from transaction interfaces.
  • Removed the ReadOnlyLogTX interface, and put its only used GetActiveLogIDs method to LogStorage.
  • Inlined the LogMetadata interface to ReadOnlyLogStorage.
  • Inlined the TreeStorage interfaces to LogStorage.
  • Removed the need for the storage layer to return ephemeral node hashes. The application layer always requests for complete subtree nodes comprising the compact ranges corresponding to the requests.
  • Removed the single-tile callback from SubtreeCache, it uses only GetSubtreesFunc now.
  • Removed SetSubtreesFunc callback from SubtreeCache. The tiles should be written by the caller now, i.e. the caller must invoke the callback.

v1.3.13

16 Feb 17:41
Compare
Choose a tag to compare

Cleanup

  • Removed the experimental map API.