-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edgedb-python 1.6.1 #516
Closed
edgedb-python 1.6.1 #516
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Handle IdleSessionTimeoutError in blocking client reconnect
Error position and hint are now included by default if present, overridden by EDGEDB_ERROR_HINT (enabled/disabled). The output is aslo colored if the stderr refers to a terminal, overriden by EDGEDB_COLOR_OUTPUT (auto/enabled/disabled).
This is not a breaking change; `--file` itself without a path works the same way as it was before. * Also use color in codegen output
Changes ======= * Output pretty error if possible (#399) (by @fantix in a2bec18 for #399) * Codegen: allow providing a path after --file (#400) (by @fantix in 6bce57e for #400) Fixes ===== * Handle ErrorResponse in ping (#393) (by @fantix in 8b28947 for #393) * Disallow None in elements of array argument (by @fantix in 26fb6d8) Docs ==== * Remove references to unix-domain sockets (by @quinchs in 4b8bec6)
Co-authored-by: Paul Colomiets <paul@edgedb.com>
Secret keys are JWTs prefixed with nbwt_ or edbt_ for authentication, default to secret_key in $config_dir/$cloud_profile.json for cloud instances.
* usage.rst & asyncio_client.rst * Update docs/api/asyncio_client.rst Co-authored-by: Devon Campbell <devon@radworks.io> --------- Co-authored-by: Devon Campbell <devon@radworks.io>
* Instance names allow leading digits * Cloud instance name max length: 62 * Dashes are allowed, except for consecutive ones like -- * Ban underscores for the cloud
Co-authored-by: Elvis Pranskevichus <elvis@edgedb.com>
This affects the case when compilation config is set on the client, while a new command is compiled within a transaction. In this case, the compiler will only use the state issued in the transaction start. Before this fix, we didn't send state on transaction commands, so those config was not in effect within transactions, even though each query did carry the right config.
Changes ======= * Update for rules of instance names (#423) (by @fantix in 5bc5699 for #420) * Synchronize error types (#429) (by @fantix in 03e4012) * Allow enums in array codec (#431) (by @fantix in 2de7e3f for #408) * Prohibit concurrent operations on the same transaction object (#430) (by @fantix in f1fa612 for #130) * Fix state of transaction start (#424) (by @fantix in 297de72) * codegen: Handle non-identifier characters in enum values (#432) (by @fantix in e1ec16d for #428) Docs ==== * docs: add Code Generation to table of contents (#421) (by @AndreasPB in ffe74a1 for #421)
Vectors get decoded into array.array. Encoding supports any list-like array of numbers, but has an optimized fast path for things like array and ndarray that avoids needing to box integers.
Changes ======= * Add --dir option to codegen for searching .edgeql files (#434) (by @fantix in ec90e35 for #434) * Implement support for vector type (#439 #440) (by @msullivan in 0bee718 for #439, 50a25ef for #440) * Lowercase org/instance name when computing Cloud instance DNS (#441) (by @elprans in 0f30b26 for #441) * Implement `database` config in project dir (#442) (by @tailhook in bee7327 for #442)
Co-authored-by: Fantix King <fantix.king@gmail.com>
Also fixes a test broken by parser rework in nightly.
We have tests for syntax errors in the server, we're just testing the binding/protocol flow here. (And other places test that messages come through more generally.)
RelativeDuration was getting the '-' for the seconds component wrong in some cases. Specifically, when fractional seconds were 0, but larger units (hours or seconds) were non zero and negative. Also add test cases for similar situtation with other duration types.
Add multirange codec. Adjust edgedb.Range and create edgedb.MultiRange class as Python representation of ranges and multiranges.
Changes ======= * Implement support for new type descriptor protocol (by @elprans in 47eec19 for #427) * Sync errors (by @elprans in 3bfb574 for #449) * Don't depend on exact syntax errors in tests (by @msullivan in b3ce0c6 for #451) * Fix an error in string representation of RelativeDuration. (by @vpetrovykh in 667da72 for #453) * Add multirange support. (by @vpetrovykh in 15e280e for #452)
Some error messages were changed in #6209. When I first saw this failing, I was very worried that it was a state bug introduced by
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
database
config in project dir (Implementdatabase
config in project dir #442)test_suite
kwarg fromsetuptools.setup()