Skip to content

Commit 477c3c6

Browse files
committed
Prepare for release 2.4.0
1 parent 1714f47 commit 477c3c6

10 files changed

Lines changed: 28 additions & 10 deletions

File tree

changes/356.changed

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/370.added

Lines changed: 0 additions & 2 deletions
This file was deleted.

changes/371.added

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/372.added

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/373.added

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/375.added

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/376.added

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
# v2.4 Release Notes
3+
4+
This document describes all new features and changes in the release. 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).
5+
6+
## Release Overview
7+
8+
- Add ability to check for sufficient free space before copying files to devices, with support for EOS, IOS, ASA, and JunOS platforms.
9+
- Added reboot flag to Device.install_os for supported platforms.
10+
11+
## [v2.4.0 (2026-04-29)](https://github.com/networktocode/pyntc/releases/tag/v2.4.0)
12+
13+
### Added
14+
15+
- [#370](https://github.com/networktocode/pyntc/issues/370) - Added a pre-transfer free-space check to EOS ``file_copy`` and ``remote_file_copy`` that raises ``NotEnoughFreeSpaceError`` when the target filesystem lacks room for the image.
16+
- [#370](https://github.com/networktocode/pyntc/issues/370) - Added ``file_size_unit`` (``bytes``, ``megabytes``, or ``gigabytes``; default ``bytes``) and a computed ``file_size_bytes`` to ``FileCopyModel`` so ``remote_file_copy`` can verify free space against a caller-supplied size; when ``file_size`` is omitted the pre-transfer check is skipped.
17+
- [#371](https://github.com/networktocode/pyntc/issues/371) - Added free space validation for file copy operations on IOS devices.
18+
- [#372](https://github.com/networktocode/pyntc/issues/372) - Added a pre-transfer free-space check to Cisco ASA ``file_copy`` and ``remote_file_copy`` that raises ``NotEnoughFreeSpaceError`` when the target filesystem lacks room for the image.
19+
- [#373](https://github.com/networktocode/pyntc/issues/373) - Added a pre-transfer free-space check to Juniper JunOS ``file_copy`` and ``remote_file_copy`` that raises ``NotEnoughFreeSpaceError`` when the target filesystem lacks room for the image.
20+
- [#375](https://github.com/networktocode/pyntc/issues/375) - Added free space validation for file copy operations on NXOS devices.
21+
- [#376](https://github.com/networktocode/pyntc/issues/376) - Added reboot flag to Device.install_os for supported platforms.
22+
- [#376](https://github.com/networktocode/pyntc/issues/376) - Vendored pynxos library and added reboot flag to Device.set_boot_options.
23+
24+
### Changed
25+
26+
- [#356](https://github.com/networktocode/pyntc/issues/356) - Bump dependencies

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ nav:
132132
- Uninstall: "admin/uninstall.md"
133133
- Release Notes:
134134
- "admin/release_notes/index.md"
135+
- v2.4: "admin/release_notes/version_2.4.md"
135136
- v2.3: "admin/release_notes/version_2.3.md"
136137
- v2.2: "admin/release_notes/version_2.2.md"
137138
- v2.1: "admin/release_notes/version_2.1.md"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyntc"
3-
version = "2.3.1a0"
3+
version = "2.4.0"
44
description = "Python library focused on tasks related to device level and OS management."
55
authors = ["Network to Code, LLC <opensource@networktocode.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)