Skip to content

Commit

Permalink
release: 0.22.0 (#433)
Browse files Browse the repository at this point in the history
* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): codegen related update (#429)

* codegen metadata

* chore(internal): codegen related update (#431)

* codegen metadata

* codegen metadata

* feat(api): OpenAPI spec update via Stainless API (#434)

* chore: better object fallback behaviour for casting errors (#435)

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* release: 0.22.0

---------

Co-authored-by: stainless-bot <dev@stainlessapi.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
  • Loading branch information
stainless-app[bot] and stainless-bot authored Sep 11, 2024
1 parent b535430 commit d994341
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.21.3"
".": "0.22.0"
}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.22.0 (2024-09-11)

Full Changelog: [v0.21.3...v0.22.0](https://github.com/val-town/sdk/compare/v0.21.3...v0.22.0)

### Features

* **api:** OpenAPI spec update via Stainless API ([#434](https://github.com/val-town/sdk/issues/434)) ([c7394f6](https://github.com/val-town/sdk/commit/c7394f636c1e2742499b3560d6e5ee288532d387))


### Chores

* better object fallback behaviour for casting errors ([#435](https://github.com/val-town/sdk/issues/435)) ([587000e](https://github.com/val-town/sdk/commit/587000edef7d3864aa19c73ec547dd06b821dc47))
* **internal:** codegen related update ([#429](https://github.com/val-town/sdk/issues/429)) ([283abcd](https://github.com/val-town/sdk/commit/283abcd21d6892bbdec6b934b0e5085406d94ae5))
* **internal:** codegen related update ([#431](https://github.com/val-town/sdk/issues/431)) ([af64e62](https://github.com/val-town/sdk/commit/af64e62edcd2547ef67687512c1ab1cbd0e9caa0))

## 0.21.3 (2024-09-09)

Full Changelog: [v0.21.2...v0.21.3](https://github.com/val-town/sdk/compare/v0.21.2...v0.21.3)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@valtown/sdk",
"version": "0.21.3",
"version": "0.22.0",
"description": "The official TypeScript library for the Val Town API",
"author": "Val Town <support@val.town>",
"types": "dist/index.d.ts",
Expand Down
5 changes: 5 additions & 0 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,11 @@ const validatePositiveInteger = (name: string, n: unknown): number => {

export const castToError = (err: any): Error => {
if (err instanceof Error) return err;
if (typeof err === 'object' && err !== null) {
try {
return new Error(JSON.stringify(err));
} catch {}
}
return new Error(err);
};

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.21.3'; // x-release-please-version
export const VERSION = '0.22.0'; // x-release-please-version

0 comments on commit d994341

Please sign in to comment.