Skip to content
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
wants to merge 40 commits into from
Closed

edgedb-python 1.6.1 #516

wants to merge 40 commits into from

Conversation

elprans
Copy link
Member

@elprans elprans commented Aug 3, 2024

fantix and others added 30 commits November 2, 2022 17:49
Codegen Fixes
=============

* Add missing std::json (#387)
* Support optional argument (#387)
* Fix camelcase generation (#387)
* Allow symlinks in project dir (#387)
* Use Executor on generated code for Client/Tx (#390)
* 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 <[email protected]>
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 <[email protected]>

---------

Co-authored-by: Devon Campbell <[email protected]>
Changes
=======

* Add support for secret key authentication, and Cloud instance (#405)
  (by @fantix in df1f6fb, 076e8c8, 27e7a4f for #405, @elprans in 65c9c37 for #412)

Docs
====

* Minor changes (#413)
  (by @0xsirsaif in 14363fb for #413)
* Instance names allow leading digits
* Cloud instance name max length: 62
* Dashes are allowed, except for consecutive ones like --
* Ban underscores for the cloud
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)
elprans and others added 10 commits August 9, 2023 09:42
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
@elprans elprans closed this Aug 3, 2024
@github-actions github-actions bot deleted the 1.6.1 branch August 3, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants