Skip to content

Commit

Permalink
[ci] release (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 23, 2024
1 parent 37b57f2 commit 6330222
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
27 changes: 0 additions & 27 deletions .changeset/nervous-lies-turn.md

This file was deleted.

28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# ajv-ts

## 0.6.2

### Patch Changes

- 37b57f2: make object schema accept object type.

## What's new

### Object

make object schema accept generic object type.

```ts
import s from "ajv-ts";
type CustomObj = {
name: string;
age: number;
};
// Before
const before = s.object<CustomObj>(); // error, accept another definition
// After
s.object<CustomObj>(); // OK now
```

### Zod compatibility

`describe` - add `description` to your schema. This method for `zod` compatibility.

## 0.6.1

### Patch Changes
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": "ajv-ts",
"description": "JSON-schema builder with typescript safety",
"version": "0.6.1",
"version": "0.6.2",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 6330222

Please sign in to comment.