diff --git a/VERSION b/VERSION index 03c5238..3eefcb9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.4-rc0 +1.0.0 diff --git a/docs/release-notes-1.0.0.rst b/docs/release-notes-1.0.0.rst new file mode 100644 index 0000000..136222d --- /dev/null +++ b/docs/release-notes-1.0.0.rst @@ -0,0 +1,64 @@ +Release 1.0.0 +------------- + +2023-06-06 + +- This is a Python3 (3.7 onwards) release only (Python2 is no longer supported) +- Arista EOS 4.22 or later required + +New Modules +^^^^^^^^^^^ + +Enhancements +^^^^^^^^^^^^ + +Fixed +^^^^^ + +* Let ``config`` method to raise ``ConnectionError`` exception (`198 `_) + The fix ensures that the behavior is consistent with other methods. +* Fixed parsing of VLAN groupings by ``vlans.getall()`` (`200 `_) + The fix allows handling a case when multiple VLANs in the configs may be grouped under a common (group) name. +* Enhanced ``vlans.get()`` to return an actual list of VLANs (`202 `_) + The method used to return the argument itself (e.g., an RE: ``200-.*``), now the actual list of matched VLANs is returned +* Fixed a corner crash in ``portsVlans.getall()`` (`213 `_) + The crash may occur when the switchport is configured with a VLAN profile +* Improved ``switchports.getall()`` behavior (`216 `_) + The method will not consider subinterfaces anymore +* Improved JSON parsing speed (`166 `_) + User may improve the speed by using ``ujson`` or ``rapidjson`` modules. The standard ``json`` is used as a fallback. +* Allow user to specify an SSL context (`234 `_) + Provided the argument option ``context`` to specify an SSL context in ``connection()`` method. +* Fixed user password vulnerability in tracebacks (`238 `_) + A user password is exposed in a traceback, which could occur due to invalid credentials. +* Added support for login password exclusively for ssh-key authentication (`227 `_) + Catching up with EOS CLI which already supports such login password. +* Fixed user password vulnerability in debugs (`242 `_) + A user password was exposed in user enabled debugs. With this commit the user password is masked out now. +* Added option not to include config defaults (`221 `_) + Reading running-config or startup-config with default values is not always a desirable behavior. This commit adds an option to control such behavior. +* Fixed a corner crash in ``ipinterfaces`` module (`210 `_) + Fixed a crash when MTU value is not present in the interface configuration (this is rather a corner case condition). +* Fixed a bug where vxlan floodlist might return a bogus data (`193 `_) + Fixed the issue with ``interfaces`` module, where ``get()`` method returned vxlan data structure with ``flood_list`` parsed incorrectly. +* Improved performance of config parsing (`220 `_) + Drastically improved perfromance of config parsing by cacheing section splitting results. This fix also tightens the prior relaxed section match behavior by allowing matching only section line (as vs entire section's content) +* Enhanced PR (`220 `_) allowing to match sub-sections (`245 `_) + After PR #220, matching subsections was impossible (only entire section could have been matched). This enhancement brings back such functionality. +* Added support for a session based authentication (`203 `_) + Added a couple new transport options (``http_session`` and ``https_session``) to ``connect()`` method to support a session based authentication. +* Added support infrastructure to handle deprecated EOS CLI (`247 `_) + The added ``CliVariants`` class helps managing transitions from deprecated EOS CLI (by allowing specifying both, new and deprecated CLI variants). +* Added support for parsing secondary ip addresses (`251 `_) + The added fix extends the return result for ``get()`` method of ``ipinterfaces`` module with the parsed secondary ip addresses (if present). +* A minor fix to include internal exception handling (`252 `_) + With this fix the ``pyeapi.eapilib.CommandError`` exception will elaborate on the causes of internal errors. +* Enhance parsing of BGP router section with ``asdot`` notation (`256 `_) + Allow matching and parsing ``router bgp`` sections if spelled with ``asdot`` notation. +* removed and updated deprecations (`204 `_, `212 `_, `235 `_, `260 `_, `262 `_, `263 `_) +* documentation fixes and updates (`209 `_, `225 `_, `239 `_, `257 `_, `259 `_) + +Known Caveats +^^^^^^^^^^^^^ + + diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 84d6746..f70f0aa 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -6,6 +6,9 @@ Release Notes :maxdepth: 2 :titlesonly: + release-notes-1.0.0.rst + release-notes-0.8.4.rst + release-notes-0.8.3.rst release-notes-0.8.2.rst release-notes-0.8.1.rst release-notes-0.8.0.rst diff --git a/pyeapi/__init__.py b/pyeapi/__init__.py index 2903cb6..0f86b58 100644 --- a/pyeapi/__init__.py +++ b/pyeapi/__init__.py @@ -29,7 +29,7 @@ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -__version__ = '0.8.4' +__version__ = '1.0.0' __author__ = 'Arista EOS+'