Skip to content

Latest commit

 

History

History
1156 lines (621 loc) · 53.6 KB

CHANGELOG.md

File metadata and controls

1156 lines (621 loc) · 53.6 KB

CHANGELOG

v0.19.3 (2023-12-11)

Ci

  • ci: fix docker image p3.12 issue (#32)

  • ci: pin docker py version due to napalm py3.12 issue

  • ci: remove unnecessary dependency (737be8a)

Fix

  • fix: update poetry (#33) (ac53ded)

v0.19.2 (2023-12-11)

Fix

  • fix: Allow pydantic2 versions and version fix (#31)

  • fix: allow newer pydantic versions

  • chore: update gitignore

  • ci: version bump fix (dfb2fd4)

v0.19.1 (2023-11-21)

Fix

  • fix: broken release due to missing dependency (#29)

  • fix: semantic release variable bumping

  • chore: update dependencies

  • feat: run validation checks on hosts using pytest

  • test: add test for api get hosts

  • fix: disable pytest warnings on checks

  • test: show test output when assert fails

  • fix: checks list order

  • fix: broken release due to missing dependency


Co-authored-by: Adam Kirchberger <[email protected]> (45f381f)

v0.19.0 (2023-11-21)

Feature

  • feat: add checks feature (#28)

  • fix: semantic release variable bumping

  • chore: update dependencies

  • feat: run validation checks on hosts using pytest

  • test: add test for api get hosts

  • fix: disable pytest warnings on checks

  • test: show test output when assert fails

  • fix: checks list order


Co-authored-by: Adam Kirchberger <[email protected]> (3389c6c)

v0.18.3 (2023-11-14)

Fix

  • fix: cli total diff to count created diff files (#27)

  • fix: cli total diff to count created diff files

  • fix: remove blank homepage (af82f86)

v0.18.2 (2023-10-30)

Fix

  • fix: use pydantic v1 settings when v2 installed (#26) (7c16bc1)

v0.18.1 (2023-10-30)

Fix

  • fix(deps): bump cryptography from 41.0.3 to 41.0.4 (#20)

Bumps cryptography from 41.0.3 to 41.0.4.


updated-dependencies:

  • dependency-name: cryptography dependency-type: indirect ...

Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Kirchberger <[email protected]> (8c6d0b6)

v0.18.0 (2023-10-30)

Feature

  • feat: discovered hosts returned as dict (#25)

  • feat: discovered hosts returned as dict (62ef067)

v0.17.1 (2023-10-24)

Fix

  • fix: configs get command not fetching backups (#24) (eee07fc)

v0.17.0 (2023-10-24)

Feature

  • feat: add external api and ssh key argument (#23)

  • feat: add nectl api to allow integration into other tools

  • fix: add ssh private key argument

  • refactor: types and docstrings

  • chore: remove eol python3.7 and update lock deps

  • fix: dpath and pydantic new version changes (1107ac4)

v0.16.3 (2023-08-26)

Chore

  • chore(deps): bump requests from 2.28.1 to 2.31.0 (#16)

Bumps requests from 2.28.1 to 2.31.0.


updated-dependencies:

  • dependency-name: requests dependency-type: indirect ...

Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Kirchberger <[email protected]> (43a3f13)

Fix

  • fix(deps): bump cryptography from 37.0.2 to 41.0.3 (#17)

Bumps cryptography from 37.0.2 to 41.0.3.


updated-dependencies:

  • dependency-name: cryptography dependency-type: indirect ...

Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Kirchberger <[email protected]> (e053c23)

v0.16.2 (2023-08-26)

Chore

  • chore(deps): bump certifi from 2022.12.7 to 2023.7.22

Bumps certifi from 2022.12.7 to 2023.7.22.


updated-dependencies:

  • dependency-name: certifi dependency-type: indirect ...

Signed-off-by: dependabot[bot] <[email protected]> (276c638)

  • chore(deps): bump certifi from 2022.6.15 to 2022.12.7

Bumps certifi from 2022.6.15 to 2022.12.7.


updated-dependencies:

  • dependency-name: certifi dependency-type: indirect ...

Signed-off-by: dependabot[bot] <[email protected]> (63a44de)

Ci

Documentation

  • docs: correct kit config file name (fd8345a)

  • docs: add mention of napalm driver (42a5deb)

Fix

  • fix(deps): bump future from 0.18.2 to 0.18.3 (#18)

Bumps future from 0.18.2 to 0.18.3.


updated-dependencies:

  • dependency-name: future dependency-type: indirect ...

Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Kirchberger <[email protected]> (8d92db3)

v0.16.1 (2022-10-18)

Chore

  • chore(deps): bump lxml from 4.9.0 to 4.9.1 (#7)

Bumps lxml from 4.9.0 to 4.9.1.


updated-dependencies:

  • dependency-name: lxml dependency-type: direct:production ...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (ab6db69)

Ci

  • ci: fix wheel package build (37b7c40)

Documentation

  • docs: fix broken link to example kit (7214df8)

Fix

  • fix: configs file extension setting not being used (3c83c0a)

Unknown

  • 0.16.1

Automatically generated by python-semantic-release (aa1c644)

v0.16.0 (2022-07-17)

Feature

  • feat: Add napalm driver integration (#8)

  • feat: add format and sanitize options for active config

  • feat: add napalm driver

  • refactor: replace junos driver with napalm driver

  • feat: add driver support for arista eos using napalm

  • feat: add option to use default driver

  • refactor: trim log line to fit line length

Co-authored-by: Adam Kirchberger <[email protected]> (792ca97)

Unknown

  • 0.16.0

Automatically generated by python-semantic-release (ef4d82b)

v0.15.6 (2022-06-20)

Documentation

  • docs: add contact form (#5)

Co-authored-by: Adam Kirchberger <[email protected]> (949af88)

Fix

  • fix: custom types being ignored if not in list or dict (#6)

  • fix: custom types being ignored if not in list or dict

  • fix: update dependencies

Co-authored-by: Adam Kirchberger <[email protected]> (9f72e9c)

Unknown

  • 0.15.6

Automatically generated by python-semantic-release (f23ea22)

v0.15.5 (2022-05-01)

Documentation

  • docs: fix bad character (36f2370)

  • docs: fix changelog (#3)

  • docs: add next version placeholder

  • docs: replace commit links

  • docs: reformat changelog

  • docs: fix link to changelog

  • docs: add missing changes

Co-authored-by: Adam Kirchberger <[email protected]> (5cab1be)

Fix

  • fix: update dependencies (#4)

Co-authored-by: Adam Kirchberger <[email protected]> (320583d)

Unknown

  • 0.15.5

Automatically generated by python-semantic-release (4146f0a)

v0.15.4 (2022-04-24)

Documentation

  • docs: update example readme (4624cad)

Fix

Unknown

  • 0.15.4

Automatically generated by python-semantic-release (bc53e0d)

v0.15.3 (2022-04-24)

Fix

  • fix: update broken links and img (b8df020)

Unknown

  • 0.15.3

Automatically generated by python-semantic-release (dd385a2)

v0.15.2 (2022-04-24)

Fix

  • fix: package documentation link (a4bf460)

Unknown

  • 0.15.2

Automatically generated by python-semantic-release (15991c5)

v0.15.1 (2022-04-24)

Fix

  • fix: update readme and docs favicon (#2)

  • ci: add github actions config

  • fix: update settings version and description

  • fix: update readme and project metadata

  • docs: add favicon

  • ci: remove unused release file

  • fix: pyproject conflict mistake

  • test: cli version

Co-authored-by: Adam Kirchberger <[email protected]> (6dbc6ed)

Unknown

  • 0.15.1

Automatically generated by python-semantic-release (3251a2e)

v0.15.0 (2022-04-24)

Ci

  • ci: add github actions config (#1)

Co-authored-by: Adam Kirchberger <[email protected]> (9ddf6b3)

Documentation

Feature

  • feat: add example demo-kit1 (b55e6b0)

Fix

  • fix: host discovery regex (7ff0f1a)

  • fix: log attempts to modify frozen facts (9f26e13)

  • fix: show matched hosts when applying (c9bf83b)

  • fix: rename test to checks (afacfd6)

Refactor

  • refactor: error handling when loading datatree facts (07b6147)

  • refactor: use consistent log message format (e17094d)

Unknown

  • 0.15.0

Automatically generated by python-semantic-release (cfe4b07)

v0.14.0 (2022-04-17)

Chore

  • chore(release): 0.14.0

0.14.0 (2022-04-17)

Features

Documentation

Feature

  • feat: add deployment groups (417abd4)

Refactor

  • refactor: make test check host values (94c0499)

  • refactor: add comments (83a5cb6)

  • refactor: optimize host filtering (9297b28)

  • refactor: update docstrings (60019c0)

v0.13.1 (2022-04-09)

Chore

  • chore(release): 0.13.1

0.13.1 (2022-04-09)

Bug Fixes

Fix

  • fix: datatree list-hosts json output (b578a6e)

Refactor

  • refactor: remove unused imports (b371be3)

Test

  • test: add test for driver method invalid host skip (c9cf932)

v0.13.0 (2022-04-09)

Chore

  • chore(release): 0.13.0

0.13.0 (2022-04-09)

Bug Fixes

  • add optional user and pass args for config diff (478b1e4)
  • fetch user and pass from datatree if no args supplied (20fdd27)
  • skip driver calls when os_name or mgmt_ip missing (f7bef73)

Features

  • add assume yes flag to config apply cli action (462f5a8)

  • add cli facts check only action (ae4316b)

  • rename data to datatree (055ae4f) (b7c18e3)

  • chore: update dependencies (273c964)

Feature

  • feat: add assume yes flag to config apply cli action (462f5a8)

  • feat: add cli facts check only action (ae4316b)

  • feat: rename data to datatree (055ae4f)

Fix

  • fix: skip driver calls when os_name or mgmt_ip missing (f7bef73)

  • fix: fetch user and pass from datatree if no args supplied (20fdd27)

  • fix: add optional user and pass args for config diff (478b1e4)

Refactor

  • refactor: update render skip msg to warning (dda6bab)

v0.12.0 (2022-03-28)

Chore

  • chore(release): 0.12.0

0.12.0 (2022-03-28)

Bug Fixes

  • add Host object to module public attributes (ea39a4c)
  • remove unnecessary compare config parameter (ccd013f)
  • update app description (3f10f84)
  • use IPv4Address type for host mgmt_ip (9fd76e2)

Features

  • add action to get active config from host (89f9334)

  • rename config replace to apply (dbaae00)

  • rename default datatree dirname to datatree (ccbc90d)

  • username and password are host core facts (720750e) (9e8efaf)

  • chore: update dependencies (9f39db0)

Feature

  • feat: add action to get active config from host (89f9334)

  • feat: username and password are host core facts

Username and password can be host specific or inherited like other facts. (720750e)

  • feat: rename default datatree dirname to datatree (ccbc90d)

  • feat: rename config replace to apply (dbaae00)

Fix

  • fix: update app description (3f10f84)

  • fix: remove unnecessary compare config parameter (ccd013f)

  • fix: use IPv4Address type for host mgmt_ip (9fd76e2)

  • fix: add Host object to module public attributes (ea39a4c)

Refactor

  • refactor: fix lint (b332361)

  • refactor: fix lint (089a446)

  • refactor: use consistent log messages (42692b7)

  • refactor: use consistent log messages (202714c)

  • refactor: remove unused import (889b617)

  • refactor: update settings filename in test (d1c7f13)

Test

  • test: update pylintrc (bab24a8)

  • test: remove description test (dabd0e1)

v0.11.0 (2022-03-15)

Chore

  • chore(release): 0.11.0

0.11.0 (2022-03-15)

Bug Fixes

  • add encoding to generated config files (5ed9ab5)
  • test kit settings filename (f215702)

Features

Feature

  • feat: add kit custom drivers (d6d9806)

  • feat: add config compare and replace cli actions (c0f2aed)

Fix

  • fix: add encoding to generated config files (5ed9ab5)

  • fix: test kit settings filename (f215702)

v0.10.2 (2022-03-06)

Chore

  • chore(release): 0.10.2

0.10.2 (2022-03-06)

Bug Fixes

  • python for kit settings instead of yaml (9e2f1a4)
  • use default fact action from settings (09302df) (b60d458)

Fix

  • fix: python for kit settings instead of yaml (9e2f1a4)

  • fix: use default fact action from settings (09302df)

v0.10.1 (2022-02-19)

Chore

  • chore(release): 0.10.1

0.10.1 (2022-02-19)

Bug Fixes

Ci

  • ci: add test jobs for different python versions (8b1da97)

Fix

  • fix: linting issues (e8ad624)

  • fix: ensure only funcs are used as template sections (e8fc620)

Refactor

  • refactor: rename config module to settings (595969f)

  • refactor: rename host id format used in logs (0a4b2c6)

v0.10.0 (2022-02-19)

Chore

  • chore(release): 0.10.0

0.10.0 (2022-02-19)

Bug Fixes

  • facts not being loaded from directories (0611555)
  • incorrect import for importlib (b4a10e3)
  • linting issues (548ac9e)
  • log file path missing slash (d364d1a)
  • make mgmt_ip a core fact (b3f1315)
  • set default data tree action to replace (08c9300)
  • update logging setup methods and docstring (5cc0f59)
  • update writer to skip blank configs and return total (eb31d90)

Features

Feature

  • feat: add junos-eznc dependency (77a08ed)

  • feat: add junos driver (d0a81ea)

  • feat: add host drivers (0100f39)

  • feat: update public methods (1c1bcee)

  • feat: file and console logs include other loggers (e1b3a52)

Fix

  • fix: incorrect import for importlib (b4a10e3)

  • fix: set default data tree action to replace (08c9300)

  • fix: linting issues (548ac9e)

  • fix: update logging setup methods and docstring (5cc0f59)

  • fix: update writer to skip blank configs and return total (eb31d90)

  • fix: facts not being loaded from directories (0611555)

  • fix: make mgmt_ip a core fact (b3f1315)

  • fix: log file path missing slash (d364d1a)

Refactor

  • refactor: fix style (df4baf0)

  • refactor: remove unnused import (8993f15)

Test

v0.9.0 (2022-01-27)

Chore

  • chore(release): 0.9.0

0.9.0 (2022-01-27)

Bug Fixes

  • host directory facts loading (f380f23)

Features

  • support host core facts in datatree lookup paths (d097019) (f224eb8)

Feature

  • feat: support host core facts in datatree lookup paths (d097019)

Fix

  • fix: host directory facts loading (f380f23)

Refactor

  • refactor: update docstring (61fa277)

  • refactor: update docstring (39efb0d)

Test

  • test: cleanup (25e5f31)

  • test: add test for non directory hosts (a9b81eb)

v0.8.0 (2022-01-26)

Chore

  • chore(release): 0.8.0

0.8.0 (2022-01-26)

Features

  • add mgmt_ip core host fact. (b6028cd)
  • facts can be files or directories of files (775cfbb)
  • log to console and file in kit (c057f69) (a369b8e)

Feature

  • feat: facts can be files or directories of files (775cfbb)

  • feat: log to console and file in kit (c057f69)

  • feat: add mgmt_ip core host fact. (b6028cd)

Refactor

  • refactor: use tuples for parametrized tests (fba43f6)

v0.7.0 (2022-01-15)

Chore

  • chore(release): 0.7.0

0.7.0 (2022-01-15)

Bug Fixes

  • remove templates list cmd (5e7a6b7)
  • set default file path to current directory (2fce693)
  • site discovery issue (771fea8)
  • skip empty render sections (aaa4cf5)
  • update error for failed sub template import (f443628)

Features

  • add single site datatree support (85b9468)

  • write configs to staged directory (2a35d1f) (adc4af7)

  • chore(release): 0.6.0

0.6.0 (2022-01-11)

Bug Fixes

  • host types (3535e92)
  • increase log severity for hosts missing os vars (472920b)
  • issue related to frozen and merge data actions (6eceace)
  • rename config var for readability (c0eb13e)
  • separate render context functions (1032403)
  • unset config env var during tests (a48133f)

Features

0.5.0 (2022-01-03)

Bug Fixes

  • log and raise any template import errors (ced65f4)
  • make get_config return same config every time (0b65de2)
  • move render context out of try block (71776e1)
  • raise error for issues during discovery (f310cf8)
  • raise render error only after all errors found (7fdaf43)
  • remove unused imports and comments (a2f0434)
  • replace additional calls for single dict iter (d396d9f)
  • resolve type issues (508465e)
  • return None if host attr not found in facts (9863fe3)
  • rewrite block to catch multiple exceptions (1e8bccc)
  • set host customer value to optional (fb14a55)
  • set logger level (0fbeffa)
  • templates render based on order of definition (05b62dc)

Features

  • add render context (4881af1)

  • templates are determined based on os_name (296267b)

  • templates use functions with print methods (a5a8a54)

  • update dependencies (e69edd5) (6a0d2a4)

  • chore: add pytest-click dev dependency (8649b5f)

  • chore: add tests (d1ab6c5)

  • chore(release): 0.4.0

0.4.0 (2021-12-19)

Bug Fixes

  • add git ignore for coverage files (ee4d3fa)
  • compile regex from string to avoid errors (ab2e99c)
  • ignore protected variables (99323f3)

Features

  • add support for single tenant data tree (19e0e4a) (75ebdb4)

  • chore(release): 0.3.0

0.3.0 (2021-09-26)

Bug Fixes

  • catch errors from invalid fact files (94fa23d)
  • default config get logic (f7b8489)
  • rename generate to render (9afe8cd)
  • rename host os to os_name for readability (3b7ac9f)
  • rename os to os_name missed in prev commit (6bb9a20)
  • rename os_regex to os_name_regex (b5c2aac)
  • update arg order (24758df)
  • update default logging level to error (bb369fc)
  • update template handling (addff3d)

Features

  • merge cli groups for templates and configs (7dc9071)

  • rename blueprints to templates (b59b170) (721a52d)

  • chore(release): 0.2.0

0.2.0 (2021-09-09)

Bug Fixes

  • logging config issue (ac44793)
  • set default to none for optional fields (d864229)
  • use consistent logging format (3ab3f01)

Features

Ci

  • ci: update node version (ff183d6)

  • ci: add release config file (f162a7c)

Documentation

Feature

  • feat: add single site datatree support (85b9468)

  • feat: write configs to staged directory (2a35d1f)

  • feat: add dict deep merging (8a16336)

  • feat: update dependencies (ff72873)

  • feat: templates are determined based on os_name (1611e6d)

  • feat: add render context (6849f0f)

  • feat: templates use functions with print methods (c591c6f)

  • feat: add support for single tenant data tree (aeb5081)

  • feat: merge cli groups for templates and configs (914c3f4)

  • feat: rename blueprints to templates (faec0bf)

  • feat: add template rendering using blueprints (25a003f)

Fix

  • fix: site discovery issue (771fea8)

  • fix: update error for failed sub template import (f443628)

  • fix: skip empty render sections (aaa4cf5)

  • fix: remove templates list cmd (5e7a6b7)

  • fix: set default file path to current directory (2fce693)

  • fix: increase log severity for hosts missing os vars (1e31b28)

  • fix: host types (7a05b4c)

  • fix: issue related to frozen and merge data actions (82a61bf)

  • fix: separate render context functions (3799b1a)

  • fix: rename config var for readability (932617d)

  • fix: unset config env var during tests (bfe58e8)

  • fix: return None if host attr not found in facts (6e70105)

  • fix: raise error for issues during discovery (f5cdf7f)

  • fix: set host customer value to optional (61a372f)

  • fix: log and raise any template import errors (57977a7)

  • fix: raise render error only after all errors found (4270855)

  • fix: move render context out of try block (05542a9)

  • fix: set logger level (719c806)

  • fix: rewrite block to catch multiple exceptions (541f7c2)

  • fix: remove unused imports and comments (96b72b4)

  • fix: make get_config return same config every time (ee2f46b)

  • fix: replace additional calls for single dict iter (3c4cd42)

  • fix: resolve type issues (80fa19d)

  • fix: templates render based on order of definition (834c5e6)

  • fix: add git ignore for coverage files (e5c196c)

  • fix: compile regex from string to avoid errors (d935415)

  • fix: ignore protected variables (da61696)

  • fix: rename generate to render (f6a46b6)

  • fix: default config get logic (dd1aa9e)

  • fix: rename os_regex to os_name_regex (e15be34)

  • fix: update template handling (d230415)

  • fix: update arg order (a8bc33e)

  • fix: catch errors from invalid fact files (a8e8109)

  • fix: update default logging level to error (2e30b12)

  • fix: rename os to os_name missed in prev commit (34e35e0)

  • fix: rename host os to os_name for readability (d8449b9)

  • fix: set default to none for optional fields (4860e67)

  • fix: use consistent logging format (c722087)

  • fix: logging config issue (fb0cf35)

Refactor

  • refactor: rename render var for readability (2e07307)

  • refactor: set config as required arg and use context (4e0db5e)

  • refactor: rename render facts method (05fb6c0)

  • refactor: update getter (d417ad8)

  • refactor: update logging (5debb56)

  • refactor: use shared global config variable (231fab5)

  • refactor: set facts as property of a host object (2784211)

Style

  • style: remove full stop from error messages. (6271797)

Test

  • test: fix tests and comments (0988eb7)

  • test: add more tests and restructure existing (1be41d2)

  • test: add blueprints_map to config (5d89afd)

  • test: add coverage plugin and stubs (4abe2e2)

Unknown