Skip to content

Commit

Permalink
Release 4.14.0 (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhirsz authored Aug 22, 2024
1 parent 487d348 commit 972edd7
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 40 deletions.
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"

0 comments on commit 972edd7

Please sign in to comment.