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

Upgrade to Robot Framework 6 #950

Merged
merged 18 commits into from
Aug 24, 2023
Merged

Upgrade to Robot Framework 6 #950

merged 18 commits into from
Aug 24, 2023

Conversation

mikahanninen
Copy link
Member

@mikahanninen mikahanninen commented May 9, 2023

packages requiring upgrade before rpaframework can be upgraded

  • robotframework-docgen [repo] == release 0.16.0
  • rpaframework-pdf
  • rpaframework-windows

main upgrade

  • rpaframework

other package upgrades

  • rpaframework-assistant
  • rpaframework-aws
  • rpaframework-google
  • rpaframework-openai (due to the robotframework-docgen)
  • rpaframework-dialogs (MAYBE NOT, deprecated)

NO package upgrade needed

  • rpaframework-recognition

IMPROVEMENTS

  • RF 6.0 "Enhancements to automatic argument conversion"
    • Argument types have better automatic conversion and validation
  • RF 6.0 "start/end_keyword listener methods get more information about control structures"
    • Possible to create better listeners
  • RF 6.1 "Possibility to flatten keyword structures during execution"
    • Possible to flatten keywords using keyword tag "robot:flatten"
  • RF 6.1 "JSON variable file support"
    • Possible to create variables from JSON file (YAML support has existed already), for example. "Variables example.json"
  • RF 6.1 "WHILE loop enhancements"
    • Adds optional "on_limit" which can be given what to do when limit is reached (instead of current default FAIL)
    • Loop condition is optional
    • Adds optional "on_limit_message"
  • RF 6.1 "New pseudo log level CONSOLE"
    • Effectively logs a message as INFO level and also to the console

CHANGES TO PREVIOUS BEHAVIOUR (deprecations/breaking changes)

  • RF 6.0 "Enhancements to keyword namespaces"
    • Keyword with the same name earlier caused conflict if keyword exist in another resource file. Now the keyword will be used.
  • RF 6.0 "Enhancements for setting keyword and test tags"
    • "Force Tags" --> "Task Tags", "Default Tags" --> "Tags"
  • RF 6.0 "WITH NAME in favor of AS when giving alias to imported library"
    • Library import aliases new token is "AS"
  • RF 6.1 "Changes to output.xml"
  • RF 6.1 "Python 3.7 support"

@mikahanninen mikahanninen added dependency PR: Update a dependency file enhancement Improve an existing feature breaking Breaking change (bump major version) labels May 9, 2023
@mikahanninen mikahanninen self-assigned this May 9, 2023
@@ -39,7 +39,7 @@ rpaframework-core = "^11.0.1"
rpaframework-pdf = "^7.1.5"
rpaframework-windows = { version = "^7.3.2", platform = "win32" }
jsonpath-ng = "^1.5.2"
robotframework = ">=4.0.0,!=4.0.1,<6.0.0"
robotframework = ">=4.0.0,!=4.0.1,<7.0.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey... just jumping in after the meeting. 😊
If we'd like to avoid 6.1.0 should these clauses be more restrictive?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I will add 6.1.0 exclusion.

@cmin764 cmin764 linked an issue Jul 11, 2023 that may be closed by this pull request
@cmin764 cmin764 mentioned this pull request Jul 11, 2023
@mikahanninen mikahanninen marked this pull request as ready for review August 24, 2023 09:16
@mikahanninen mikahanninen merged commit 8e2cb18 into master Aug 24, 2023
72 of 82 checks passed
@mikahanninen mikahanninen deleted the upgrade/robot-framework-6 branch August 24, 2023 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change (bump major version) dependency PR: Update a dependency file enhancement Improve an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support Robot6
2 participants