Skip to content

Commit

Permalink
Merge pull request #199 from lawliet89/cut-0.6.0-beta1
Browse files Browse the repository at this point in the history
Cut 0.6.0-beta1
  • Loading branch information
lawliet89 authored Feb 24, 2021
1 parent 678328f commit 9148092
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 14 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,18 @@ jobs:
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'

- uses: actions-rs/cargo@v1
name: Clippy Lint
name: Clippy Lint (Stable)
with:
command: clippy
args: --all-targets --all-features -- -D warnings
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable'

- uses: actions-rs/cargo@v1
name: Clippy Lint (Non-stable)
with:
command: clippy
args: --all-targets --all-features -- -D warnings -A "clippy::upper_case_acronyms"
if: matrix.os == 'ubuntu-latest' && (matrix.rust == 'beta' || matrix.rust == 'nightly')

- uses: actions-rs/cargo@v1
name: Build
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.6.0-beta1 (2021-02-24)

### Breaking Changes

- [`jws::RegisteredHeader` field `web_key`](https://lawliet89.github.io/biscuit/biscuit/jws/struct.RegisteredHeader.html#structfield.web_key)
is now of type `Option<jwk::JWK<Empty>>` instead of `Option<String>`. If you were not using JWKs,
continue setting the value to `None` will not breaking. If you were previously serializing your
JWK as JSON strings, you will now have to deserialize them into `jwk::JWK<Empty>`. Please raise
issues if you encounter any bugs. [[#189]](https://github.com/lawliet89/biscuit/pull/189)

### Enhancements

- Add support for Flattened JWS [[#190]](https://github.com/lawliet89/biscuit/pull/190)
- Added more documentation for using OpenSSL to manipulate keys [[#179]](https://github.com/lawliet89/biscuit/pull/179)

## 0.5.0 (2020-11-17)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "biscuit"
version = "0.5.0"
version = "0.6.0-beta1"
edition = "2018"
authors = ["Yong Wen Chua <[email protected]>", "Vincent Prouillet <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Documentation](https://docs.rs/biscuit/badge.svg)](https://docs.rs/biscuit)
[![dependency status](https://deps.rs/repo/github/lawliet89/biscuit/status.svg)](https://deps.rs/repo/github/lawliet89/biscuit)

- Documentation: [stable](https://docs.rs/biscuit/) | [master branch](https://lawliet89.github.io/biscuit)
- Documentation: [stable](https://docs.rs/biscuit/)
- Changelog: [Link](https://github.com/lawliet89/biscuit/blob/master/CHANGELOG.md)

A library to work with Javascript Object Signing and Encryption(JOSE),
Expand All @@ -19,7 +19,7 @@ This was based off [`Keats/rust-jwt`](https://github.com/Keats/rust-jwt).
Add the following to Cargo.toml:

```toml
biscuit = "0.5.0"
biscuit = "0.6.0-beta1"
```

To use the latest `master` branch, for example:
Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
For API documentation, refer to the links below. This directory serves auxiliary documentation that are linked from
the API documentation.

[stable](https://docs.rs/biscuit/) | [master branch](https://lawliet89.github.io/biscuit)
[stable](https://docs.rs/biscuit/)
10 changes: 5 additions & 5 deletions doc/supported.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@ A list can be found

### JWS Serialization

| Format | Support | Remarks |
|----------------|---------|---------|
| Compact || |
| General JSON || |
| Flattened JSON | | |
| Format | Support | Remarks |
|----------------|---------|--------------------|
| Compact || |
| General JSON || |
| Flattened JSON | | As of v0.6.0-beta1 |

## JSON Web Encryption (JWE)

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! [![Documentation](https://docs.rs/biscuit/badge.svg)](https://docs.rs/biscuit)
//! [![dependency status](https://deps.rs/repo/github/lawliet89/biscuit/status.svg)](https://deps.rs/repo/github/lawliet89/biscuit)
//!
//! - Documentation: [stable](https://docs.rs/biscuit/) | [master branch](https://lawliet89.github.io/biscuit)
//! - Documentation: [stable](https://docs.rs/biscuit/)
//! - Changelog: [Link](https://github.com/lawliet89/biscuit/blob/master/CHANGELOG.md)
//!
//! A library to work with Javascript Object Signing and Encryption(JOSE),
Expand All @@ -17,7 +17,7 @@
//! Add the following to Cargo.toml:
//!
//! ```toml
//! biscuit = "0.5.0"
//! biscuit = "0.6.0-beta1"
//! ```
//!
//! To use the latest `master` branch, for example:
Expand Down

0 comments on commit 9148092

Please sign in to comment.