Skip to content

Releases: hasura/ndc-mongodb

v0.0.6

01 May 19:48
Compare
Choose a tag to compare
  • Enables logging events from the MongoDB driver by setting the RUST_LOG variable (#67)
    • To log all events set RUST_LOG=mongodb::command=debug,mongodb::connection=debug,mongodb::server_selection=debug,mongodb::topology=debug
  • Relations with a single column mapping now use concise correlated subquery syntax in $lookup stage (#65)
  • Add root configuration.json or configuration.yaml file to allow editing cli options. (#68)
  • Update default sample size to 100. (#68)
  • Add all_schema_nullable option defaulted to true. (#68)
  • Change native_procedure to native_mutation along with code renaming (#70)
    • Note: native_procedures folder in configuration is now deprecated. It will continue to work for a few releases, but renaming your folder is all that is needed.

v0.0.5

27 Apr 03:29
055154b
Compare
Choose a tag to compare
  • Fix incorrect order of results for query requests with more than 10 variable sets (#37)
  • In the CLI update command, don't overwrite schema files that haven't changed (#49)
  • In the CLI update command, if the database URI is not provided the error message now mentions the correct environment variable to use (MONGODB_DATABASE_URI) (#50)
  • Update to latest NDC SDK (#51)
  • Update rustls dependency to fix https://github.com/hasura/ndc-mongodb/security/dependabot/1 (#51)
  • Serialize query and mutation response fields with known types using simple JSON instead of Extended JSON (#53) (#59)
  • Add trace spans (#58)

v0.0.4

12 Apr 20:11
Compare
Choose a tag to compare
v0.0.4 Pre-release
Pre-release
  • Queries that attempt to compare a column to a column in the query root table, or a related table, will now fail instead of giving the incorrect result (#22)
  • Fix bug in v2 to v3 conversion of query responses containing nested objects (PR #27)
  • Fixed bug where use of aggregate functions in queries would fail (#26)
  • Rename Any type to ExtendedJSON to make its representation clearer (#30)
  • The collection primary key _id property now has a unique constraint generated in the NDC schema for it (#32)

v0.0.3

28 Mar 05:45
b50094a
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release
  • Use separate schema files for each collection (PR #14)
  • Changes to update CLI command (PR #17):
    • new default behaviour:
      • attempt to use validator schema if available
      • if no validator schema then sample documents from the collection
    • don't sample from collections that already have a schema
    • if no --sample-size given on command line, default sample size is 10
    • new option --no-validator-schema to disable attempting to use validator schema
  • Add any type and use it to represent mismatched types in sample documents (PR #18)

v0.0.2.1

26 Mar 10:52
ebcf9d0
Compare
Choose a tag to compare
v0.0.2.1 Pre-release
Pre-release
  • Rename CLI plugin to ndc-mongodb (PR #13)

v0.0.2

26 Mar 00:31
ebcf9d0
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
  • Rename CLI plugin to ndc-mongodb (PR #13)

v0.0.1

22 Mar 00:34
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

Initial release