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

Release 4.14.0 #709

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions docs/releasenotes/4.14.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
:orphan:

==============
Robotidy 4.14.0
==============

You can install the latest available version by running

::

pip install --upgrade robotframework-tidy

or to install exactly this version

::

pip install robotframework-tidy==4.14.0

.. contents::
:depth: 2
:local:

Transformers changes
====================

Ignore comments in IndentNestedKeywords transformer (#702)
----------------------------------------------------------

``IndentNestedKeywords`` moves comments before transformation. This is required in order to properly format different
types of the source code (especially when expanding single line to multiple lines). However as side affect
``IndentNestedKeywords`` moved the comments even if the code didn't require formatting::

*** Test Cases ***
Keyword with commented out single line
Run Keywords
... No Operation
# ... No Operation
... No Operation

In such case the code is already formatted and does not require moving the comments. After this release such
comments will be left alone in a case where the code is already formatted.

Use variable_separator when converting variable from camelCase in RenameVariables (#705)
----------------------------------------------------------------------------------------

Previously ``variable_separator`` configuration was not respected when converting variable names from camelCase to
snake_case. In result variable names were converted with spaces as the separator::

# from
${camelCase}
# to
${camel case}

Now the setting will be taken into account.
19 changes: 8 additions & 11 deletions docs/releasenotes/unreleased/template.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
==============
Robotidy {{ version }}
==============

{{ summary }}

You can install the latest available version by running

::
Expand All @@ -21,22 +19,21 @@ or to install exactly this version
.. contents::
:depth: 2
:local:

{% if transformers|length > 0 %}
Transformers changes
====================

{% for note in transformers %}{{ note }}{% endfor %}
{% endif -%}
{% if fixes|length > 0 %}
{% for note in transformers %}{{ note }}
{% endfor %}
{% endif -%}{% if fixes|length > 0 %}
Fixes
=====

{% for note in fixes %}{{ note }}{% endfor %}
{% endif -%}
{% if other|length > 0 %}

{% for note in fixes %}{{ note }}
{% endfor %}
{% endif -%}{% if other|length > 0 %}
Other features
==============
{% for note in other %}{{ note }}{% endfor %}
{% for note in other %}{{ note }}
{% endfor %}
{% endif -%}
16 changes: 0 additions & 16 deletions docs/releasenotes/unreleased/transformers.1.rst

This file was deleted.

12 changes: 0 additions & 12 deletions docs/releasenotes/unreleased/transformers.2.rst

This file was deleted.

2 changes: 1 addition & 1 deletion robotidy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.13.0"
__version__ = "4.14.0"
Loading