Calinou / godot-asset-library-laravel

Experimental Godot Asset Library rewrite using the Laravel framework
MIT License
66 stars 16 forks source link

Bump lorisleiva/laravel-search-string from 1.0.4 to 1.1.3 #372

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps lorisleiva/laravel-search-string from 1.0.4 to 1.1.3.

Release notes

Sourced from lorisleiva/laravel-search-string's releases.

v1.1.3

Make order by and select keyword rules use column aliases (See #34)

v1.1.2

Add case_insensitive option for search queries — defaults to false for backward compatibility. (See #22)

You can set it to true in your options amongst columns and keywords. For example, in the config/search-string.php file:

return [
    'default' => [
        'case_insensitive' => true, // <- Globally.
        // ...
    ],
Article::class =&gt; [
    'case_insensitive' =&gt; true, // &lt;- Only for the Article class.
    // ...
],

];

When set to true, it will lowercase both the column and the value before comparing them using the like operator.

$value = mb_strtolower($value, 'UTF8');
$query->whereRaw("LOWER($column) LIKE ?", ["%$value%"]);

v1.1.1

  • More robust way to check if a string is a regex (#31)
  • Do not qualify the column name when already prefixed (#33)

v1.1.0

Use qualify column names to avoid ambiguous conflicts (See #32)

Commits
  • 366f558 Make order by and select keyword rules use column aliases
  • 82c0d74 Add "case_insensitive" option for search queries
  • 8b0b820 Do not qualify the column name when already prefixed
  • 9ca5967 More robust way to check if a string is a regex
  • 55a365f Update README.md
  • afed28a Fix tests
  • 3d37104 Refactor qualifyColumn
  • 1e13934 Merge pull request #32 from denisdulici/main
  • dfd92b8 qualified columns
  • 6c6db9e Create FUNDING.yml
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)