This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
v0.3.0
What's Changed
Use Redis to store rate limits
The service now uses Redis to store the rate limits for the relay functionality. #70
For development purposes, a Redis service was added to the docker compose file. For production deployments, a Redis
instance is now required.
The following environment variables can/should be set:
REDIS_HOST
– the location of the Redis instance (default islocalhost
)REDIS_PORT
– the port where the Redis instance is running (default is6379
)
Use JSON as the default logging format
JSON is now the default logging format used in the application. #72
The base format for a log message (produced by ILoggingService
) is as follows:
{
message: <string | object>, // string value or json payload
request_id: <string>, // id tied to the request
timestamp: <string>, // ISO 8601 Date string
}
Additionally, each request handled by a route has the following message
field:
{
...
message: {
client_ip: <optional string>, // retrieved from the header X-Real-IP. null if not available
method: <string>, // GET, POST, etc..
response_time_ms: <number>, // response time in milliseconds
route: <optional string>, // route which handled the request. Null if no route handled this request (eg.: 404 requests)
path: <string>, // path of the resource requested
status_code: <number>, // resulting status code of the request
detail: <optional string>, // optional message regarding the result of the request
}
}
Other
- Fixed an issue where Safe-related transactions to self (such as owner management, threshold changes and setting the Fallback Handler)
were not allowed. These actions can now be performed via the relay. #76 - chore(deps-dev): bump typescript from 4.9.5 to 5.0.4 in #65
- chore(deps-dev): bump @types/node from 16.18.12 to 18.15.11 in #69
- chore(deps): bump @safe-global/safe-deployments from 1.20.2 to 1.22.0 in #68
- chore(deps-dev): bump @nestjs/cli from 9.2.0 to 9.4.0 in #66
- chore(deps): bump @gelatonetwork/relay-sdk from 3.2.1 to 3.5.0 in #67
Full Changelog: v0.2.0...v0.3.0