Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 3.35 KB

CHANGELOG.md

File metadata and controls

91 lines (69 loc) · 3.35 KB

Changelog

This project adheres to Semantic Versioning.

[unreleased]

4.0.2 - 2019-07-02

Fix:

  • #30 - Clean and reuse Redis connections when possible

4.0.1 - 2019-06-12

Fix:

  • #27 - Use REDIS_URL environment variable to instanciate Bull queues

4.0.0 - 2019-06-12

Breaking changes:

  • #21 - Change the configuration variable APP_SECRET_KEY into CLIENT_SECRET_KEY
  • #24 - Update POST /logEvents endpoint:
    • Delegate sequenced calls to CloudWatch Logs to a dedicated worker,
    • Remove response body,
    • Change request parameters. You should pass the following parameters now:
    {
      "accessToken": "YOUR_UNIQUE_ACCESS_TOKEN",
      "logGroupName": "YOUR_LOG_GROUP_NAME",
      "logStreamName": "YOUR_LOG_STREAM_NAME",
       "logEvents": [{
        "message": "LOG MESSAGE",
        "timestamp": "TIMESTAMP",
      }]
    }

Features:

  • #20 - Add CORS handling on API endpoints
  • #26 - Add a Procfile to start the application

3.1.0 - 2019-05-23

  • #18 - Add an endpoint POST /logEvents to create log events in CloudWatch

Feature:

  • #18 - Add an endpoint POST /logEvents to create log events in CloudWatch

3.0.0 - 2019-05-20

Breaking changes:

  • #11/#12 - Remove the application token authorization on GET /test endpoint.
  • #11/#12 - Add rate limit by IP on server endpoints. All endpoints follows these options for restify-throttle:
{
  burst: 3,  // Max 3 concurrent requests
  rate: 1,  // 1 request / second
  ip: true,   // throttle per IP
}

The GET /test endpoint has a specific throttle:

{
  burst: 1,
  rate: 0.015, // 1 request / minute
  ip: true,
}

Feature:

  • #8 - Update token creation strategy

2.0.0 - 2019-05-20

Breaking change:

  • #7 - Add an authorization with an access token to request POST /metric

Feature:

  • #7 - Add POST /token endpoint to enable client to request an access token

1.0.0 - 2019-05-19

  • First release!