diff --git a/NEWS.md b/NEWS.md index 2b86c8e0..f2a0436e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,43 @@ # Release Notes +## v0.13.0 + +This release introduces some backward-incompatible changes. Before upgrading, +please review these notes. + +* Type resolution has been refactored to allow assembling query fragments based + on the type information. + +* Type checking is now more strict. A `Define` field or an optional `Join` will + be validated even when they are to be elided. + +* Resolution of ambiguous column names in `Join` has been changed in favor of + the *right* branch. Previously, an ambiguous name would cause an error. + +* Node-bound references are no longer supported. The following query will + fail: + + ```julia + qₚ = From(:person) + qₗ = From(:location) + q = qₚ |> + Join(qₗ, on = qₚ.location_id .== qₗ.location_id) |> + Select(qₚ.person_id, qₗ.state) + ``` + + Use nested references instead: + + ```julia + q = @funsql begin + from(person) + join( + location => from(location), + location_id == location.location_id) + select(person_id, location.state) + end + ``` + + ## v0.12.0 This release introduces some backward-incompatible changes. Before upgrading, diff --git a/Project.toml b/Project.toml index c01d1111..6c43b965 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "FunSQL" uuid = "cf6cc811-59f4-4a10-b258-a8547a8f6407" authors = ["Kirill Simonov ", "Clark C. Evans "] -version = "0.12.0" +version = "0.13.0" [deps] DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"