Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#1332)
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 May 5, 2023
1 parent fcf217a commit cd2a801
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .changeset/tender-lemons-grab.md

This file was deleted.

19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# Change log

## 0.17.0

### Minor Changes

- [`a32e2d6`](https://github.com/Urigo/SOFA/commit/a32e2d635c43468b5c70cbdc73143ead10bf5bc3) Thanks [@ardatan](https://github.com/ardatan)! - BREAKING: Now OpenAPI module has been deprecated, SOFA now automatically generates \`openapi.json\` and Swagger UI on \`/docs\` on the fly

### vNEXT

### v0.12.0

- Allow to override mapping of custom scalar to OpenAPI (#1159) - Thanks @izumin5210
- Stop using AST Node to retrieve Enum values in OpenAPI (#1158) - Thanks @izumin5210
- Feature/openapi tags description (#1114) - Thanks @NorbertRuff
- Fix payload parsing for subscriptions (#1148) - Thanks @csuriano23

## BREAKING CHANGES

- `createSofaRouter` is no longer exported, use `useSofa` directly
- `useSofa` now supports more server frameworks. It uses `itty-router` and `@whatwg-node/server` so it supports almost all JS environments;
[See more](https://github.com/ardatan/whatwg-node/tree/master/packages/server#integrations)
Documentation on SOFA's docs will be updated soon.
[See more](https://github.com/ardatan/whatwg-node/tree/master/packages/server#integrations)
Documentation on SOFA's docs will be updated soon.
- `OpenAPI` no longer has `.save` method. Use `.get` to get the schema;

```diff
const openApi = OpenAPI({
schema,
Expand All @@ -34,7 +43,9 @@ const openApi = OpenAPI({
```

### v0.10.2

In this release express is removed as dependency. New `basePath` option is required to resolve sofa routes properly

```js
app.use(
'/api',
Expand All @@ -46,6 +57,7 @@ app.use(
```

Added new server framework agnostic api

```js
const invokeSofa = createSofaRouter({
basePath: '/api',
Expand All @@ -63,12 +75,15 @@ const response = await invokeSofa({
```

### v0.8.2

- Replace winston with custom logger ([#534](https://github.com/Urigo/SOFA/pull/534)) - Thanks @TrySound !

### v0.8.1

- Bump @graphql-tools/utils to fix [ardatan/graphql-tools#1928](https://github.com/ardatan/graphql-tools/pull/1928)

### v0.8.0

- Update dependencies

### v0.7.0
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": "sofa-api",
"description": "Create REST APIs with GraphQL",
"version": "0.16.3",
"version": "0.17.0",
"buildOptions": {
"input": "./src/index.ts"
},
Expand Down

0 comments on commit cd2a801

Please sign in to comment.