|
| 1 | +========================= |
| 2 | +Python Library Core 2.1.0 |
| 3 | +========================= |
| 4 | + |
| 5 | + |
| 6 | +.. default-role:: code |
| 7 | + |
| 8 | + |
| 9 | +RELEASE NOTES TEMPLATE TODO |
| 10 | + |
| 11 | +`Python Library Core`_ is a generic component making it easier to create |
| 12 | +bigger `Robot Framework`_ test libraries. Python Library Core 2.1.0 is |
| 13 | +a new release with with Enum conversion and not providing type hints |
| 14 | +for bool and None default values. |
| 15 | + |
| 16 | +All issues targeted for Python Library Core v2.1.0 can be found |
| 17 | +from the `issue tracker`_. |
| 18 | + |
| 19 | +If you have pip_ installed, just run |
| 20 | + |
| 21 | +:: |
| 22 | + |
| 23 | + pip install --upgrade robotframework-robotlibcore |
| 24 | + |
| 25 | +to install the latest available release or use |
| 26 | + |
| 27 | +:: |
| 28 | + |
| 29 | + pip install robotframework-robotlibcore==2.1.0 |
| 30 | + |
| 31 | +to install exactly this version. Alternatively you can download the source |
| 32 | +distribution from PyPI_ and install it manually. |
| 33 | + |
| 34 | +PythonLibCore 2.1.0 was released on Thursday July 9, 2020. PythonLibCore |
| 35 | +supports Python 2.7 and 3.6+ and Robot Framework 3.1.2+. This is last release |
| 36 | +which contains new development for Python 2.7 and users should migrate to Python 3. |
| 37 | + |
| 38 | +.. _PythonLibCore: https://github.com/robotframework/PythonLibCore |
| 39 | +.. _Robot Framework: http://robotframework.org |
| 40 | +.. _pip: http://pip-installer.org |
| 41 | +.. _PyPI: https://pypi.python.org/pypi/robotframework-robotlibcore |
| 42 | +.. _issue tracker: https://github.com/robotframework/PythonLibCore/issues?q=milestone%3Av2.1.0 |
| 43 | + |
| 44 | + |
| 45 | +.. contents:: |
| 46 | + :depth: 2 |
| 47 | + :local: |
| 48 | + |
| 49 | +Most important enhancements |
| 50 | +=========================== |
| 51 | +Fix typing hints for None and bool types (`#60`_) |
| 52 | +------------------------------------------------- |
| 53 | +PythonLibCore does not anymore provide type hints for bool and None default values in |
| 54 | +keyword arguments. |
| 55 | + |
| 56 | +Remove static core (`#62`_) |
| 57 | +--------------------------- |
| 58 | +Static core is removed. |
| 59 | + |
| 60 | +param:Optional[x] = None type hint behaves differently than Robot Framework (`#64`_) |
| 61 | +____________________________________________________________________________________ |
| 62 | +This offers better Enum conversion and better typing hints in libdoc for |
| 63 | +"Optional[x] = None". |
| 64 | + |
| 65 | +Full list of fixes and enhancements |
| 66 | +=================================== |
| 67 | + |
| 68 | +.. list-table:: |
| 69 | + :header-rows: 1 |
| 70 | + |
| 71 | + * - ID |
| 72 | + - Type |
| 73 | + - Priority |
| 74 | + - Summary |
| 75 | + * - `#60`_ |
| 76 | + - enhancement |
| 77 | + - critical |
| 78 | + - Fix typing hints for None and bool types |
| 79 | + * - `#62`_ |
| 80 | + - enhancement |
| 81 | + - high |
| 82 | + - Remove static core |
| 83 | + * - `#64`_ |
| 84 | + - enhancement |
| 85 | + - high |
| 86 | + - param:Optional[x] = None type hint behaves differently than Robot Framework |
| 87 | + |
| 88 | +Altogether 3 issues. View on the `issue tracker <https://github.com/robotframework/PythonLibCore/issues?q=milestone%3Av2.1.0>`__. |
| 89 | + |
| 90 | +.. _#60: https://github.com/robotframework/PythonLibCore/issues/60 |
| 91 | +.. _#62: https://github.com/robotframework/PythonLibCore/issues/62 |
| 92 | +.. _#64: https://github.com/robotframework/PythonLibCore/issues/64 |
0 commit comments