Skip to content

Commit

Permalink
chore: bump to v0.5.0
Browse files Browse the repository at this point in the history
Also:
- Updated README
- Updated LICENSE copyright year.
  • Loading branch information
hpopp committed Jan 10, 2021
1 parent bf3a2fe commit ce69661
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 12 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
# Changelog

## v0.5.0

**Changed**

- Minimum Elixir version bumped to 1.6.

**Fixed**

- Removed Elixir 1.11 compile warnings.

## v0.4.5

- Removed some compile warnings.

## v0.4.4

- Fixed ArithmeticError when calculating how many streams to request
on infinite stream sets.

## v0.4.3

- Fixed supervisor crash report during normal connection shutdown.
- Removed `GenStage` dependency.
- GOAWAY error logger messages now disabled by default.
Re-enable with `config :kadabra, debug_log?: true`.

## v0.4.2

- Fixed `{:closed, pid}` task race condition during connection cleanup.
- Everything is supervised under `Kadabra.Application` again, instead of
handling supervision yourself.

## v0.4.1

- Send exactly number of allowed bytes on initial connection WINDOW_UPDATE.
- Default settings use maximum values for MAX_FRAME_SIZE and INITIAL_WINDOW_SIZE.
- Incoming PING and WINDOW_UPDATE frames are now validated, closing the
Expand All @@ -28,6 +43,7 @@
connection flow window.

## v0.4.0

- Support for `http` URIs.
- Requests are now buffered with GenStage.
- Added `Kadabra.head/2` and `Kadabra.delete/2`.
Expand All @@ -38,33 +54,42 @@
- Removed `:reconnect` functionality.

## v0.3.8

- Fixed: Streams properly killed if hpack table crashes.
- Removed unused `Scribe` dependency.

## v0.3.7

- Fixed: `noproc` crash caused by race condition on recv GOAWAY.

## v0.3.6

- Fixed: ES flag properly set on certain HEADERS frames.

## v0.3.5

- Fixed: Memory leak on connection crashes.
- New supervision structure. `Kadabra.open/2` now returns a supervisor pid,
but the API for making requests remains unchanged.

## v0.3.4

- Fixed: Connections properly respect settings updates.

## v0.3.3

- Fixed: Hpack memory leak on connection close.

## v0.3.2

- Fixed: Connection settings defaults are now actually default.

## v0.3.1

- Fixed: Sending payloads larger than the stream window.

## v0.3.0

- Minimum requirements are now Elixir 1.4/OTP 19.
- Performance improvements for individual streams.
- Fixed: multiple connections now supported per host.
Expand All @@ -73,9 +98,11 @@
messages.

## v0.2.2

- `Connection` now respects `max_concurrent_streams`.
- Fixed: proper WINDOW_UPDATE responses on received DATA frames.

## v0.2.1

- Fixed: calling `Kadabra.open/3` with `reconnect: false` to disable
automatic reconnect on socket close.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2018 Codedge LLC (https://www.codedge.io/)
Copyright (c) 2016-2021 Codedge LLC (https://www.codedge.io/)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[![Build Status](https://travis-ci.org/codedge-llc/kadabra.svg?branch=master)](https://travis-ci.org/codedge-llc/kadabra) [![Coverage Status](https://coveralls.io/repos/github/codedge-llc/kadabra/badge.svg?branch=master)](https://coveralls.io/github/codedge-llc/kadabra?branch=master) [![Hex.pm](http://img.shields.io/hexpm/v/kadabra.svg)](https://hex.pm/packages/kadabra) [![Hex.pm](http://img.shields.io/hexpm/dt/kadabra.svg)](https://hex.pm/packages/kadabra)
[![Build Status](https://travis-ci.org/codedge-llc/kadabra.svg?branch=master)](https://travis-ci.org/codedge-llc/kadabra)
[![Coverage Status](https://coveralls.io/repos/github/codedge-llc/kadabra/badge.svg?branch=master)](https://coveralls.io/github/codedge-llc/kadabra?branch=master)
[![Hex.pm](http://img.shields.io/hexpm/v/kadabra.svg)](https://hex.pm/packages/kadabra)
[![Hex.pm](http://img.shields.io/hexpm/dt/kadabra.svg)](https://hex.pm/packages/kadabra)

# Kadabra

Expand All @@ -8,18 +11,20 @@ Written to manage HTTP/2 connections for [pigeon](https://github.com/codedge-llc

## Installation

*Requires Elixir 1.4/OTP 19.2 or later.*
_Requires Elixir 1.6/OTP 19.2 or later._

Add kadabra to your `mix.exs`:
```elixir
def deps do
[
{:kadabra, "~> 0.4.5"}
]
end
```

```elixir
def deps do
[
{:kadabra, "~> 0.5.0"}
]
end
```

## Usage

```elixir
{:ok, pid} = Kadabra.open("https://http2.golang.org")
Kadabra.get(pid, "/")
Expand All @@ -39,6 +44,7 @@ end
```

## Making Requests Manually

```elixir
{:ok, pid} = Kadabra.open("https://http2.golang.org")

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 Kadabra.Mixfile do
use Mix.Project

@version "0.4.5"
@version "0.5.0"

def project do
[
Expand Down

0 comments on commit ce69661

Please sign in to comment.