Skip to content

Latest commit

 

History

History
195 lines (123 loc) · 10 KB

CHANGELOG.md

File metadata and controls

195 lines (123 loc) · 10 KB

Starting from the versions superior v4.6.0.1, the release notes and changelog will be provided in the GitHub Releases of the project. See https://github.com/zio/zio-protoquill/releases

4.6.0.1

4.6.0

4.5.0

4.4.1

4.4.0

4.3.0

4.2.0

Migration Notes:

  • The infix interpolator is now deprecated because in Scala 2, infix is a keyword. Instead of infix"MyUdf(${person.name})" use sql"MyUdf(${person.name})". For contexts such as Doobie that already have an sql interpolator. Import context.compat._ and use the qsql interpolator instead.

4.1.0-V2

4.1.0

4.0.0

3.19.0

3.18.0

Migration Notes:

  • Similar to 2504 in Scala2-Quill, 109 in ProtoQuill changes the handling of optional-product rows. Whereas before, if any non-optional column of an optional-product row was null, then entre optional-product would be null. Now however, an optional-product will only be null if every column inside is null. For example, before, if a query returning Person(name:Option(Name(first:String, last:String)), age: Int) resulted in the row ResultRow("Joe", null, 123) before the entity would be decoded into Person(None, 123) (i.e. the optional-product Option[Name] would decode to None).
    Now however, Option[Name] only decodes to None if every column inside it is null. This means that the ResultRow("Joe", null, 123) decodes to Person(Name("Joe", 0 /*default-placeholder for null*/), 123). Only when the both first and last columns in Name are null i.e. ResultRow(null, null, 123) will the result be: Person(None, 123).

3.16.5-Beta31

3.16.5-Beta30

3.16.5-Beta29

3.16.4-Beta28

Note: Changing the version convention due to findings of SCL-19345. This should allow correct Scala 3 code identification in IntelliJ. Also moving DSL to top level since Tasty reader seems to process that correctly.

3.16.4-Beta2.7

Note: This release is to try to resolve some IntelliJ issues regarding SCL-19345. There are no functionality changes. For this reason I had to change the version convention.

3.16.4.Beta2.6

Note: This change should resolve the IntelliJ issue SCL-20078 but as of now still has the SCL-19345 issue.

3.16.3.Beta2.5

3.16.3.Beta2.4

3.16.3.Beta2.3

3.16.1.Beta2.2

3.16.0.Beta2.1

  • Note: Similar to zio-quill/pull/2413 this change just removes the deprecated EntityQuery.insert(CaseClass) and EntityQuery.update(CaseClass) APIs that have been updated to EntityQuery.insertValue(CaseClass) and EntityQuery.updateValue(CaseClass), and it is the only change in this release. This is needed because of scala/scala3#14043.

3.15.0.Beta2.0

3.12.0.Beta1.7

3.10.0.Beta1.6

3.10.0.Beta1.5

This change lines up the zio-jdbc modules with the latest 3.10.0 line. Various fixes are done to Ast lifting as well as the InsertUpdateMacro for increased efficiency. The static keyword is introduced.

3.7.2.Beta1.4

3.7.2.Beta1.3

3.7.2.Beta1.2

  • Kryo-Serialize entire AST. Further improves performance.
  • Allow x -> y syntax for constructing tuples.
  • Allow sql"..." without .as[...] in some needed cases.

3.7.1.Beta1.1

  • Aggressively serialize quats via Kryo. This seems to significantly improve performance.
  • Introduce context.prepare command.

3.7.1.Beta1.0

  • Initial release