Skip to content

Commit

Permalink
chore(main): release 0.4.0 (#77)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Basile Spaenlehauer <[email protected]>
  • Loading branch information
github-actions[bot] and spaenleh authored Feb 16, 2023
1 parent e21d1e5 commit 302a14c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [0.4.0](https://github.com/graasp/graasp-sdk/compare/v0.3.0...v0.4.0) (2023-02-16)


### Features

* **types:** add a magic `ImmutableCast<T>` type to derive `*Record` (immutable) types from backend (mutable) types. Supports nested and optional props with basic or custom types. ([e21d1e5](https://github.com/graasp/graasp-sdk/commit/e21d1e57940ce0aa8235b321654743551ff38794))
* **types:** create /frontend subpackage ([#75](https://github.com/graasp/graasp-sdk/issues/75)) ([e21d1e5](https://github.com/graasp/graasp-sdk/commit/e21d1e57940ce0aa8235b321654743551ff38794))
* **types:** define `Item` as a discriminated union type ([e21d1e5](https://github.com/graasp/graasp-sdk/commit/e21d1e57940ce0aa8235b321654743551ff38794))
* **types:** move query-client types to /frontend ([e21d1e5](https://github.com/graasp/graasp-sdk/commit/e21d1e57940ce0aa8235b321654743551ff38794))


### Bug Fixes

* update `extra` prop on `Member` (add `lang` and `favoriteItems`) ([e21d1e5](https://github.com/graasp/graasp-sdk/commit/e21d1e57940ce0aa8235b321654743551ff38794))
* use generic type on `getExtra*` methods to infer return type from input type ([e21d1e5](https://github.com/graasp/graasp-sdk/commit/e21d1e57940ce0aa8235b321654743551ff38794))

## [0.3.0](https://github.com/graasp/graasp-sdk/compare/v0.2.0...v0.3.0) (2023-01-26)


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": "@graasp/sdk",
"version": "0.3.0",
"version": "0.4.0",
"repository": "[email protected]:graasp/graasp-sdk.git",
"author": "Graasp",
"contributors": [
Expand Down

0 comments on commit 302a14c

Please sign in to comment.