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.50 #116

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 10, 2025

This PR contains the following updates:

Package Type Update Change
rbatis (source) dependencies patch 4.5.29 -> 4.5.50

Release Notes

rbatis/rbatis (rbatis)

v4.5.50

Compare Source

what changes?

  • fix intercept some bugs

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]

v4.5.33

Compare Source

what changes?

  • IPage trait break change rename method get_records() to records(), get_records_mut() to records_mut()
  • IPage trait add method records_take(),set_records() methods
  • remove unused dead mod

v4.5.32

Compare Source

what changes?

  • fix RBatisConnExecutor call begin not create new tx_id

v4.5.31

Compare Source

what changes?

  • change PGTableMapper "DateTime" to "TIMESTAMPTZ" type
  • update creates rbdc-pg version

v4.5.30

Compare Source

what changes?

  • Rewrite the snowflake algorithm and fix duplicate IDs

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.

Copy link
Contributor Author

renovate bot commented Jan 10, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: common/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path common/Cargo.toml --package [email protected] --precise 4.5.50
error: package ID specification `[email protected]` did not match any packages
Did you mean one of these?

  [email protected]

@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
@renovate renovate bot changed the title fix(deps): update rust crate rbatis to v4.5.49 fix(deps): update rust crate rbatis to v4.5.50 Feb 3, 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