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

Commit

Permalink
Bumps to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright committed Oct 22, 2020
1 parent b5af29c commit 4e93948
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Package.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = "reno"
description = "A thin routing library designed to sit on top of Deno's standard HTTP module"
version = "1.3.4"
version = "1.3.5"
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Build Status](https://travis-ci.org/reno-router/reno.svg?branch=master)](https://travis-ci.org/reno-router/reno)

[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/[email protected].4/reno/mod.ts)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/[email protected].5/reno/mod.ts)

Reno is a thin routing library designed to sit on top of [Deno](https://deno.land/)'s [standard HTTP module](https://github.com/denoland/deno/tree/master/std/http).

Expand All @@ -28,7 +28,7 @@ import {
jsonResponse,
streamResponse,
NotFoundError,
} from "https://deno.land/x/[email protected].4/reno/mod.ts";
} from "https://deno.land/x/[email protected].5/reno/mod.ts";

function createErrorResponse(status: number, { message }: Error) {
return textResponse(message, {}, status);
Expand Down Expand Up @@ -84,7 +84,7 @@ await listenAndServe(
This, along with request handlers being [pure functions](https://en.wikipedia.org/wiki/Pure_function), makes unit testing Reno services a breeze:

```ts
import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/[email protected].4/reno/mod.ts";
import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/[email protected].5/reno/mod.ts";
import { createRonSwansonQuoteHandler } from "./routes.ts";

const createFetchStub = (response: string[]) =>
Expand Down Expand Up @@ -168,7 +168,7 @@ import {
RouteHandler,
textResponse,
createRouteMap
} from "https://deno.land/x/[email protected].4/reno/mod.ts";
} from "https://deno.land/x/[email protected].5/reno/mod.ts";

import isValidAPIKey from "./api_keys.ts";

Expand Down Expand Up @@ -206,7 +206,7 @@ export const routes = createRouteMap([
Additionally, Reno provides a `pipe` utility for creating a higher-order route handler that invokes a sequence of functions against both the original request _and_ the computed response:

```ts
import { createRouteMap, jsonResponse, pipe } from "https://deno.land/x/[email protected].4/reno/mod.ts";
import { createRouteMap, jsonResponse, pipe } from "https://deno.land/x/[email protected].5/reno/mod.ts";

const withCaching = pipe(
(req, res) => {
Expand Down Expand Up @@ -255,11 +255,11 @@ Deno.test("/ should return the expected response", async () => {

## Example Apps

As well as the [example app found in this repo](https://github.com/reno-router/reno/tree/v1.3.4/example), which is targetted by the end-to-end test suite, there is a [standalone repository for a blog microservice](https://github.com/reno-router/blog-microservice) built with Deno, Reno, PostgreSQL, and Docker.
As well as the [example app found in this repo](https://github.com/reno-router/reno/tree/v1.3.5/example), which is targetted by the end-to-end test suite, there is a [standalone repository for a blog microservice](https://github.com/reno-router/blog-microservice) built with Deno, Reno, PostgreSQL, and Docker.

## API Documentation

Consult [Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/[email protected].4/reno/mod.ts) for comprehensive documentation on Reno's API.
Consult [Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/[email protected].5/reno/mod.ts) for comprehensive documentation on Reno's API.

## Local Development

Expand Down

0 comments on commit 4e93948

Please sign in to comment.