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(deps): update rust crate rbatis to v4.5.49 #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 11, 2025

This PR contains the following updates:

Package Type Update Change
rbatis (source) dependencies patch =4.5.33 -> =4.5.49

Release Notes

rbatis/rbatis (rbatis)

v4.5.49

Compare Source

what changes?

  • fix select_in_column,delete_in_column run sql fail of array is empty

v4.5.48

Compare Source

what changes?

  • crud! add select_by_map
  • crud!add update_by_map
  • crud! add delete_by_map

for example:

let rb = RBatis::new();
rb.init(rbdc_sqlite::driver::SqliteDriver {}, "sqlite://target/sqlite.db").unwrap();
let data = Activity::select_by_map(&rb, to_value!{
        "id":"2",
        "name":"2",
}).await;

v4.5.47

Compare Source

what changes?

  • MysqlTableMapper use Varchar(100) replace TEXT

v4.5.46

what changes?

  • RBatisTxExecutorGuard support Clone
  • MysqlTableMapper and PGTableMapper id column use VARCHAR(50)

v4.5.44

Compare Source

what changes?

  • RBatisTxExecutor allow Clone
  • break change: tx.defer_async method change if tx.done{ } to tx.done(){ }
   async fn test_tx(tx:RBatisTxExecutor) -> Result<(),Error>{
            tx.defer_async(|tx| async move {
                if !tx.done(){ let _ = tx.rollback().await; }
          });
       Ok(())
   }

v4.5.43

Compare Source

what changes?

  • break change: tx.defer_async method change if tx.done{ } to tx.done(){ }
   async fn test_tx(tx:RBatisTxExecutor) -> Result<(),Error>{
            tx.defer_async(|tx| async move {
                if !tx.done(){ let _ = tx.rollback().await; }
          });
       Ok(())
   }

v4.5.42

Compare Source

what changes?

  • fix #​556 PageIntercept Only handle lowercase and query statements starting with 'select'

v4.5.41

Compare Source

what changes?

  • add PageIntercept to Processing pagination requests.
  • if you call rb.set_intercepts(vec![...]) do not forget add PageIntercept first!

v4.5.40

Compare Source

what changes?

  • Executor add id() method
  • default log use Debug Level
  • htmlsql_select_page! and pysql_select_page! will be auto generate count sql, so You just need to write one query statement.
    for example
#[derive(serde::Serialize, serde::Deserialize)]
pub struct MockTable{}
htmlsql_select_page!(select_page_data(name: &str) -> MockTable => 
r#"
 <select id="select_page_data">
  `select * from table  where id > 1  limit ${page_no},${page_size} `
</select>
"#);
#[derive(serde::Serialize, serde::Deserialize)]
pub struct MockTable{}
pysql_select_page!(pysql_select_page(name:&str) -> MockTable =>
    r#"`select * from activity where delete_flag = 0`
        if name != '':
           ` and name=#{name}`
      ` limit ${page_no},${page_size}`
"#);

v4.5.39

Compare Source

what changes?

  • fix some crud! macro intellisense

v4.5.37

Compare Source

what changes?

  • fix htmlsql load file Intelligent prompt failure

v4.5.36

what changes?

  • add Task ID Generator

v4.5.34

Compare Source

What Changes?

  • rename ColumMapper to ColumnMapper
  • fix table_sync plugin maybe set id column type to "id"
  • table_sync plugin rename ColumnMapper method fn get_column to fn get_column_type
  • edit log [rbatis] to [rb]

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/rbatis-4.x branch from aab0d52 to 4cf408d Compare January 12, 2025 09:36
@renovate renovate bot changed the title fix(deps): update rust crate rbatis to v4.5.48 fix(deps): update rust crate rbatis to v4.5.49 Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants