Releases
v1.0.0
1.0.0 (2024-04-16)
Bug Fixes
added default rules for config entity (d618401 )
added default rules for user entity (e0fe942 )
added error interceptor (#87 ) (72fcada )
added get _session endpoint for automated login (#78 ) (905d384 ), closes #77
added JWT_PUBLIC_KEY to Dockerfile (0146614 )
added proxy that takes care of all requests that are not handled by any controller (2b1a8b1 )
always setting the _id to the document to be put (347de6e )
auth headers are correctly overwritten in proxy (e36ea29 )
automatically trigger clear_local when permissions changed (#131 ) (df2c1c4 ), closes #7
await clearLocal to correctly execute it automatically (b3dfa35 )
axios errors are correctly mapped to nest exceptions (ca52330 )
axios exceptions are forwarded (9fafd56 )
changed how permissions are applied to documents without permissions (aa80fa5 )
changes correctly supports CouchDB's longpoll and heartbeat behavior (67bbc4d )
corrected endpoint to fetch documents (761ba60 )
correctly configured sentry (4b07424 )
correctly fetching existing docs so permissions are checked correctly (6155356 )
fix allowing users to access their own user entity and allowing everyone to read the permission entity (83c66d2 )
fix regex so it correctly matches documents (9221baf )
fixed dependency issue (37388fa )
fixed routing registration order and execution orders (86aa7d3 )
fixed rules reload endpoint (2dd3c7e )
fixed test (abca778 )
format of permission interface (6b6adc0 )
increase retry count (608ddc0 )
increased max body size for express (8d7dc0f )
installed updates (c40d2b3 )
latest changes have correct sequence id (dc5173d )
logging: silence UnauthorizedException for sentry (#139 ) (81a7d29 ), closes #138
made info and changes endpoints public (#121 ) (543f25a )
made replication controller db-agnostic (4274664 )
make sentry dns optional (3666b57 )
package.json & package-lock.json to reduce vulnerabilities (#18 ) (c891dbf )
package.json to reduce vulnerabilities (#137 ) (c6d2e56 )
permissions are write protected (3741784 )
regex for /db/id so it does not collide with /db/_changes (8b4434e )
removed database name environment variable and improved clear local docs (41b8aec )
retrying to load permissions for up to 5 seconds after start (0e4517d )
safeguard exception interceptor (32c1832 )
sentry only logs 5xx errors (d57174f )
service provider issues with AdminService (#133 ) (7ef7f0a )
supporting all_docs without include_docs=true (d55a260 )
supporting params for get /db/doc (b425e6a )
throwing error if permissions couldn't be loaded (c06bf5f )
trigger clear_local properly after permission change (#135 ) (ee96b03 ), closes #7
update dependencies (#132 ) (c228c3b )
update package-lock.json (db8614e )
updated all dependencies (#80 ) (fbf9a83 )
updated Docker dependencies (4dab878 )
updated node dependencies (74b3160 )
updated package-lock.json (c413999 )
upgrade @nestjs/axios from 0.0.4 to 0.0.5 (#50 ) (8711f91 )
upgrade @nestjs/axios from 0.0.5 to 0.0.6 (#66 ) (c956425 )
upgrade @nestjs/axios from 0.0.6 to 0.0.7 (f7cb86c )
upgrade @nestjs/config from 1.1.7 to 1.2.0 (#61 ) (dbaf236 )
upgrade @nestjs/passport from 8.1.0 to 8.2.0 (bd09c67 )
upgrade @nestjs/passport from 8.2.0 to 8.2.1 (#65 ) (388521b )
upgrade @nestjs/swagger from 5.1.5 to 5.2.0 (80ce324 )
upgrade @sentry/node from 6.16.0 to 6.16.1 (87cb2b2 )
upgrade @sentry/node from 6.16.1 to 6.17.1 (698ee73 )
upgrade @sentry/node from 6.17.9 to 6.18.0 (92aa399 )
upgrade @sentry/types from 6.17.1 to 6.17.2 (bc49022 )
upgrade @sentry/types from 6.17.9 to 6.18.0 (9d821e8 )
upgrade http-proxy-middleware from 2.0.1 to 2.0.2 (aea6b7b )
upgrade http-proxy-middleware from 2.0.3 to 2.0.4 (2078b8d )
upgrade multiple dependencies with Snyk (af03092 )
upgrade multiple dependencies with Snyk (ba8da61 )
upgrade multiple dependencies with Snyk (#49 ) (1a0a4bd )
upgrade passport from 0.4.1 to 0.5.1 (0bb760a )
upgrade rxjs from 7.4.0 to 7.5.1 (526f76a )
upgrade rxjs from 7.5.3 to 7.5.4 (#59 ) (840ec2d )
upgrade rxjs from 7.5.4 to 7.5.5 (9d0fd41 )
upgrade swagger-ui-express from 4.2.0 to 4.3.0 (3df3ba8 )
using username instead of sub property (#88 ) (9d339ab )
Features
add support for _find and head requests (#127 ) (e1f3b16 )
added CASL integration (a5c9209 )
added endpoints to change password (c8d8edd )
added logout endpoint (53452ee )
added permission support for fetching and putting single documents (d0b51e6 )
added permissions for user documents (499558d )
Added support for bearer JWT authorisation header using a foreign public key (#81 ) (f404a7c )
added variable interpolation with the user object (6060bb6 ), closes #45
automatically updating permissions (#107 ) (e13f4a9 )
basic and jwt auth are enabled globally (37c727b )
delete endpoints (#114 ) (89590a3 )
documents are filtered in changes feed (#113 ) (236a8cd )
improved sentry error handling (#136 ) (4c24434 )
integrated sentry and CouchDB fauxton (90088cf )
made docker image production ready (14f604b )
permissions for entities can be defined (247c434 )
public and attachment endpoints (#93 ) (184517f )
remove client errors from sentry logging (#140 ) (c99bfa3 )
restrict CouchDB access (#112 ) (a0d5e09 )
rules are fetched from DB (b351d50 )
semantic versioning (#141 ) (189badc )
split write into update, create and delete (bc506f5 )
supporting defaul rules that are prepended all other user rules (#64 ) (a3e77ef )
token authentication strategy (aca0d06 )
You can’t perform that action at this time.