Skip to content

Commit

Permalink
Bump the version number and update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
xitology committed Feb 16, 2024
1 parent bbcb49b commit 346449f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FunSQL"
uuid = "cf6cc811-59f4-4a10-b258-a8547a8f6407"
authors = ["Kirill Simonov <xi@resolvent.net>", "Clark C. Evans <cce@clarkevans.com>"]
version = "0.12.0"
version = "0.13.0"

[deps]
DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"
Expand Down

2 comments on commit 346449f

@xitology
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

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:

    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:

    q = @funsql begin
        from(person)
        join(
            location => from(location),
            location_id == location.location_id)
        select(person_id, location.state)
    end

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/100998

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.13.0 -m "<description of version>" 346449f3f8e68801ba7e7759d50bf1879eeaf995
git push origin v0.13.0

Please sign in to comment.