Skip to content

Latest commit

 

History

History
138 lines (85 loc) · 3.04 KB

CHANGELOG.md

File metadata and controls

138 lines (85 loc) · 3.04 KB

CHANGELOG

v0.15.0 (2024-10-01)

Changed

  • Remove support for Elixir 1.13. Minimum is Elixir 1.14

v0.14.0 (2024-04-16)

  • Support dynamic log level in Uinta.Plug.
    • Option :log now accepts {module, function, args} tuple called with prepended conn to determine log level.

v0.13.0 (2024-01-09)

Changed

  • Support not double encoding the payload. In order to do that, a new plugs option format was added. We are deprecating the json option instead though it is backward compatible for a little while
  • :format - Output format, either :json, :string, or :map. Default is :string

To migrate easily, just find where you initialize your plug, and change the :json to :format

v0.12.1 (2023-12-01)

Changed

  • handle white space in front of a mutation/query

v0.12.0 (2023-11-07)

Changed

  • Upgrade dependencies
  • fix bad regex to capture better operation name

v0.11.0 (2022-11-28)

Changed

  • Upgrade dependencies
  • Clean up some docs
  • some internal code cleaning
  • ** Breaking ** Support Elixir 1.11 and above

v0.10.4 (2022-07-25)

Changed

  • Add support for formatting metadata list values

v0.10.3 (2022-07-19)

Changed

  • Log out error on rescue when we are unable to format

v0.10.2 (2022-05-31)

Added

  • Removed remapping for status as done in Datadog directly

v0.10.1 (2022-05-31)

Added

  • Adds support for mapped fields in DataDog. To enable this, use include_datadog_fields: true in your plug initialization

v0.10.0 (2022-05-09)

Added

  • Uinta.Formatter.Datadog - Drop in replacement for Uinta.Formatter that adds Datadog specific metadata to help correlate traces and logs

v0.9.2 (2022-03-08)

Changed

  • Doesn't crash when "query" is not a string

v0.9.1 (2022-01-21)

Changed

  • Client ip is now properly serialize as a string

v0.9 (2022-01-05)

Added

  • adds more fields to the log:
    • referer
    • user_agent
    • x_forwarded_for
    • x_forwarded_proto
    • x_forwarded_port
    • via

v0.8 (2021-11-22)

Added

operationName for GQL requests

Changed

path now always path and not sometimes operationName

v0.7 (2021-08-16)

Added

  • configurable sampling of successful requests. Use the :success_log_sampling_ratio configuration in init and specify a ratio of the sample to log. Ratio can support a precision up to 4 digits
  • update dependencies

v0.6 (2021-04-08)

Added

  • ignore request path options to Uinta.Plug, to filter out request unwanted unless HTTP status returned is not a 200-level status
  • Adds a CHANGELOG
  • Adds a duration_ms as a number

Changed

  • Upgraded the package dependencies

v0.5 (2020-11-04)

Added

  • ignore request path options to Uinta.Plug, to filter out request unwanted unless HTTP status returned is not a 200-level status

v0.4.2 (2020-03-31)

Changed

  • properly handle GraphQL queries with no commas

v0.4.1 (2020-03-31)

Changed

  • handle array arguments properly in the regex

v0.4.0 (2020-03-30)

Changed

  • better handle queries with no operationName