finch v0.13.0 Release Notes

Release Date: 2022-07-26 // 2 months ago
  • โœจ Enhancements

    • ๐Ÿ”ง Define Finch.child_spec/1 which will automatically use the Finch :name as the :id, allowing users to start multiple instances under the same Supervisor without any additional configuration #202
    • Include the changelog in the generated HexDocs #201
    • ๐Ÿ›  Fix typo in Finch.Telemetry docs #198

Previous changes from v0.12.0

  • โœจ Enhancements

    • โž• Add support for private request metadata #180
    • ๐Ÿ—„ Hide docs for deprecated Finch.request/6 #195
    • โž• Add support for Mint.UnsafeProxy connections #184

    ๐Ÿ› Bug Fixes

    • In v0.11.0 headers and status codes were added to Telemetry events in a way that made invalid assumptions regarding the shape of the response accumulator, this has been resolved in #196

    ๐Ÿ’ฅ Breaking Changes

    • โšก๏ธ Telemetry updates #176
      • Rename the telemetry event :request to :send and :response to :recv.
      • Introduce a new :request field which contains the full Finch.Request.t() in place of the :scheme, :host, :port, :path, :method fields wherever possible. The new :request field can be found on the :request, :queue, :send, and :recv events.
      • Rename the meta data field :error to :reason for all :exception events to follow the standard introduced in telemetry
      • Introduce a new [:finch, :request, :start | :stop | :exception] telemetry event that emits whenever Finch.request/3 or are called.