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.
3.0.0 - 2026-02-11
- Fixed Elixir 1.19 compatibility by removing regex-containing struct default for
filter_bodyfield. The default value is now applied at runtime via thedefault_filter_body/0function.
2.0.0 - 2024-04-29
- Replaced
HTTPoisonlibrary withTesla.
- Removed
Agentstrategy in favor of configuration. Seet:Segment.options/0for configuration instructions.
- Retry mechanism for Segment API requests.
- Request and response logs through
MetaLogger. - Additional options available (see
t:Segment.options/0for 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
misslibrary.
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.Formatterfor formatting logs and masking sensitive fields.
1.1.0 - 2020-12-23
- Add
drop_nil_fieldsoptions to filternullJSON attributes from the request body sent to the API endpoint.
1.0.0 - 2020-10-09
- Returns tuple with
:okor:errorand 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.ScreenandSegment.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.