nhost

The Open Source Firebase Alternative with GraphQL.

MIT License

Downloads
67.3K
Stars
7.9K
Committers
89

Bot releases are visible (Hide)

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 1be6d324: Only export what is required by the user or @nhost/nextjs
  • 2e8f73df: Improve the error message when the application is not wrapped in <NhostProvider></NhostProvider>
  • 85683547: Allow useFileUpload to be reused
    Once a file were uploaded with useFileUpload, it was not possible to reuse it as the returned file id were kept in memory and sent again to hasura-storage, leading to a conflict error.
    File upload now makes sure to clear the metadata information from the first file before uploading the second file.
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • 85683547: Allow useFileUpload to be reused
    Once a file were uploaded with useFileUpload, it was not possible to reuse it as the returned file id were kept in memory and sent again to hasura-storage, leading to a conflict error.
    File upload now makes sure to clear the metadata information from the first file before uploading the second file.
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • dd0738d5: fix(dashboard): provisioning status polling
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • 9e0486a3: fix(dashboard): close modals when navigating
  • Updated dependencies [b21222b3]
  • Updated dependencies [65687bee]
  • Updated dependencies [54df0df4]
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 19cca7f4: Deprecate Axios

    Axios will be replaced by cross-fetch in the near future.

    To prepare for the transition, we are deprecating the old signature for the following methods:

    • nhost.functions.call()
    • nhost.graphql.request()

    Both methods now accept an optional useAxios parameter that can be used to opt-in ({ useAxios: false }) to the new method signature. By default, useAxios is set to true so you can update it on your own time.

    When using useAxios: false:

    • the only allowed option is headers: Record<string,string>
    • the returned value matches values foreseen in the next major version:
      • nhost.functions.call:
        • error is using the same standard error type as in hasura-auth-js and hasura-storage-js
        • res is using { status: number; statusText: string; data: T }
      • nhost.graphql.request:
        • error is either using the standard error type, or GraphQlError[]
  • 65687bee: Remove @nhost/hasura-auth-js and @nhost/hasura-storage-js from peerDepencencies

    The contents of both clients are now available from @nhost/nhost-js.

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16

  • 54df0df4: Improve the initialisation of the internal authentication state to support React 18 strict mode

  • 1a9e1fde: Remove unused query-string dependency

  • 5be9abb0: Allow custom values for the Accept-Encoding header in nhost.graphql.request

  • 54df0df4: Use initial session sent from the server

    When running a SSR page, the session was correctly created from the refresh token on the server side and was sent to the client side, but was not used correctly on the client side.
    As a result, the client was refreshing the access token when loading the page, rather than using the access token sent by the server.
    The client now uses the session sent from the server.

  • Updated dependencies [b21222b3]

  • Updated dependencies [19cca7f4]

  • Updated dependencies [54df0df4]

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • 54df0df4: Remove unused immer dependency
  • Updated dependencies [b21222b3]
  • Updated dependencies [19cca7f4]
  • Updated dependencies [65687bee]
  • Updated dependencies [54df0df4]
  • Updated dependencies [1a9e1fde]
  • Updated dependencies [5be9abb0]
  • Updated dependencies [54df0df4]
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • Updated dependencies [b21222b3]
  • Updated dependencies [54df0df4]
  • Updated dependencies [54df0df4]
  • Updated dependencies [65687bee]
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • Updated dependencies [b21222b3]
  • Updated dependencies [54df0df4]
  • Updated dependencies [54df0df4]
  • Updated dependencies [65687bee]
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • Updated dependencies [b21222b3]
  • Updated dependencies [19cca7f4]
  • Updated dependencies [65687bee]
  • Updated dependencies [54df0df4]
  • Updated dependencies [1a9e1fde]
  • Updated dependencies [5be9abb0]
  • Updated dependencies [54df0df4]
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 65687bee: Remove @nhost/nhost-js from peerDepencencies

    The contents of the @nhost/nhost-js package are now exported by @nhost/react.

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • 54df0df4: Remove unused immer dependency
  • 54df0df4: Improve the initialisation of the internal authentication state to support React 18 strict mode
  • Updated dependencies [b21222b3]
  • Updated dependencies [19cca7f4]
  • Updated dependencies [65687bee]
  • Updated dependencies [54df0df4]
  • Updated dependencies [1a9e1fde]
  • Updated dependencies [5be9abb0]
  • Updated dependencies [54df0df4]
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 19cca7f4: Deprecate Axios

    Axios will be replaced by cross-fetch in the near future.

    To prepare for the transition, we are deprecating the old signature for the following methods:

    • nhost.functions.call()
    • nhost.graphql.request()

    Both methods now accept an optional useAxios parameter that can be used to opt-in ({ useAxios: false }) to the new method signature. By default, useAxios is set to true so you can update it on your own time.

    When using useAxios: false:

    • the only allowed option is headers: Record<string,string>
    • the returned value matches values foreseen in the next major version:
      • nhost.functions.call:
        • error is using the same standard error type as in hasura-auth-js and hasura-storage-js
        • res is using { status: number; statusText: string; data: T }
      • nhost.graphql.request:
        • error is either using the standard error type, or GraphQlError[]

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16
  • 54df0df4: Improve the initialisation of the internal authentication state to support React 18 strict mode
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 65687bee: Remove @nhost/react from peerDepencencies

    The contents of the @nhost/react package are now exported by @nhost/nextjs. As a result,
    It is not required to install @nhost/react alongside @nhost/nextjs.

    Before:

    yarn add @nhost/react @nhost/nextjs graphql
    

    After:

    yarn add @nhost/nextjs graphql
    

    Closes #1335

Patch Changes

  • b21222b3: chore(deps): update dependency @types/node to v16

  • 54df0df4: Use initial session sent from the server

    When running a SSR page, the session was correctly created from the refresh token on the server side and was sent to the client side, but was not used correctly on the client side.
    As a result, the client was refreshing the access token when loading the page, rather than using the access token sent by the server.
    The client now uses the session sent from the server.

  • Updated dependencies [b21222b3]

  • Updated dependencies [54df0df4]

  • Updated dependencies [54df0df4]

  • Updated dependencies [65687bee]

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

  • d6527122: fix(dashboard): use correct service URLs
nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Patch Changes

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 57db5b83: Refactor: remove dependency to @nhost/core

Patch Changes

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 57db5b83: Refactor: remove dependency to @nhost/core

Patch Changes

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 57db5b83: Refactor: remove dependency to @nhost/core

Patch Changes

nhost - @nhost/[email protected]

Published by github-actions[bot] almost 2 years ago

Minor Changes

  • 57db5b83: Refactor: remove dependency to @nhost/core