Skip to content

Commit

Permalink
Prepare for realm-react-0.11.0 (#6900)
Browse files Browse the repository at this point in the history
* [realm-react-0.11.0] Bump version

* Remove internal type from export

* Update package-lock.json

* Upgrade google/wireit's setup-github-actions-caching to v2

---------

Co-authored-by: kraenhansen <[email protected]>
Co-authored-by: Kræn Hansen <[email protected]>
  • Loading branch information
3 people authored Oct 4, 2024
1 parent 7f3b687 commit 247d4f7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
cache: npm

- name: Setup Wireit cache
uses: google/wireit@setup-github-actions-caching/v1
uses: google/wireit@setup-github-actions-caching/v2

- name: Environment setup
run: sudo apt-get install ccache ninja-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
cache: npm

- name: Setup Wireit cache
uses: google/wireit@setup-github-actions-caching/v1
uses: google/wireit@setup-github-actions-caching/v2

- name: MSVC Setup
if: ${{ runner.os == 'Windows' }}
Expand Down
45 changes: 1 addition & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions packages/realm-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
## vNext (TBD)

### Deprecations
* None
## 0.11.0 (2024-10-02)

### Enhancements
* Add more additional overload to `useQuery` to allow the [react-hooks/exhaustive-deps](https://www.npmjs.com/package/eslint-plugin-react-hooks) eslint rule to work (#6819)
Expand Down
2 changes: 1 addition & 1 deletion packages/realm-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@realm/react",
"version": "0.10.1",
"version": "0.11.0",
"description": "React specific hooks and implementation helpers for Realm",
"type": "module",
"main": "dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/realm-react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import React from "react";
import { createRealmContext } from "./RealmContext";

export type { UseObjectHook } from "./useObject";
export type { UseQueryHook, QueryHookOptions, QueryHookClassBasedOptions } from "./useQuery";
export type { UseQueryHook, QueryHookOptions } from "./useQuery";

const defaultContext = createRealmContext();

Expand Down

0 comments on commit 247d4f7

Please sign in to comment.