Skip to content

v0.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Nov 10:28
· 331 commits to master since this release

0.10.0 (2021-11-29)

Bug Fixes

  • add 1s connection timeout for migration database client (ab9b817)
  • add capturing group (3f24ef2)
  • add missing jwtSecret argument (4f3af61)
  • add MULTITENANT_DATABASE_URL to .env for CI workflow (9a76b88)
  • catch errors on connect when migrating (e081f36)
  • do not cache file size limit (8c940ae)
  • do not run migrations on tenant insertion (a88320f)
  • encrypt anonymous key, JWT secret and service key (3cf41ed)
  • encrypt database URL (354d72d)
  • initialise jwt decorator as empty string (927e394)
  • install necessary packages for node-gyp, use multi-stage build (38e3585)
  • log on error only when running migrations on tenant (01158d2)
  • make PostgREST URL suffix configurable (2440d2d)
  • make PROJECT_REF and TENANT_ID optional (a836fc9)
  • make TENANT_ID optional if multitenant (06ea99c)
  • only check API key for tenant routes (6802c60)
  • rename SUPABASE_URL to SUPABASE_READ_ONLY_URL for clarity (94ec84a)
  • revert extraneous package-lock.json changes (df57661)
  • separate multitenant section in .env.sample (52f4649)
  • supabase/supabase#2497 prevent empty results when selecting folder(s) in one bucket that match an object name in another bucket (5598c19)
  • X-Forwarded-Host tests (0591404)

Features

  • add API key authorisation check for admin routes (4a3794e)
  • add endpoints for tenant configs (360c243)
  • add file size limit column to database and queries (d11b969)
  • add IS_MULTITENANT environment variable (b3acee0)
  • add multitenant database to docker-compose.yml (7580af8)
  • add project ref plugin (8533d5d)
  • add workflow to build and push Docker image to ECR (e9d427a)
  • cache tenant config and run migrations with limited concurrency (76458c1)
  • expose a /status route (2c7d106)
  • forward 304 and If-Modified-Since/If-None-Match headers (4de5fec)
  • log project ref (5b9db5b)
  • make admin API keys a set (31ff961)
  • make some config optional if multitenant (21732ae)
  • support partial updates for tenant PATCH requests (29c98a9)
  • use per-project JWT secret when multitenant (5a4d273)
  • use per-project service API keys when multitenant (7e4adaf)
  • use per-tenant file size limit if multitenant (80375f4)
  • use X-Forwarded-Host to construct PostgREST URL for multitenant setups (e5575f4)