All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0 - 2024-04-29
- Replaced
HTTPoison
library withTesla
.
- Removed
Agent
strategy in favor of configuration. Seet:Segment.options/0
for configuration instructions.
- Retry mechanism for Segment API requests.
- Request and response logs through
MetaLogger
. - Additional options available (see
t:Segment.options/0
for documentation)::disable_meta_logger
:filter_body
:http_adapter
:max_retries
:request_timeout
:retry_base_delay
:retry_jitter_factor
:retry_max_delay
1.3.1 - 2022-03-17
- Update the
miss
library.
1.3.0 - 2022-03-16
- Fix the encoding for Decimal, Date and DateTime structs.
1.2.1 - 2022-02-25
- Bump Poison to v5.0.
1.2.0 - 2021-06-21
- Use
MetaLogger.Formatter
for formatting logs and masking sensitive fields.
1.1.0 - 2020-12-23
- Add
drop_nil_fields
options to filternull
JSON attributes from the request body sent to the API endpoint.
1.0.0 - 2020-10-09
- Returns tuple with
:ok
or:error
and a JSON string to enable clients to handle validation errors.
0.2.2 - 2020-10-08
- Add version field to
Segment.Analytics.Track
,Segment.Analytics.Identify
,Segment.Analytics.Alias
,Segment.Analytics.Page
,Segment.Analytics.Screen
andSegment.Analytics.Group
.
0.2.1 - 2020-09-28
- Removes unused fields.
0.2.0 - 2020-09-23
- Allow endpoint and API key to be passed via options to the new public function
Segment.Analytics.call/2
.
v0.1.1 - 2016-10-13
- First release.