Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Bumps version number to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright committed Nov 18, 2019
1 parent e323639 commit 0fb6102
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Package.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = "james@entropic.jamesswright.co.uk/reno"
description = "A thin routing library designed to sit on top of Deno's standard HTTP module"
version = "0.5.1"
version = "0.6.0"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
textResponse,
jsonResponse,
streamResponse,
} from "https://raw.githubusercontent.com/jamesseanwright/reno/v0.5.1/reno/mod.ts";
} from "https://raw.githubusercontent.com/jamesseanwright/reno/v0.6.0/reno/mod.ts";

export const routes = createRouteMap([
["/home", () => textResponse("Hello world!")],
Expand Down Expand Up @@ -52,7 +52,7 @@ const router = createRouter(routes);
This, along with request handlers being [pure functions](), makes unit testing Reno services a breeze:

```ts
import { jsonResponse, assertResponsesMatch } from "https://raw.githubusercontent.com/jamesseanwright/reno/v0.5.1/reno/mod.ts";
import { jsonResponse, assertResponsesMatch } from "https://raw.githubusercontent.com/jamesseanwright/reno/v0.6.0/reno/mod.ts";
import { createRonSwansonQuoteHandler } from './routes.ts';

const createFetchStub = (response: string[]) =>
Expand Down Expand Up @@ -85,7 +85,7 @@ test({
Deno emulates the middleware pattern, [found in Express](https://expressjs.com/en/guide/using-middleware.html), favouring [function piping](https://www.sitepoint.com/function-composition-in-javascript/#theimportanceofinvocationorder) to create reusable, higher-order route handlers:

```ts
import { createRouteMap, jsonResponse, pipe } from "https://raw.githubusercontent.com/jamesseanwright/reno/v0.5.1/reno/mod.ts";
import { createRouteMap, jsonResponse, pipe } from "https://raw.githubusercontent.com/jamesseanwright/reno/v0.6.0/reno/mod.ts";

const withCaching = pipe(
(req, res) => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reno",
"version": "0.5.1",
"version": "0.6.0",
"description": "A thin routing library designed to sit on top of Deno's standard HTTP module",
"main": "reno/mod.ts",
"repository": {
Expand Down

0 comments on commit 0fb6102

Please sign in to comment.