Skip to content

Chore/prep release 1.18.0 #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
The intended audience of this file is for py42 consumers -- as such, changes that don't affect
how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here.

## 1.18.0 - 2023-11-30

### Added

- Support for Python 3.12, includes various dependency version requirement updates.

## 1.17.0 - 2023-08-04

### Removed
Expand Down
2 changes: 1 addition & 1 deletion src/code42cli/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.17.0"
__version__ = "1.18.0"
5 changes: 5 additions & 0 deletions src/code42cli/output_formats.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import csv
import io
import json
import warnings
from itertools import chain
from typing import Generator

Expand All @@ -16,6 +17,8 @@
from code42cli.util import find_format_width
from code42cli.util import format_to_table

# remove this once we drop support for Python 3.7
warnings.filterwarnings("ignore", category=FutureWarning)

CEF_DEFAULT_PRODUCT_NAME = "Advanced Exfiltration Detection"
CEF_DEFAULT_SEVERITY_LEVEL = "5"
Expand Down Expand Up @@ -90,6 +93,8 @@ def _iter_table(self, dfs, columns=None, **kwargs):
if df.empty:
return
# convert everything to strings so we can left-justify format
# applymap() is deprecated in favor of map() for pandas 2.0+ (method renamed)
# pandas only supports Python 3.8+, update this once we drop support for Python 3.7
df = df.fillna("").applymap(str)
# set overrideable default kwargs
kwargs = {
Expand Down