datasette-graphql

Datasette plugin providing an automatic GraphQL API for your SQLite databases

APACHE-2.0 License

Downloads
3K
Stars
97
Committers
2

Bot releases are hidden (Show)

datasette-graphql - 3.0a0 Latest Release

Published by simonw about 1 year ago

  • Upgraded for compatibility with the Datasette 1.0 alpha series. #96
datasette-graphql - 2.2

Published by simonw over 1 year ago

  • The path used by for the GraphQL API - which defaults to /graphql - can now be customized using the new datasette-graphql path configuration option in metadata.json. #92
datasette-graphql - 2.1.2

Published by simonw almost 2 years ago

  • Fixed bug where columns with names starting with a double underscore would cause errors. #91
datasette-graphql - 2.1.1

Published by simonw about 2 years ago

  • Simplified example code in the documentation for the graphql_extra_fields() hook.
  • Workaround for a bug where some tables could cause a 500 error on the regular table view page. #90
datasette-graphql - 2.1

Published by simonw over 2 years ago

datasette-graphql - 2.0.2

Published by simonw over 2 years ago

  • Upgrade dependencies to graphene>=3.1.0 and graphql-core>=3.2.1. #88
datasette-graphql - 2.0.1

Published by simonw almost 3 years ago

  • Fixes broken demo links in the README. #86
datasette-graphql - 2.0

Published by simonw almost 3 years ago

  • Upgraded to Graphene 3.0. (#80). This introduces some small backwards-compatibility breaks, hence the 2.0 version number on this release. Most notably, tables or columns that are named after Python keywords (such as if) will now be represented in GraphQL with a trailing underscore, if_. description is also renamed to description_.
  • Upgraded bundled version of GraphiQL to 1.5.1, running on React 17.0.2. (#75)
  • Fixed an error caused by tables that include foreign key references to other tables that do not exist. (#79)
  • Now tested against Python 3.10. (#82)
datasette-graphql - 1.5

Published by simonw over 3 years ago

  • Now uses the datasette.client mechanism for internal calls. #61
  • Depends on datasette>=0.58.1
datasette-graphql - 1.4

Published by simonw over 3 years ago

  • Fix broken tests against Datasette 0.54. #71
  • Bundle JavaScript and CSS assets for GraphiQL, instead of loading them from a CDN. #73
  • Pin to graphene dependency < 3.0. #72
datasette-graphql - 1.3.1

Published by simonw almost 4 years ago

  • Fixed bug where in: and notin: filters raised an error when run against lists of integers rather than lists of strings. #68
datasette-graphql - 1.3

Published by simonw almost 4 years ago

  • Suggested queries for tables (available from the table actions cog menu) now include foreign key expansions. #67
datasette-graphql - 1.2.1

Published by simonw almost 4 years ago

  • Fix for forthcoming change to Datasette undocumented internal method. #66
  • Now tested against Python 3.9
datasette-graphql - 1.2

Published by simonw almost 4 years ago

  • Plugin now respects the view-instance and view-database permissions. Previously the plugin could expose schema details of databases that should not be visible, though not their actual row content. See security advisory: datasette-graphql leaks details of the schema of private database files . #65
  • Adds links to the GraphQL API in the database and table action menus, including example table queries. #63
  • Running the plugin against Datasette with no attached databases no longer returns a 500 error. #64
datasette-graphql - 1.1

Published by simonw almost 4 years ago

  • Adds "GraphQL API" link to Datasette's new navigation menu, added in Datasette 0.51. #62
datasette-graphql - 1.0.1

Published by simonw about 4 years ago

  • Documentation improvements: README now links to example queries in the live demo. #60
datasette-graphql - 1.0

Published by simonw about 4 years ago

  • Added GraphQL execution limits, controlled by the time_limit_ms and num_queries_limit plugin configuration settings. These default to 1000ms total execution time and 100 total SQL queries per GraphQL execution. Limits documentation. #33
datasette-graphql - 0.15

Published by simonw about 4 years ago

  • Support for multiple reverse foreign key relationships on a single table. Example. #32
  • The graphql() template function now accepts an optional variables= parameter. #54
  • The search: argument is now available for tables that are configured using Datasette's fts_table mechanism. #56
  • New example demonstrating GraphQL fragments. #57
datasette-graphql - 0.14

Published by simonw about 4 years ago

  • json_column configuration setting for specifying columns that contain raw JSON which should be returned in the GraphQL response without being turned into strings containing JSON. #53
datasette-graphql - 0.13

Published by simonw about 4 years ago

  • Cache introspected GraphQL schema unless the DB schema changes, providing much improved performance against databases with large numbers of tables. #51
  • New graphql() Jinja template function for executing GraphQL queries in custom Datasette templates. #50