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.
- Request service_name now only accepts atoms
- add Dialyzer and add type specs to public methods
- Fuse Middleware uses a request base url as a fuse name when a service name is not set to the request
- fixed bug in JsonApiClient.Middleware.StatsTracker
2.0.1 2018-01-26
mix format
codebase- Misc code cleanup
- fixed timeout constant inside config
2.0.0 2018-01-03
- urls with explicit ports but no path are normalized so they don't cause errors in HTTPoison/hackney.
- Hard dependency on fuse and sasl erlang packages. Fuse is now declared as optional.
- JsonApiClient.Config.SASLLogs log translator in favor of direct configuration of sasl.
1.2.0 2017-10-27
- Middleware call
request
parameter type is changed toRequest
.
- Added
Request.attributes
- Added
DefaultRequestConfig
middleware - Added
Request.new/0
method
1.1.0 - 2017-10-25
- Renamed client_name to user_agent_suffix
- use Mix.Project.config[:app] as a default value for user_agent_suffix
- Use "JsonApiClient" (package name) as user agent prefix instead of "ExApiClient".
- Added
Request.header/3
method - Added middleware architecture
- Added
Fuse
andStatsTracker
middlewares
- Path generation from a now works correctly for post requests when
resource
specified
1.0.0 - 2017-10-17
Request.path/2
added
0.5.2 - 2017-10-17
- Fixed package config so that primary documentation link in hex.pm works
0.5.1 - 2017-10-17
- Removed
organization
from mix.exs so that package will be public - Removed Unused dependencies from mix.exs
0.5.0 - 2017-10-17
- This CHANGELOG.md
- A good bit of docuemtnation
- The
RequestError
struct lost thereson
attribute. We now just usemessage