- Support for Erlang/OTP 22, 23, 24, 25 has been added
- Elixir 1.12, 1.13, 1.14 are now supported
- Elixir 1.16.0-rc.0 is supported on OTP 24, 25, 26 as well
- If a project token present in properties it won't be overwritten
- Dynamic starting/stopping of client processes was implemented
- NoOp was added to the list of known adapters
- mix_unused was listed as dev only dependency
- Add VERSION to list of the package's extra files
- Fixes name of the default HTTP adapter
- Now you can configure the library in a such a way that it can be used to stream to multiple Mixpanel accounts simultaneously. Consult with README.md on how to use new API.
- Introduces Telemetry support.
- Supports Elixir 1.15 and Erlang/OTP 26: all compilation errors and warnings were fixed.
- User facing API now supports NaiveDateTime, DateTime, as well as Erlang's
timestamps and Erlang's Calendar
t:datetime()
. - Batch variant of engage function (
Mixpanel.engage/2
) has been added. Mixpanel.create_alias/2
has been added.- Poison has been replaced with Jason.
base_url
option has been added which enables selection EU Residency servers (or enables use of proxies of your choice).- Supports plug-able adapters for http libraries via
:http_adapter
configuration parameter: implements default one usinghttpc
OTP library and and another one using Hackney library (won't be available until it listed as dependency in your project's mix file). - If a request to Mixpanel backend fails for any reason, then it will be retries up to 3 times.
- All dependencies have been upgraded to their latest versions.
- Mentions of the Token has been replaced with Project Token to reflect the
official docs. Rename
token
toproject_token
in theconfig.exs
.
- HTTPoison has been removed
- Mock library was made obsolete
- InchEx integration was removed
- Dogma has been dropped
- Travis has been obsolete and was replaced by GitHub actions.
- Now the library uses Dependabot.
- All typespecs were refined and thus improved the documentation.
- Dialyzer errors have been fixed.
- Credo's warnings and errors have been resolved
- A lot of code repetition has been eliminated.
- Better validation of user provided options has been added to user facing API functions.
- Since the library employs behaviours to implement HTTP client adapters, the test suit was moved to Mox mocking framework and thus was simplified.
- To test HTTP adapters, Bandit running in HTTPS mode was used.
- Due to changes listed above, the test suite coverage was greatly improved.
- Update deps
Initial release