这是indexloc提供的服务,不要输入任何密码
Skip to content

v1.0.0-alpha39

Pre-release
Pre-release

Choose a tag to compare

@hasura-bot hasura-bot released this 04 Mar 09:45
· 9095 commits to master since this release

Changelog

🚨 🚨 Breaking change 🚨 🚨

Prior to this release, the server stringified certain Postgres numeric types like bigint. Starting with this release, server will only stringify these types if --stringify-numeric-types flag or the env var HASURA_GRAPHQL_STRINGIFY_NUMERIC_TYPES is set. Specifically bigint, numeric, decimal and double precision as they don't fit into the IEEE-754 spec for JSON encoding-decoding. If you depend on the stringification of these types, please enable this flag while upgrading. (fix #1523) (#1662)

🎁 🎁 New features 🎁 🎁

  • Server now allows renaming tables, columns through the run_sql API and relationships through rename_relationship API. Console now has option on the corresponding screen to do the renames. (close #79) (#1542)
  • A new flag/env var (--enabled-apis, HASURA_GRAPHQL_ENABLED_APIS) is added to enable/disable certain APIs. This is particularly useful for production deployment scenarios where there is a requirement to disable the metadata APIs. Default is metadata,graphql where both APIs are enabled. (close #1088) (#1650)
  • Cookies are now read while establishing a websocket connection. Note that if CORS is disabled server will NOT read the cookie and a special flag (--ws-read-cookie, HASURA_GRAPHQL_WS_READ_COOKIE) should be set to force server to read the cookie. Care should be taken to handle CORS elsewhere if you're forcing the behaviour. Otherwise this is vulnerable for cross-site scripting type attacks.. (fix #1660) (#1668)

Bug fixes

  • Server now enforces the column presets of update permissions on upsert mutations. (fix #1647) (#1653)
  • Bug fixes and new updates on console permissions screen. (close #1503, #1529, #1567, #1470) (#1605) (#1658)
  • Events and Remote schema tabs are now independent of update checker API, they appear as soon as the app is loaded. (#1604)
  • Ace editor cursor now matches with the text. (#1620)
  • Fixes a bug that caused event trigger definitions to break when columns are added/removed/renamed on a table. (close #1629) (#1673)
  • Server now generates Scalar types for SQL function arguments. (fix #1632) (#1633)

Other changes

  • server: remove grep from server makefile (#1614)
  • server: refactor event processing logic (#1639)
  • server: forward response headers from remote servers (fix #1654) (#1664)
  • server: revert "forward response headers from remote servers (#1664)"
  • server: update event triggers on rename operations (#1684)
  • console: fix console hot reloading and upgrade to babel 7 (#1618)
  • console: update console unable to connect to server msg (#1625)
  • console: handle empty header key in console APIExplorer (#1641)
  • console: make button texts consistent across event trigger and remote schemas (close #1634) (#1666)
  • console: fix console sidebar links highlighting (#1657)
  • console: refactor console code, update react to 16.8.2 (close #1467) (#1608)
  • console: update console browse rows section (close #1622) (#1642)