Skip to content

Commit

Permalink
Update version to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Mrak committed Mar 18, 2016
1 parent b912119 commit fdda487
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.3.0

* __BREAKING CHANGES from 0.2.x__
* In `0.2.x` and below, you could pass `request.headers.authorization` as a `username:password` string to signify Basic auth and stubby would automatically prefix `Basic ` and base64-encode the user/pass string. This breaks other forms of web auth that uses the `Authorization` header.
```yaml
# Before
request:
headers:
authorization: 'username:password'
# Now
request:
headers:
authorization: 'Basic username:password'
```
Stubby will still base64-encode the `username:password` if it sees that `Basic ` is specified and the `:` character is present. Otherwise it will take it as-is.
* __New features__
* `json:` option for endpoints -- instead of using `post:` or `file:` for matching the body of incoming requests, you can specify `json: ` with a JSON string and its content will be deeply matched for incoming request bodies.

## 0.2.13

* fixes a crash when using `start()` without any options
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stubby",
"preferGlobal": true,
"version": "0.2.13",
"version": "0.3.0",
"author": {
"name": "Eric Mrak",
"email": "mail@ericmrak.info"
Expand Down

0 comments on commit fdda487

Please sign in to comment.