From c9b308794921b751cd2bde845c6c10ad4adf5f6c Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 13 Jul 2020 02:21:43 -0700 Subject: [PATCH] bump version to 1.0.0-beta.50 --- CHANGELOG.md | 16 ++++++++++++++++ hyperglass/constants.py | 2 +- pyproject.toml | 15 ++++++++------- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f6dd52..347fd3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 1.0.0-beta50 - 2020-07-12 +### Fixed +- [#54](https://github.com/checktheroads/hyperglass/issues/54): A Junos structured/table output parsing error caused routes with multiple next-hops to raise an error. +- RPKI validation no longer occurs twice (once on serialization of the output, once on validation of the API response). + +### Changed +- Improved cache type conversion when reading cached data. +- External data via [bgp.tools](https://bgp.tools) is now gathered via their bulk mode API. +- External data via [bgp.tools](https://bgp.tools) is now cached via Redis to reduce external traffic and improve performance. +- RPKI validation via [Cloudflare](https://rpki.cloudflare.com/) is now cached via Redis to reduce external traffic and improve performance. +- Update Python dependencies. + +### Added +- Synchronous API for Redis caching. +- New `redis-py` dependency for synchronous Redis communication. + ## 1.0.0-beta49 - 2020-07-05 ### Fixed - Route lookups for private (RFC 1918) addresses failed due to an unnecessary lookup to [bgp.tools](https://bgp.tools) diff --git a/hyperglass/constants.py b/hyperglass/constants.py index 3b28a81..4a2bb66 100644 --- a/hyperglass/constants.py +++ b/hyperglass/constants.py @@ -4,7 +4,7 @@ from datetime import datetime __name__ = "hyperglass" -__version__ = "1.0.0-beta.49" +__version__ = "1.0.0-beta.50" __author__ = "Matt Love" __copyright__ = f"Copyright {datetime.now().year} Matthew Love" __license__ = "BSD 3-Clause Clear License" diff --git a/pyproject.toml b/pyproject.toml index 37ff1b1..2b2534f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "hyperglass" -version = "1.0.0-beta.49" +version = "1.0.0-beta.50" description = "hyperglass is the modern network looking glass that tries to make the internet better." authors = ["Matt Love "] readme = "README.md" @@ -21,27 +21,28 @@ aiofiles = "^0.4.0" aredis = "^1.1.7" brotlipy = "^0.7.0" click = "^7.0" -fastapi = "^0.47" +distro = "^1.5.0" +fastapi = "^0.59" +gunicorn = "^20.0.4" httpx = "^0.11" +inquirer = "^2.6.3" loguru = "^0.4.0" netmiko = "^2.4.2" +paramiko = "^2.7.1" Pillow = "^7.0.0" pydantic = "^1.4" PyJWT = "^1.7.1" python = "^3.6.1" PyYAML = "^5.3" +redis = "^3.5.3" uvicorn = "^0.11" uvloop = "^0.14.0" -inquirer = "^2.6.3" -paramiko = "^2.7.1" -gunicorn = "^20.0.4" xmltodict = "^0.12.0" -distro = "^1.5.0" [tool.poetry.dev-dependencies] bandit = "^1.6.2" black = "^19.10b0" -flake8 = "^3.7.9" +flake8 = "^3.8" flake8-bandit = "^2.1.2" flake8-black = "^0.1.1" flake8-breakpoint = "^1.1.0"