chore(deps): update dependency robotframework-databaselibrary to v2 #20

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/robotframework-databaselibrary-2.x into master 2024-10-01 12:09:10 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-10-01 11:07:05 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Update Change
robotframework-databaselibrary major ==1.4.4 -> ==2.0.0

Release Notes

MarketSquare/Robotframework-Database-Library (robotframework-databaselibrary)

v2.0.0

Compare Source

Database Library 2.0.0 is a new major release, bringing new keywords with inline assertions using Assertion Engine (#​208) and retry mechanism (#​209), logging query results in table format (#​147), support for custom connection parameters (#​220) and other improvements.

This version also contains renamed keyword parameters and deprecations of keywords and requires Python 3.8 or newer and Robot Framework 5.0.1 or newer.

New features and improvements

  • New keywords Check Row Count and Check Query Result with assertion engine and retry mechanism. #​208 #​209
  • Query results are now automatically printed in table format in RF log. This behaviour can be adjusted or disabled. See docs for details. #​147
  • Handling of connection parameters in keyword Connect To Database was deeply refactored. There is only one mandatory parameter left - db_module, all other parameters are optional now. Plus any custom parameters are supported now - both provided as keyword arguments or in config file. See details in keyword docs. #​220
  • Other logging in keywords was cleaned and improved.
  • Keyword parameters were renamed according to Python PEP8 - snake_case instead of formerly used camelCase. See more details below in the deprecations section.
  • Support for OUT params when calling a stored procedure in MSSQL, which doesn't return any result sets - implemented via new keyword argument additional_output_params. See extended docs of the Call Stored Procedure keyword. #​219
  • The documentation of all keywords and the entire library was deeply cleaned, consolidated and improved.

Backwards incompatibilities and deprecations

  • This version requires Python 3.8 or newer and Robot Framework 5.0.1 or newer.
  • Keyword parameters were renamed according to Python PEP8 - snake_case instead of formerly used camelCase. Moreover, some parameter names were changed to shorter or more precise versions. The old parameter names are still supported, but deprecated - the library logs a warning in case of their usage. The deprecated old-named parameters will be removed in future versions. #​188
  • Introducing new keywords Check Row Count and Check Query Result with inline assertions allows to deprecate some redundant keywords. They will be removed in future versions.
  • Support of custom parameters in the Connect To Database keyword allows to deprecate the Connect To Database Using Custom Params keyword - it's redundant now. The deprecated keyword will be removed in future versions.
  • During refactoring of connection parameters, some hardcoded fallback values were removed. These values can be still set, if required, with new support of any custom parameters in the Connect To Database keyword.
    • Stop using localhost as fallback value for DB host
    • Stop using {SQL Server} as fallback value for pyodbc driver
    • Stop using TCPIP as fallback valued for ibm_db protocol

Full Changelog: https://github.com/MarketSquare/Robotframework-Database-Library/compare/v1.4.4...v2.0.0


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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Update | Change | |---|---|---| | [robotframework-databaselibrary](https://github.com/MarketSquare/Robotframework-Database-Library) | major | `==1.4.4` -> `==2.0.0` | --- ### Release Notes <details> <summary>MarketSquare/Robotframework-Database-Library (robotframework-databaselibrary)</summary> ### [`v2.0.0`](https://github.com/MarketSquare/Robotframework-Database-Library/releases/tag/v2.0.0) [Compare Source](https://github.com/MarketSquare/Robotframework-Database-Library/compare/v1.4.4...v2.0.0) Database Library 2.0.0 is a new major release, bringing new keywords with inline assertions using Assertion Engine ([#&#8203;208](https://github.com/MarketSquare/Robotframework-Database-Library/issues/208)) and retry mechanism ([#&#8203;209](https://github.com/MarketSquare/Robotframework-Database-Library/issues/209)), logging query results in table format ([#&#8203;147](https://github.com/MarketSquare/Robotframework-Database-Library/issues/147)), support for custom connection parameters ([#&#8203;220](https://github.com/MarketSquare/Robotframework-Database-Library/issues/220)) and other improvements. This version also contains **renamed keyword parameters** and **deprecations of keywords** and requires Python 3.8 or newer and Robot Framework 5.0.1 or newer. #### New features and improvements - New keywords [Check Row Count](https://marketsquare.github.io/Robotframework-Database-Library/#Check%20Row%20Count) and [Check Query Result](https://marketsquare.github.io/Robotframework-Database-Library/#Check%20Query%20Result) with assertion engine and retry mechanism. [#&#8203;208](https://github.com/MarketSquare/Robotframework-Database-Library/issues/208) [#&#8203;209](https://github.com/MarketSquare/Robotframework-Database-Library/issues/209) - Query results are now automatically printed in table format in RF log. This behaviour can be adjusted or disabled. See [docs](https://marketsquare.github.io/Robotframework-Database-Library/#Logging%20query%20results) for details. [#&#8203;147](https://github.com/MarketSquare/Robotframework-Database-Library/issues/147) - Handling of connection parameters in keyword [Connect To Database](https://marketsquare.github.io/Robotframework-Database-Library/#Connect%20To%20Database) was deeply refactored. There is only one mandatory parameter left - `db_module`, all other parameters are optional now. Plus any custom parameters are supported now - both provided as keyword arguments or in config file. See details in keyword docs. [#&#8203;220](https://github.com/MarketSquare/Robotframework-Database-Library/issues/220) - Other logging in keywords was cleaned and improved. - **Keyword parameters were renamed** according to Python PEP8 - `snake_case` instead of formerly used `camelCase`. See more details below in the *deprecations* section. - Support for OUT params when calling a stored procedure in MSSQL, which doesn't return any result sets - implemented via new keyword argument `additional_output_params`. See extended docs of the [Call Stored Procedure](https://marketsquare.github.io/Robotframework-Database-Library/#Call%20Stored%20Procedure) keyword. [#&#8203;219](https://github.com/MarketSquare/Robotframework-Database-Library/issues/219) - The documentation of all keywords and the entire library was deeply cleaned, consolidated and improved. #### Backwards incompatibilities and deprecations - This version requires Python 3.8 or newer and Robot Framework 5.0.1 or newer. - **Keyword parameters were renamed** according to Python PEP8 - `snake_case` instead of formerly used `camelCase`. Moreover, some parameter names were changed to shorter or more precise versions. The old parameter names are still supported, but deprecated - the library logs a warning in case of their usage. The deprecated old-named parameters will be removed in future versions. [#&#8203;188](https://github.com/MarketSquare/Robotframework-Database-Library/issues/188) - Introducing new keywords [Check Row Count](https://marketsquare.github.io/Robotframework-Database-Library/#Check%20Row%20Count) and [Check Query Result](https://marketsquare.github.io/Robotframework-Database-Library/#Check%20Query%20Result) with inline assertions allows to **deprecate some redundant keywords**. They will be removed in future versions. - [Check If Exists In Database](https://marketsquare.github.io/Robotframework-Database-Library/#Check%20If%20Exists%20In%20Database) - [Check If Not Exists In Database](https://marketsquare.github.io/Robotframework-Database-Library/#Check%20If%20Not%20Exists%20In%20Database) - [Row Count Is 0](https://marketsquare.github.io/Robotframework-Database-Library/#Row%20Count%20Is%200) - [Row Count Is Equal To X](https://marketsquare.github.io/Robotframework-Database-Library/#Row%20Count%20Is%20Equal%20To%20X) - [Row Count Is Greater Than X](https://marketsquare.github.io/Robotframework-Database-Library/#Row%20Count%20Is%20Greater%20Than%20X) - [Row Count Is Less Than X](https://marketsquare.github.io/Robotframework-Database-Library/#Row%20Count%20Is%20Less%20Than%20X) - Support of custom parameters in the [Connect To Database](https://marketsquare.github.io/Robotframework-Database-Library/#Connect%20To%20Database) keyword allows to deprecate the [Connect To Database Using Custom Params](https://marketsquare.github.io/Robotframework-Database-Library/#Connect%20To%20Database%20Using%20Custom%20Params) keyword - it's redundant now. The deprecated keyword will be removed in future versions. - During refactoring of connection parameters, some hardcoded fallback values were removed. These values can be still set, if required, with new support of any custom parameters in the [Connect To Database](https://marketsquare.github.io/Robotframework-Database-Library/#Connect%20To%20Database) keyword. - Stop using `localhost` as fallback value for *DB host* - Stop using `{SQL Server}` as fallback value for *pyodbc driver* - Stop using `TCPIP` as fallback valued for *ibm_db protocol* *** **Full Changelog**: https://github.com/MarketSquare/Robotframework-Database-Library/compare/v1.4.4...v2.0.0 </details> --- ### 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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMDUuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEwNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-10-01 11:07:07 +00:00 (Migrated from gitlab.com)

mentioned in issue #3

mentioned in issue #3
argoyle (Migrated from gitlab.com) merged commit into master 2024-10-01 12:09:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/robotframework#20