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

Commit

Permalink
bump cheetah to v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Apr 21, 2023
1 parent b4aee5a commit 50546c6
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [v0.2.1](https://github.com/azurystudio/cheetah/releases/tag/v0.2.1)

- #### Bug Fixes

- Fixed a small type issue regarding the environment variables type.

## [v0.2.0](https://github.com/azurystudio/cheetah/releases/tag/v0.2.0)

- #### Breaking Changes
Expand Down
6 changes: 3 additions & 3 deletions guide/collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
You can split your app into multiple files using **Collections**. Creating a new collection is also quite simple:

```ts
import cheetah, { Collection } from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah, { Collection } from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'

const collection = new Collection()
.get('/example', () => 'Hello World')
Expand All @@ -18,12 +18,12 @@ If you're using a validator, make sure to define the validator type for the coll

```ts
// typebox
import typebox from 'https://deno.land/x/cheetah@v0.2.0/validator/typebox.ts'
import typebox from 'https://deno.land/x/cheetah@v0.2.1/validator/typebox.ts'

const collection = new Collection<EnvironmentType, typeof typebox>()

// zod
import zod from 'https://deno.land/x/cheetah@v0.2.0/validator/zod.ts'
import zod from 'https://deno.land/x/cheetah@v0.2.1/validator/zod.ts'

const collection = new Collection<EnvironmentType, typeof zod>()
```
4 changes: 2 additions & 2 deletions guide/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Cloudflare Workers

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'

const app = new cheetah()
.get('/', () => 'Hello World')
Expand All @@ -23,7 +23,7 @@ deno run -A https://deno.land/x/cheetah@v0.1.0/build.ts mod.ts mod.js
### Deno Deploy

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'
import { serve } from 'https://deno.land/std@v0.184.0/http/server.ts'

const app = new cheetah()
Expand Down
4 changes: 2 additions & 2 deletions guide/parsing_and_validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#### TypeBox

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'
import typebox, { Type } from 'https://deno.land/x/cheetah@v0.1.0/validator/typebox.ts'

type EnvironmentVariables = {}
Expand All @@ -20,7 +20,7 @@ const app = new cheetah<EnvironmentVariables, typeof typebox>({
#### Zod

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'
import zod, { z } from 'https://deno.land/x/cheetah@v0.1.0/validator/zod.ts'

type EnvironmentVariables = {}
Expand Down
6 changes: 3 additions & 3 deletions guide/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Suggested Syntax

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'

// #1
const app = new cheetah()
Expand All @@ -32,7 +32,7 @@ const app = new cheetah()
[Express.js](https://github.com/expressjs/express)ish

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'

const app = new cheetah()

Expand All @@ -48,7 +48,7 @@ app.get('/b', c => {
[Hono](https://github.com/honojs/hono)ish

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'

const app = new cheetah()
.get('/a', c => c.text('Hello World'))
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
### Sneak Peek

```ts
import cheetah from 'https://deno.land/x/cheetah@v0.2.0/mod.ts'
import cheetah from 'https://deno.land/x/cheetah@v0.2.1/mod.ts'
import { serve } from 'https://deno.land/std@v0.184.0/http/server.ts'

const app = new cheetah()
Expand Down

0 comments on commit 50546c6

Please sign in to comment.