Skip to content

Commit

Permalink
release: bump v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
c4710n committed Oct 20, 2024
1 parent b396eb4 commit c9c6319
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
# Changelog

## Unreleased
## v3.0.0

- rename `HTTPSpec.Request.Query` to `HTTPSpec.Request.QueryParams`.
- change default encoding of of `HTTPSpec.Request.QueryParams` to `:rfc3986`.
- rename `HTTPSpec.Request.URL.parse/1` to `HTTPSpec.Request.URL.parse!/1`
- add `HTTPSpec.Request.URL.parse/1` which returns ok/error tuple.
- add new `HTTPSpec.Request.URL.parse/1` which returns ok/error tuple.
- move all header related function to a new module `HTTPSpec.Header`
- move all trailer related function to a new module `HTTPSpec.Trailer`

## 2.3.0
## v2.3.0

- add `:url` option for `HTTPSpec.Request.new/1` and `HTTPSpec.Request.new!/1`

## 2.2.0
## v2.2.0

- add `HTTPSpec.Request.URL`

## 2.1.0
## v2.1.0

- add `HTTPSpec.Request.put_query/2`
- add `HTTPSpec.Request.put_new_header/3`
- add `HTTPSpec.Request.put_new_lazy_header/3`
- add `HTTPSpec.Request.put_body/2`
- add `HTTPSpec.Request.Query`

## 2.0.0
## v2.0.0

### Breaking changes
### vBreaking changes

- rename `build/1` to `new/1`
- rename `build!/1` to `new!/1`
- downcase header names when building a `%HTTPSpec.Response{}`

### New features
### vNew features

- add `HTTPSpec.Request.build_method/1`
- add `HTTPSpec.Request.build_url/1`
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule HTTPSpec.MixProject do
use Mix.Project

@version "2.3.1"
@version "3.0.0"
@description "Provides implementation-independent HTTP-related structs."
@source_url "https://github.com/cozy-elixir/http_spec"
@changelog_url "https://github.com/cozy-elixir/http_spec/blob/v#{@version}/CHANGELOG.md"
Expand Down

0 comments on commit c9c6319

Please sign in to comment.