Skip to content

Releases: waynesbrain/ttsql

v0.4.2

08 May 14:49
Compare
Choose a tag to compare
  • Add a deref function as configuration for SqlDatabase to dereference JSON schema references.

v0.4.1

04 May 21:14
Compare
Choose a tag to compare
  • Use correct type for query cache getter.

v0.3.1

04 May 21:01
Compare
Choose a tag to compare
  • Adds a prepared query cache option to DatabaseD1 configuration.

v0.3.0

04 May 20:37
Compare
Choose a tag to compare
  • Change SqlDatabase constructor, et. al. to take a single config object.

v0.2.1

03 May 22:50
Compare
Choose a tag to compare

Fixes

  • Do not put the whole stack trace in SqlError toString.

Changes

  • Add clear error messages for a common mistake of passing an array of instead of spreading to sql.assign and sql.matches.
  • Add SqlError.toSummary() method for a summary that expands beyond toString().

0.2.0

03 May 19:40
Compare
Choose a tag to compare
  • Change type signature of SqlError so it doesn't print Symbol(SqlRef).

0.1.3

03 May 19:35
Compare
Choose a tag to compare
  • Properly wrap errors with SqlError in ttsql/d1.

v0.1.2

03 May 19:26
Compare
Choose a tag to compare
  • Add SqlError type to ttsql/db and use in ttsql/d1.

v0.1.1

03 May 18:56
Compare
Choose a tag to compare
  • Coerce undefined value to null in sql.assign and sql.match.
  • Add authors testimonial.
  • Remove flat claims of type safety. We will have limited type-safety for specific adjuct builder methods.

v0.1.0

03 May 17:24
Compare
Choose a tag to compare
  • Remove incorrect export of separate ESM entrypoint.