Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage the new support for nested path expressions in SQLKit #572

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Jul 11, 2023

Fluent now takes generic advantage of the new support added by vapor/sql-kit#169 when generating nested subpath expressions.

(Unfortunately, Fluent has never actually invoked this code path to begin with, except via an explicit call to .sql(json:_:), so it doesn't change much at the moment. However, this would always have been a prerequisite to make the real support for it in Fluent's API actually work, so it's a step in the right direction.)

SQLJSONColumnPath is now deprecated in favor of using SQLKit's new SQLNestedSubpathExpression.

gwynne added 2 commits July 11, 2023 01:59
… reimplement SQLJSONColumnPath in favor of SQLNestedSubpathExpression, default SQLConverterDelegates to using the latter.
Copy link

@MahdiBM MahdiBM left a comment

Choose a reason for hiding this comment

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

✅️

@VaporBot
Copy link

These changes are now available in 1.43.0

cgrindel-self-hosted-renovate bot added a commit to cgrindel/rules_swift_package_manager that referenced this pull request Aug 25, 2023
…543)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[vapor/fluent-sqlite-driver](https://github.com/vapor/fluent-sqlite-driver)
| minor | `4.3.0` -> `4.5.0` |

---

### Release Notes

<details>
<summary>vapor/fluent-sqlite-driver
(vapor/fluent-sqlite-driver)</summary>

###
[`v4.5.0`](https://github.com/vapor/fluent-sqlite-driver/releases/tag/4.5.0):
- Update for the nested subpath changes in FluentKit

[Compare
Source](https://github.com/vapor/fluent-sqlite-driver/compare/4.4.0...4.5.0)

###### *This patch was authored and released by
[@&#8203;gwynne](https://github.com/gwynne).*


[vapor/fluent-kit#572](https://github.com/vapor/fluent-kit/issues/572)
takes advantage of the new support added to SQLKit in
[vapor/sql-kit#169](https://github.com/vapor/sql-kit/issues/169), so
remove the obsolete legacy support here.

Also does some minor tidying.

(Note: Since we now depend on a version of FluentKit that is multiple
minor versions newer than before, this must also be semver-minor.)
[https://github.com/vapor/fluent-sqlite-driver/pull/87](https://github.com/vapor/fluent-sqlite-driver/pull/87)

###
[`v4.4.0`](https://github.com/vapor/fluent-sqlite-driver/releases/tag/4.4.0):
Update min Swift version to 5.6 and make platform versions consistent

[Compare
Source](https://github.com/vapor/fluent-sqlite-driver/compare/4.3.1...4.4.0)

###### *This patch was authored and released by
[@&#8203;gwynne](https://github.com/gwynne).*

###
[`v4.3.1`](https://github.com/vapor/fluent-sqlite-driver/releases/tag/4.3.1):
Add experimental support for watchOS

[Compare
Source](https://github.com/vapor/fluent-sqlite-driver/compare/4.3.0...4.3.1)

###### *This patch was authored by
[@&#8203;hyouuu](https://github.com/hyouuu) and released by
[@&#8203;0xTim](https://github.com/0xTim).*

Adds watchOS adds a target platform to enable it to be built for that
platform.

**Note:** watchOS support is very much experimental and not currently a
supported platform, though there is no reason why it shouldn't work

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny4zIiwidXBkYXRlZEluVmVyIjoiMzYuNTcuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-minor Contains new APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants