1.0 Alpha 6
This changelog summarizes new features and breaking changes in EdgeDB 1.0 alpha 6 “Wolf”.
EdgeQL
Introduce new enum definition syntax (#1843).
Instead of using strings, the enums are now defined using identifiers:
```
create scalar type schema::TypeModifier
extending enum<SetOfType, OptionalType, SingletonType>;
```
Rename built-in schema enums to use CamelCase names (#1843).
Rename string handling functions to use
start
andend
in their name (#1752):Deprecate str_lpad() in favor of str_pad_start()
Deprecate str_rpad() in favor of str_pad_end()
Deprecate str_ltrim() in favor of str_trim_start()
Deprecate str_rtrim() in favor of str_trim_end()
Forbid usage of DML in some special cases (#1726).
Add tracking of DML inside function bodies (#1741).
Allow functions with non-statement bodies (#1723).
Allow partial paths in object constraints (#1704)
Allow trailing commas in collection types (#1749).
Fix insert … unless conflict … else when combined with shape (#1743).
Fix handling of collections of newly created types in SDL (#1730).
Fix handling of function definitions in SDL (#1649).
Fix interactions of
set of
andoptional
arguments (#1640).Implementation of more of the features of the new migration syntax (RFC 1000).
Command-Line Tools
Require instance name for most
edgedb server
commands.Add version check to show a warning when tools should be updated (#158).
Add edgedb self-upgrade command (#159).
Add support for installing server using Docker (
edgedb server install --method=docker
)
Server Command-Line
Stop treating “edgedb” as special (#1729)
Improve database initialization (#1755).
Import setuptools before distutils in setup.py (#1734).
Bindings
Switch UUID decoding from a rich object to a string ( #72).
Add
EdgeDBDateTimeCodec
for handling various datetime scalars (#68).Update the edgedb-js driver to 0.11.0.
Update the edgedb-python driver to 0.11.0.