Skip to content

Releases: edgedb/edgedb-js

@edgedb/generate v0.2.0

12 Jun 15:58
efc8d62
Compare
Choose a tag to compare

Commits:

  • fbeb70d Use assert instead of expect in generator tests (#610)
  • c4dafa5 Avoid import collision for queries generator (#622)
  • 34ac7f3 Add Args and Returns types to queries generator (#624)

edgedb-js v1.2.2

16 May 16:17
3fd6895
Compare
Choose a tag to compare

Note that this version drops the use of node-fetch as an automatic polyfill for fetch. We decided to not mark this as a breaking change since all major platforms have supported fetch for a while. If you need to support a platform that does not have native fetch, you'll need to create your own polyfill using a package like node-fetch, whatwg-fetch, cross-fetch, etc.

Commits:

  • 3c88ed8 Remove automatic polyfill of fetch (#591)
  • 85f6b6a Add type intersection docs to select page (#595)
  • ff8783c Properly quote enum values when generating query text (#598)
  • 8caacb2 Add decimal property to Person and test query (#603)

@edgedb/generate v0.1.1

16 May 16:17
3fd6895
Compare
Choose a tag to compare

Note that this version drops the use of node-fetch as an automatic polyfill for fetch. We decided to not mark this as a breaking change since all major platforms have supported fetch for a while. If you need to support a platform that does not have native fetch, you'll need to create your own polyfill using a package like node-fetch, whatwg-fetch, cross-fetch, etc.

Commits:

  • 3c88ed8 Remove automatic polyfill of fetch (#591)
  • 85f6b6a Add type intersection docs to select page (#595)
  • ff8783c Properly quote enum values when generating query text (#598)
  • 8caacb2 Add decimal property to Person and test query (#603)

edgedb-js v1.2.1

05 May 12:07
9a911b8
Compare
Choose a tag to compare

Commits:

edgedb v1.2.0

04 May 15:23
ef53de1
Compare
Choose a tag to compare

Commits:

  • cbb845a Make private EdgeDBError props writable (#576)
  • eeab33d Fix with var extraction in for loops + fix insert unless conflict child expr tracking + add tests (#579)
  • 59be431 Update dependencies (#578)
  • 42c6cc9 Bump ring buffer size + abort conn if ring buffer overflows (#575)
  • 17bd516 Use spawnSync to allow spaces in server bin path (#582)

@edgedb/generate v0.1.0

04 May 15:24
ef53de1
Compare
Choose a tag to compare

Commits:

  • cbb845a Make private EdgeDBError props writable (#576)
  • eeab33d Fix with var extraction in for loops + fix insert unless conflict child expr tracking + add tests (#579)
  • 42c6cc9 Bump ring buffer size + abort conn if ring buffer overflows (#575)
  • ea04f85 Support union type links (#279)

edgedb v1.1.0

21 Apr 15:32
Compare
Choose a tag to compare
  • Add support for tuples in query args
  • Fix event handling in fetch-based connection classes
  • Support HTTPS connections in FetchConnection and AdminUIFetchConnection
  • Fix rounding when deconding/encoding microseconds in datetime types
  • Expose codec to decode/encode decimal type into/from string
  • Add support for instanceName and secretKey cloud instances

@edgedb/generate v0.0.8

21 Apr 15:40
Compare
Choose a tag to compare
  • Fix codegen when expression wrapped by e.params is non-runnable
  • Fix generator to compile with TypeScript strict configs
  • Fix codegen for arrays of enum types
  • Allow named tuples to be passed as the shape of an insert
  • Fix e.update to reflect that it only has filter, filter_single, and set clauses
  • Allow costing empty sets to object type
  • Inject assert_single when using filter_single when selecting a non-exclusive object
  • Add helper function to create tuple types from object types
  • Properly handle nested modules
  • Add (unofficial) support for http client
  • Add support for tuples in query args

@edgedb/generate v0.0.7

21 Apr 15:15
Compare
Choose a tag to compare
  • Fix ["*"] on scoped object in select
  • Fix filter_single with exclusive links and allow AtMostOne cardinality
  • Add comment with @edgedb/generate version to generated files
  • Fix for TypeScript 4.9 union type that is too complex to represent
  • Fix bug to allow params to be used as limit in select
  • Fix enum codegen when enum value is not a valid js identifier

edgedb v1.0.2

21 Apr 15:10
Compare
Choose a tag to compare
  • Restrict SET_GLOBAL capability
  • Relax QueryArg to support json being possibly unknown