Skip to content

Commit

Permalink
[ci] release (#27)
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 21, 2024
1 parent 3ea1a29 commit e17b3f7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .changeset/six-pianos-explode.md

This file was deleted.

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

## 0.5.1

### Patch Changes

- 09c54ff: Add `async` keyword support

example:

```ts
const obj = s.object({}).async();

obj.schema; // {type: 'object', $async: true}
// make sync schema
obj.sync(); // {type: 'object', $async: false}

// or completely remove the `$async` keyword form schema
obj.sync(true); // {type: 'object'}
```

## fixes/refactories

- refactor `safeParse` logic.
- update JSDoc for `default` method

## 0.5.0

### Minor 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.5.0",
"version": "0.5.1",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit e17b3f7

Please sign in to comment.