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

fix: prevent $search queries from throwing #772

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

BobdenOs
Copy link
Contributor

@BobdenOs BobdenOs commented Aug 5, 2024

Currently it is possible for @cap-js/sqlite and @cap-js/postgres to send invalid $search queries that make the request fail with 500 which should be succeeding with empty results.

@BobdenOs BobdenOs enabled auto-merge (squash) August 5, 2024 12:11
@BobdenOs BobdenOs disabled auto-merge August 5, 2024 12:12
@BobdenOs BobdenOs enabled auto-merge (squash) August 5, 2024 12:17
@BobdenOs BobdenOs added the next release pr to be checked for next release label Aug 5, 2024
@BobdenOs BobdenOs merged commit cdf4d37 into main Aug 12, 2024
4 of 5 checks passed
@BobdenOs BobdenOs deleted the fix/search-throws branch August 12, 2024 07:28
@cap-bots cap-bots mentioned this pull request Aug 12, 2024
johannes-vogel pushed a commit that referenced this pull request Sep 4, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>db-service: 1.12.1</summary>

##
[1.12.1](db-service-v1.12.0...db-service-v1.12.1)
(2024-09-03)


### Fixed

* deep `groupby` expand queries
([#768](#768))
([5423cf3](5423cf3))
* **deep:** prevent false unique constraint errors and combine delete
queries ([#781](#781))
([01de95f](01de95f))
* **logging:** from changes in @sap/cds
([#791](#791))
([1e8bf06](1e8bf06))
* prepend aliases to refs within function args in on conditions
([#795](#795))
([9b34314](9b34314)),
closes [#779](#779)
* prevent $search queries from throwing
([#772](#772))
([cdf4d37](cdf4d37))
</details>

<details><summary>hana: 1.2.0</summary>

##
[1.2.0](hana-v1.1.1...hana-v1.2.0)
(2024-09-03)


### Added

* wrap client if @dynatrace/oneagent-sdk is present
([#777](#777))
([147b88e](147b88e))


### Fixed

* Add `{list:[{val}]}` json function support
([#784](#784))
([ce5f856](ce5f856))
* Allow applications to configure `acquireTimeoutMillis`
([#796](#796))
([abac818](abac818))
* deep `groupby` expand queries
([#768](#768))
([5423cf3](5423cf3))
* Enforce `LargeStrings` to be `Strings` for `sql_simple_queries=1`
([#774](#774))
([c38a9e6](c38a9e6))
* wrong falsy checks for vals in list optimization
([#797](#797))
([e818da8](e818da8))


### Changed

* requires @sap/cds &gt;= 8.2
([#789](#789))
([3bbde18](3bbde18))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release pr to be checked for next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants