Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Go to file
dependabot[bot] 6ec7a2fff0 Bump insta from 1.40.0 to 1.41.1 (#1307)
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.40.0 to 1.41.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mitsuhiko/insta/releases">insta's
releases</a>.</em></p>
<blockquote>
<h2>1.41.1</h2>
<h2>Release Notes</h2>
<ul>
<li>Re-release of 1.41.0 to generate release artifacts correctly.</li>
</ul>
<h2>Install cargo-insta 1.41.1</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -c &quot;irm
https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-installer.ps1
| iex&quot;
</code></pre>
<h2>Download cargo-insta 1.41.1</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-aarch64-apple-darwin.tar.xz">cargo-insta-aarch64-apple-darwin.tar.xz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-aarch64-apple-darwin.tar.xz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-apple-darwin.tar.xz">cargo-insta-x86_64-apple-darwin.tar.xz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-apple-darwin.tar.xz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-pc-windows-msvc.zip">cargo-insta-x86_64-pc-windows-msvc.zip</a></td>
<td>x64 Windows</td>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-unknown-linux-gnu.tar.xz">cargo-insta-x86_64-unknown-linux-gnu.tar.xz</a></td>
<td>x64 Linux</td>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-unknown-linux-gnu.tar.xz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-unknown-linux-musl.tar.xz">cargo-insta-x86_64-unknown-linux-musl.tar.xz</a></td>
<td>x64 MUSL Linux</td>
<td><a
href="https://github.com/mitsuhiko/insta/releases/download/1.41.1/cargo-insta-x86_64-unknown-linux-musl.tar.xz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<h2>1.41.0</h2>
<ul>
<li>
<p>Experimental support for binary snapshots. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/610">#610</a>
(Florian Plattner)</p>
</li>
<li>
<p><code>--force-update-snapshots</code> now causes
<code>cargo-insta</code> to write every snapshot, regardless of whether
snapshots fully match, and now implies <code>--accept</code>. This
allows for <code>--force-update-snapshots</code> to update inline
snapshots' delimiters and indentation.</p>
<p>For the previous behavior of <code>--force-update-snapshots</code>,
which limited writes to snapshots which didn't fully match, use
<code>--require-full-match</code>. The main difference between
<code>--require-full-match</code> and the existing behavior of
<code>--force-update-snapshots</code>
is a non-zero exit code on any snapshots which don't fully match.</p>
<p>Like the previous behavior or <code>--force-update-snapshots</code>,
<code>--require-full-match</code> doesn't track inline snapshots'
delimiters or
indentation, so can't update if those don't match. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/644">#644</a></p>
</li>
<li>
<p>Inline snapshots only use <code>#</code> characters as delimiters
when required. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/603">#603</a></p>
</li>
<li>
<p>Warnings for undiscovered snapshots are more robust, and include
files with custom snapshot extensions. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/637">#637</a></p>
</li>
<li>
<p>Insta runs correctly on packages which reference rust files in a
parent path. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/626">#626</a></p>
</li>
<li>
<p>Warnings are printed when any snapshot uses a legacy format. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/599">#599</a></p>
</li>
<li>
<p><code>cargo insta --version</code> now prints a version. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/665">#665</a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md">insta's
changelog</a>.</em></p>
<blockquote>
<h2>1.41.1</h2>
<ul>
<li>Re-release of 1.41.1 to generate release artifacts correctly.</li>
</ul>
<h2>1.41.0</h2>
<ul>
<li>
<p>Experimental support for binary snapshots. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/610">#610</a>
(Florian Plattner)</p>
</li>
<li>
<p><code>--force-update-snapshots</code> now causes
<code>cargo-insta</code> to write every snapshot, regardless of whether
snapshots fully match, and now implies <code>--accept</code>.  This
allows for <code>--force-update-snapshots</code> to update inline
snapshots'
delimiters and indentation.</p>
<p>For the previous behavior of <code>--force-update-snapshots</code>,
which limited writes to
snapshots which didn't fully match, use
<code>--require-full-match</code>.
The main difference between <code>--require-full-match</code> and the
existing behavior of <code>--force-update-snapshots</code>
is a non-zero exit code on any snapshots which don't fully match.</p>
<p>Like the previous behavior of <code>--force-update-snapshots</code>,
<code>--require-full-match</code>
doesn't track inline snapshots' delimiters or
indentation, so can't update if those don't match. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/644">#644</a></p>
</li>
<li>
<p>Inline snapshots only use <code>#</code> characters as delimiters
when required. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/603">#603</a></p>
</li>
<li>
<p>Warnings for undiscovered snapshots are more robust, and include
files with
custom snapshot extensions. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/637">#637</a></p>
</li>
<li>
<p>Insta runs correctly on packages which reference rust files in a
parent path. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/626">#626</a></p>
</li>
<li>
<p>Warnings are printed when any snapshot uses a legacy format. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/599">#599</a></p>
</li>
<li>
<p><code>cargo insta --version</code> now prints a version. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/665">#665</a></p>
</li>
<li>
<p><code>insta</code> now internally uses
<code>INSTA_UPDATE=force</code> rather than
<code>INSTA_FORCE_UPDATE=1</code>. (This doesn't affect users of
<code>cargo-insta</code>, which
handles this internally.) <a
href="https://redirect.github.com/mitsuhiko/insta/issues/482">#482</a></p>
</li>
<li>
<p><code>cargo-insta</code>'s integration tests continue to grow over
the past couple of versions,
and now offer coverage of most of <code>cargo-insta</code>'s
interface.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="cb08d924f0"><code>cb08d92</code></a>
Bump version to 1.41.1 (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/681">#681</a>)</li>
<li><a
href="6d555d4fc4"><code>6d555d4</code></a>
Changelog for 1.41.1 (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/680">#680</a>)</li>
<li><a
href="0317928160"><code>0317928</code></a>
Refine changelog (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/675">#675</a>)</li>
<li><a
href="0e07a50b8b"><code>0e07a50</code></a>
Update a couple docstrings (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/669">#669</a>)</li>
<li><a
href="083ce14965"><code>083ce14</code></a>
Another small simplification of <code>prepare_test_runner</code> (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/667">#667</a>)</li>
<li><a
href="b7dea9b21d"><code>b7dea9b</code></a>
Small simplification of <code>prepare_test_runner</code> (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/666">#666</a>)</li>
<li><a
href="5fd34e6678"><code>5fd34e6</code></a>
Print a version with <code>--version</code> (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/665">#665</a>)</li>
<li><a
href="a8b6cc221c"><code>a8b6cc2</code></a>
Small refactors (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/664">#664</a>)</li>
<li><a
href="4f16d70a37"><code>4f16d70</code></a>
Show hidden files in functional tests (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/663">#663</a>)</li>
<li><a
href="2b8fce7be8"><code>2b8fce7</code></a>
Consolidate <code>Cargo.toml</code> creation in functional tests (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/662">#662</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mitsuhiko/insta/compare/1.40.0...1.41.1">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=insta&package-manager=cargo&previous-version=1.40.0&new-version=1.41.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: 7a190bcc1f3737b8d1d00ab8d53e2457ad6e108a
2024-11-04 09:15:35 +00:00
.circleci add config to prioritize data/error for remote schema fields 2023-12-19 13:30:30 +00:00
.devcontainer/docs docs: add docs devcontainer 2022-12-16 17:39:29 +00:00
.github remove hge-changelog-owners codeowner 2024-09-02 07:24:22 +00:00
architecture streaming subscriptions architecture: update try it out instructions 2022-09-29 17:28:01 +00:00
assets assets: update hasura logos 2024-03-26 18:38:41 +00:00
cabal Jberryman/ghc 9.6.4 2024-01-23 19:47:53 +00:00
cli Return correct isRepeatable value for directives in graphql schema introspection 2024-10-15 00:59:52 +00:00
cli-ext cli-ext: Upgrade the node.js version to 16 when packaging. 2023-04-21 09:05:15 +00:00
community server: add hasura_postgres_connection_error_total metric 2024-10-22 11:53:07 +00:00
console Deprecation message in Console Folder Readme 2023-02-28 12:05:04 +00:00
contrib/metadata-types Upgrade Ormolu to 0.7.0.0 2023-05-24 13:53:53 +00:00
dc-agents GHC 9.10.1 2024-08-13 13:41:16 +00:00
docker-compose Use a test PostgreSQL image based on Debian, not Alpine. 2024-07-19 08:18:01 +00:00
docs Docs: improve query variable logging 2024-10-24 12:33:40 +00:00
frontend Console: add prometheus metrics link on monitoring tab 2024-10-29 13:10:41 +00:00
install-manifests ci: update latest stable release as v2.43.0 2024-09-04 12:51:44 +00:00
metadata-api-types Make command to generate types from typed metadata in languages other than Typescript 2023-03-14 14:27:15 +00:00
nix Nix: Install ghciwatch and update the flake to get it. 2024-07-31 12:14:17 +00:00
packaging ci: tag release v2.44.0-beta.1 2024-09-18 06:13:13 +00:00
preload-mimalloc Fix #9447 bad memory usage 2023-07-25 11:24:57 +00:00
releases ci: release v2.42.0-beta.1-cloud.1 2024-07-31 12:24:43 +00:00
rfcs server: add hasura_postgres_connection_error_total metric 2024-10-22 11:53:07 +00:00
scripts GHC 9.10.1 2024-08-13 13:41:16 +00:00
server server: add hasura_postgres_connection_error_total metric 2024-10-22 11:53:07 +00:00
translations assets: update hasura logos 2024-03-26 18:38:41 +00:00
v3 Bump insta from 1.40.0 to 1.41.1 (#1307) 2024-11-04 09:15:35 +00:00
.dockerignore Create a Docker image specifically for running the Python tests. 2022-09-07 14:29:42 +00:00
.envrc Upgrade GHC to v9.6.5. 2024-05-30 09:38:45 +00:00
.envrc.local.example docker: Always use the official SQL Server image for testing. 2023-09-25 13:27:23 +00:00
.ghcversion Upgrade GHC to v9.6.5. 2024-05-30 09:38:45 +00:00
.git-blame-ignore-revs frontend: apply prettier 2023-01-25 20:55:24 +00:00
.gitignore Add python script to get cabal package licenses 2024-07-09 21:39:07 +00:00
.hlint.yaml Remove any/all hlint rules 2023-05-18 09:21:20 +00:00
.kodiak.toml ci: don't block merge queue when awaiting review, after #7011 2023-02-07 20:31:27 +00:00
.nvmrc tooling: bump .nvmrc version to 16 2022-09-06 11:23:56 +00:00
.prettierignore Add a missing changelog entry for error message changes to v2.10.0. 2022-09-05 09:41:06 +00:00
cabal.project GHC 9.10.1 2024-08-13 13:41:16 +00:00
cabal.project.freeze GHC 9.10.1 2024-08-13 13:41:16 +00:00
CHANGELOG.md Kriti Documentation 2022-09-06 15:47:18 +00:00
code-of-conduct.md update code of conduct (#2886) 2019-09-16 14:07:52 +05:30
CONTRIBUTING.md Update README for open sourcing the v3 engine. 2023-12-21 09:41:45 +00:00
docker-compose.yaml Remove the version from Docker Compose files. 2024-07-17 13:49:05 +00:00
event-triggers.md docs: fix sample-apps URLs 2023-06-30 13:48:19 +00:00
flake.lock Nix: Install ghciwatch and update the flake to get it. 2024-07-31 12:14:17 +00:00
flake.nix Nix: Wrap GHC and HLS, specifically, to provide (DY)?LD_LIBRARY_PATH. 2023-05-22 14:16:12 +00:00
LICENSE Change license for core GraphQL Engine to Apache 2.0 (#1821) 2019-03-19 16:23:36 +05:30
LICENSE-community add community boilerplates and examples (#430) 2018-09-13 12:00:07 +05:30
Makefile make: Add make targets for formatting and linting frontend code. 2023-03-23 15:16:14 +00:00
metadata.openapi.json GHC 9.10.1 2024-08-13 13:41:16 +00:00
README.md Docs: Update README again 2024-08-30 05:26:00 +00:00
remote-schemas.md update docs link to avoid redirects 2021-03-01 18:51:18 +00:00
sample.hie.yaml server: Rename "error-message" to "hasura-error-message". 2023-06-27 16:51:06 +00:00
SECURITY.md github md pages: update email address for security team 2022-12-01 17:19:51 +00:00
shell.nix Push the Nix dependency management configuration to the OSS repository. 2022-10-11 15:33:22 +00:00
V2-README.md assets: update hasura logos 2024-03-26 18:38:41 +00:00
yarn.lock docs: update-rewards-for-disclosures. 2024-04-09 22:27:03 +00:00

Hasura logo Hasura logo

Hasura GraphQL Engine

The Hasura engine is an open source project which supercharges the building of modern applications by providing access to data via a single, composable, secure API endpoint.

Hasura V3

Docs

The future of data delivery is GA: Supporting PostgreSQL (and its flavors), MongoDB, ClickHouse, and MS SQL Server. Also supports writing custom business logic using the Typescript, Python, and Go Connector SDKs. Here is the recommended Getting Started guide on DDN.

The Hasura v3 engine code, which powers Hasura DDN, is in the v3 folder of this repo. You can find more detailed information about in this v3 README.

The Hasura DDN architecture includes Data Connectors to connect to data sources. All Hasura connectors are also available completely open source. Check out the Connector Hub which lists all available connectors.

Hasura V2

Latest release Docs

Hasura V2 is the current stable version of the Hasura GraphQL Engine. Please find more detailed information about the V2 Hasura Graphql Engine in the v2 folder and this README.

Cloning repository

This repository is a large and active mono-repo containing many parts of the Hasura ecosystem and a long git history, that can make the first time cloning of the repository slow and consume a lot of disk space. We recommend following if you are facing cloning issues.

Shallow clone

This will only clone the latest commit and ignore all historical commits.

git clone https://github.com/hasura/graphql-engine.git --depth 1

Git checkout with only Hasura V3 engine code

git clone --no-checkout https://github.com/hasura/graphql-engine.git --depth 1
cd graphql-engine
git sparse-checkout init --cone
git sparse-checkout set v3
git checkout @

This checkouts the top level files and only the v3 folder which contains the Hasura V3 Engine code.

Support & Troubleshooting

To troubleshoot most issues, check out our documentation and community resources. If you have encountered a bug or need to get in touch with us, you can contact us using one of the following channels:

Code of Conduct

We are committed to fostering an open and welcoming environment in the community. Please see the Code of Conduct.

Security

If you want to report a security issue, please read this.

Stay up to date

Join our communities to stay up to date on announcements, events, product updates, and technical blogs. https://hasura.io/community/

Contributing

Check out our contributing guide for more details.

Brand assets

Hasura brand assets (logos, the Hasura mascot, powered by badges etc.) can be found in the v2/assets/brand folder. Feel free to use them in your application/website etc. We'd be thrilled if you add the "Powered by Hasura" badge to your applications built using Hasura. ❤️

Licenses

V3

All the Data Connectors are available under the Apache License 2.0.

The core V3 GraphQL Engine is intended to be licensed under the Apache License 2.0 (Apache-2.0).

V2

The V2 core GraphQL Engine is available under the Apache License 2.0 (Apache-2.0).

All other contents in the v2 folder (except those in server, cli and console directories) are available under the MIT License. This includes everything in the docs and community directories.