Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

v0.19.0

Compare
Choose a tag to compare
@whaught whaught released this 06 Jan 03:38
· 736 commits to main since this release
v0.19.0

Release notes for main

Documentation

Changelog since v0.18.0

Changes by Kind

Breaking change

  • Breaking: To continue using the Terraform module, the following input variable is needed to avoid introducing a diff (#1513, @yegle)
  revision_annotations = {                                                       
      adminapi     = { "autoscaling.knative.dev/maxScale" : "1000" }
      apiserver    = { "autoscaling.knative.dev/maxScale" : "1000" }
      appsync      = { "autoscaling.knative.dev/maxScale" : "1000" }
      cleanup      = { "autoscaling.knative.dev/maxScale" : "1000" }
      e2e-runner   = { "autoscaling.knative.dev/maxScale" : "1000" }
      enx-redirect = { "autoscaling.knative.dev/maxScale" : "1000" }
      modeler      = { "autoscaling.knative.dev/maxScale" : "1000" }
  } 

Monitoring

  • Improved SLO-based alerting reset time (#1294, @yuriatgoogle)
  • Add SLO chart in Verificatoin Server dashboard. (#1315, @yegle)
  • Monitoring: Add Availability SLO alert to all Cloud Run services. (#1351, @yegle)
  • Add Latency SLO and related alert. Currently a rudimentary threshold (90% requests are returned in <10s) is set on all services. (#1361, @yegle)
  • Modified service and SLOs configurations for better configurability (#1449, @yuriatgoogle)
  • Latency alerting done via threshold, rather than SLO (#1510, @yuriatgoogle)

Role based authentication

  • *Major change- Introduce Role-Based Access Controls (RBAC) to replace legacy user/admin roles. Existing users will retain their existing permissions, but new users will be able to have more granular permissions. This change involves an *irreversible database migration- and should be planned accordingly. We recommend system operators put the servers into maintenance mode before applying these migrations. (#1335, @sethvargo)
  • Add descriptions for RBAC permissions (#1405, @sethvargo)
  • Improve UX on permissions selection (#1435, @sethvargo)
  • Require UserWrite for admin reset of another user's password (#1445, @whaught)
  • Document implied permissions, enforce via javascript (#1418, @sethvargo)
  • Setting write permissions automatically add required read permissions. (#1411, @mikehelmick)

Bulk issue codes

  • Add SMS template selection to bulk uploader (#1370, @whaught)
  • Clearer outer error message for batch issue API (#1369, @whaught)
  • End to end test runner now tests bulk issue in a separate handler and scheduler (#1436, @mikehelmick)
  • Remember the issuing user's last used SMS template. (#1379, @whaught)
  • Fix logging error in batch issue API. (#1336, @mikehelmick)
  • Fix off-by-one line numbers for bulk uploader (#1460, @whaught)
  • Integration / e2e test cases for BatchIssueCode (#1376, @whaught)
  • Show first 50 success / error cases for bulk-issue with UUIDs
    Allow download of log file for bulk-issue (#1458, @whaught)
  • RBAC check for BulkIssue on the API (#1400, @whaught)
  • Return a more detailed error when bulk issue is not enabled (#1331, @sethvargo)
  • Adding more docs (#1365, @whaught)

Statistics

  • Add more left padding to graphs for large y-axis numbers. (#1342, @sethvargo)
  • Add statistics endpoints to adminapi (#1402, @sethvargo)
  • Move stats calculations to be out-of-band (#1500, @sethvargo)
  • Move user stat caching into the model (#1494, @sethvargo)
  • Only display daily actives graph if enabled (#1398, @sethvargo)
  • Serve user statistics via javascript (#1496, @sethvargo)
  • Make daily active stats collection a realm configurable (#1396, @sethvargo)
  • Introduce a new API key type for accessing statistics. The statistics endpoints of the admin API are currently in preview and are subject to change. (#1404, @sethvargo)
  • Collect invalid codes and token statistics (backend only) (#1499, @sethvargo)

Internationalization

  • Add ph translations (#1407, @sethvargo)
  • Allow realm to have multiple SMS templates. Adds UI in realm settings to select and edit templates. (#1338, @whaught)
  • Allow user to select an SMS template on code-issue. Add template label field to issueAPI. (#1352, @whaught)
  • Enable postgres hstore. Add fields to realm to store multiple SMS templates and add validation for them. (#1325, @whaught)
  • Japanese (ja) translation (#1303, @yuryu)

Redirect mobile apps

Fixes

  • Users added to realm don't get password reset email - only newly created firebase users do (#1395, @whaught)
  • Wait for Redis connections to become available (#1419, @sethvargo)
  • Calculate grace periods from membership date (#1485, @sethvargo)
  • Correct response for invalid_test_type previously returned unsupported_test_type even if unparsable.
  • Do not return 500s from redirect service for missing realms (#1382, @sethvargo)
  • Make bad query params a 400-level user error (#1438, @sethvargo)
  • Return 400 (instead of 500) on Twilio errors (#1313, @sethvargo)
  • Select a realm-localized template for reset password (#1448, @whaught)
  • Properly redirect to login page after session expiration. Previously the user would get an "Unauthorized" page. (#1353, @sethvargo)
  • Fix for long code expiry being set to short code expiry (#1511, @whaught)

Presubmit checks

Test Coverage

Error levels, logging, and debugging

Uncategorized

Dependencies

Added

  • github.com/Microsoft/hcsshim: v0.8.9
  • github.com/c2h5oh/datasize: 28bbd47
  • github.com/cenkalti/backoff/v3: v3.0.0
  • github.com/cenkalti/backoff/v4: v4.0.2
  • github.com/containerd/cgroups: bf292b2
  • github.com/containerd/console: c12b1e7
  • github.com/containerd/fifo: a9fb20d
  • github.com/containerd/go-runc: 5a6d9f3
  • github.com/containerd/ttrpc: 0e0f228
  • github.com/containerd/typeurl: a93fcdb
  • github.com/couchbase/gocb/v2: v2.1.4
  • github.com/couchbase/gocbcore/v9: v9.0.4
  • github.com/denverdino/aliyungo: d330864
  • github.com/digitalocean/godo: v1.7.5
  • github.com/gobuffalo/attrs: a9411de
  • github.com/gobuffalo/depgen: v0.1.0
  • github.com/gobuffalo/envy: v1.7.0
  • github.com/gobuffalo/flect: v0.1.3
  • github.com/gobuffalo/genny: v0.1.1
  • github.com/gobuffalo/gitgen: cc08618
  • github.com/gobuffalo/gogen: v0.1.1
  • github.com/gobuffalo/logger: 86e12af
  • github.com/gobuffalo/mapi: v1.0.2
  • github.com/gobuffalo/packd: v0.1.0
  • github.com/gobuffalo/packr/v2: v2.2.0
  • github.com/gobuffalo/syncx: 33c2958
  • github.com/godbus/dbus: ade71ed
  • github.com/google/safehtml: v0.0.2
  • github.com/gophercloud/gophercloud: v0.1.0
  • github.com/gostaticanalysis/analysisutil: v0.6.1
  • github.com/gostaticanalysis/comment: v1.4.1
  • github.com/gregjones/httpcache: 9cad4c3
  • github.com/hashicorp/go-discover: c4b85f6
  • github.com/hashicorp/vault-plugin-database-couchbase: v0.2.1
  • github.com/hashicorp/vault-plugin-mock: v0.16.1
  • github.com/hashicorp/vic: bbfe86e
  • github.com/jackc/puddle: v1.1.3
  • github.com/jba/templatecheck: v0.4.0
  • github.com/josharian/intern: v1.0.0
  • github.com/k0kubun/colorstring: 9440f19
  • github.com/k0kubun/pp: v2.3.0+incompatible
  • github.com/karrick/godirwalk: v1.10.3
  • github.com/ktrysmt/go-bitbucket: v0.6.4
  • github.com/linode/linodego: v0.7.1
  • github.com/markbates/oncer: bf2de49
  • github.com/markbates/safe: v1.0.1
  • github.com/moby/term: 7f0af18
  • github.com/montanaflynn/stats: 1bf9dbc
  • github.com/mutecomm/go-sqlcipher/v4: v4.4.0
  • github.com/nicolai86/scaleway-sdk: 798f60e
  • github.com/okta/okta-sdk-golang/v2: v2.0.0
  • github.com/opencontainers/runtime-spec: 5b71a03
  • github.com/openlyinc/pointy: v1.1.2
  • github.com/ory/dockertest/v3: v3.6.2
  • github.com/packethost/packngo: b9cb509
  • github.com/peterbourgon/diskv: v2.0.1+incompatible
  • github.com/rboyer/safeio: v0.2.1
  • github.com/renier/xmlrpc: ce4a1a4
  • github.com/sethvargo/zapw: v0.1.0
  • github.com/softlayer/softlayer-go: 260589d
  • github.com/timakin/bodyclose: cb62158
  • github.com/vmware/govmomi: v0.18.0
  • github.com/yandex-cloud/go-genproto: 762fe96
  • github.com/yandex-cloud/go-sdk: 2194e50
  • go.mongodb.org/atlas: v0.5.0
  • golang.org/x/term: 7de9c90
  • k8s.io/client-go: v0.18.2
  • k8s.io/utils: a9aa75a

Changed

Removed

  • github.com/DataDog/zstd: v1.4.4
  • github.com/jeremyfaller/puddle: 91d0159
  • github.com/knq/sysutil: 15668db
  • github.com/shirou/w32: bb4de01