Skip to content

Commit b7ab7c9

Browse files
committed
chore: Release version 0.5.0
- Updated version in mix.exs to 0.5.0 - Added changelog entry for 0.5.0 release - Enhanced telemetry integration with comprehensive HTTP request monitoring
1 parent f63f8dc commit b7ab7c9

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.0] - 2025-08-01
9+
10+
### Added
11+
- **HTTP.Telemetry module** - Complete telemetry integration for HTTP request monitoring
12+
- Request lifecycle events with rich metadata
13+
- Response body reading events for tracking download progress
14+
- Streaming events for real-time data transfer monitoring
15+
- Zero configuration integration with Elixir's :telemetry library
16+
17+
### Changed
18+
- Updated default User-Agent string format to include library version 0.5.0
19+
- Enhanced telemetry event metadata with improved error reporting
20+
821
## [0.4.3] - 2025-08-01
922

1023
### Added
@@ -17,6 +30,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1730
- Uses dynamic version detection via `Application.spec(:http_fetch, :vsn)`
1831
- Preserves custom `User-Agent` headers when provided
1932
- Added `HTTP.Headers.user_agent/0` method to access the default User-Agent string
33+
- Added comprehensive `HTTP.Telemetry` module for HTTP request metrics and monitoring
34+
- **Request lifecycle events**: `[:http_fetch, :request, :start]`, `[:http_fetch, :request, :stop]`, `[:http_fetch, :request, :exception]`
35+
- **Response body reading events**: `[:http_fetch, :response, :body_read_start]`, `[:http_fetch, :response, :body_read_stop]`
36+
- **Streaming events**: `[:http_fetch, :streaming, :start]`, `[:http_fetch, :streaming, :chunk]`, `[:http_fetch, :streaming, :stop]`
37+
- **Rich metadata**: Includes URLs, HTTP status codes, response sizes, durations, and error reasons
38+
- **Automatic integration**: All HTTP.fetch operations automatically emit telemetry events
39+
- **Zero configuration**: Works out of the box with Elixir's :telemetry library
2040

2141
### Changed
2242
- Enhanced User-Agent string to include system architecture information

mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule HttpFetch.MixProject do
22
use Mix.Project
33

4-
@version "0.4.3"
4+
@version "0.5.0"
55
@source_url "https://github.com/gsmlg-dev/http_fetch"
66

77
def project do
@@ -33,6 +33,7 @@ defmodule HttpFetch.MixProject do
3333
# Run "mix help deps" to learn about dependencies.
3434
defp deps do
3535
[
36+
{:telemetry, "~> 1.0"},
3637
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
3738
{:briefly, "~> 0.4", only: :test}
3839
]

0 commit comments

Comments
 (0)