Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Feb 15, 2025
2 parents e5654f0 + 261f5a7 commit f650eee
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
matrix:
sea:
- { sea-orm: "1.0", sea-query: "0.31" }
- { sea-orm: "1.1", sea-query: "0.32" }
use-sea-orm:
- true
- false
Expand All @@ -24,6 +25,8 @@ jobs:
- sea: { sea-orm: "1.0", sea-query: "0.31" }
use-sea-orm: true
sqlx: "0.8"
- sea: { sea-orm: "1.1", sea-query: "0.32" }
sqlx: "0.7"
steps:
- uses: actions/checkout@v4
- name: Setup Rust stable toolchain
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sea-query-common-like"
version = "1.0.1"
version = "1.1.0"
authors = ["mpyw <[email protected]>"]
edition = "2021"
rust-version = "1.80.0"
Expand All @@ -12,15 +12,15 @@ keywords = ["sea-orm", "sea-query", "sql", "LIKE", "search"]
categories = ["database", "web-programming"]

[dependencies]
fancy-regex = { version = "0.13", default-features = false }
fancy-regex = { version = ">=0.13, <0.15", default-features = false }
regex = { version = "1", default-features = false, features = ["unicode-gencat"] }
sea-orm = { version = ">=1.0, <1.1", default-features = false, optional = true }
sea-query = { version = ">=0.31, <0.32", default-features = false }
sea-orm = { version = ">=1.0, <1.2", default-features = false, optional = true }
sea-query = { version = ">=0.31, <0.33", default-features = false }

[dev-dependencies]
sea-orm = { version = ">=1.0, <1.1", features = ["macros"] }
sea-query = ">=0.31, <0.32"
sqlformat = "0.2.4"
sea-orm = { version = ">=1.0, <1.2", features = ["macros"] }
sea-query = ">=0.31, <0.33"
sqlformat = "0.3.5"
sqlx = ">=0.7, <0.9"
sqlx-postgres = ">=0.7, <0.9"

Expand Down
24 changes: 12 additions & 12 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static SEPARATOR_REGEX: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\p{Zs}++
/// .to_string(PostgresQueryBuilder)
/// .as_str(),
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// format(
/// r#"
Expand All @@ -100,7 +100,7 @@ static SEPARATOR_REGEX: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\p{Zs}++
/// AND "deleted_at" IS NULL
/// "#,
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// );
/// ```
Expand Down Expand Up @@ -153,7 +153,7 @@ pub fn prefix(text: impl Into<String>) -> Keyword {
/// .to_string(PostgresQueryBuilder)
/// .as_str(),
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// format(
/// r#"
Expand All @@ -168,7 +168,7 @@ pub fn prefix(text: impl Into<String>) -> Keyword {
/// AND "deleted_at" IS NULL
/// "#,
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// );
/// ```
Expand Down Expand Up @@ -223,7 +223,7 @@ pub fn suffix(text: impl Into<String>) -> Keyword {
/// .to_string(PostgresQueryBuilder)
/// .as_str(),
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// format(
/// r#"
Expand All @@ -238,7 +238,7 @@ pub fn suffix(text: impl Into<String>) -> Keyword {
/// AND "deleted_at" IS NULL
/// "#,
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// );
/// ```
Expand Down Expand Up @@ -293,7 +293,7 @@ pub fn fuzzy(text: impl Into<String>) -> Keyword {
/// .to_string(PostgresQueryBuilder)
/// .as_str(),
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// format(
/// r#"
Expand All @@ -319,7 +319,7 @@ pub fn fuzzy(text: impl Into<String>) -> Keyword {
/// AND "deleted_at" IS NULL
/// "#,
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// );
/// ```
Expand Down Expand Up @@ -369,7 +369,7 @@ pub fn fuzzy(text: impl Into<String>) -> Keyword {
/// .to_string()
/// .as_str(),
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// format(
/// r#"
Expand All @@ -396,7 +396,7 @@ pub fn fuzzy(text: impl Into<String>) -> Keyword {
/// AND "books"."deleted_at" IS NULL
/// "#,
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// );
/// ```
Expand Down Expand Up @@ -450,7 +450,7 @@ pub fn fuzzy_separated(text: impl Into<String>) -> Keywords {
/// .to_string(PostgresQueryBuilder)
/// .as_str(),
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// format(
/// r#"
Expand All @@ -472,7 +472,7 @@ pub fn fuzzy_separated(text: impl Into<String>) -> Keywords {
/// AND "deleted_at" IS NULL
/// "#,
/// &QueryParams::default(),
/// FormatOptions::default(),
/// &FormatOptions::default(),
/// ),
/// );
/// ```
Expand Down

0 comments on commit f650eee

Please sign in to comment.