Skip to content

Latest commit

 

History

History
1080 lines (543 loc) · 35.1 KB

CHANGELOG.md

File metadata and controls

1080 lines (543 loc) · 35.1 KB

CHANGELOG

v2.3.2 (2024-06-01)

Fix

  • fix(flock): Make it write-write re-entrant as well (558de35)

v2.3.1 (2024-05-31)

Fix

  • fix(flock): make it actually re-entrant (39e1536)

Unknown

v2.3.0 (2024-06-01)

Feature

  • feat(flock): allow non-blocking and add more tests (0e0d844)

  • feat(flock): add basic filelock implementation (f5e88d0)

v2.2.0 (2024-05-27)

Chore

  • chore(test_and_version): add requests update to release (898b48a)

  • chore: add LICENSE (c4ed272)

  • chore: disable S403, S404 globally (51ff3fa)

Documentation

  • docs: add pre-commit and add dev instructions in README (c2f32c5)

Feature

  • feat(utils): add convert_size (50572d3)

v2.1.0 (2024-03-03)

Ci

Feature

  • feat: add a few useful pytest fixtures (ac2c381)

Fix

  • fix: rstrict pytest version to <8 (5077b5b)

v2.0.1 (2024-03-03)

Documentation

Fix

  • fix: try to trigger release again (711bdd8)

v2.0.0 (2024-03-03)

Breaking

  • refactor: fix ruff errors

BREAKING CHANGE: (8d1a119)

Chore

  • chore(utils): remove redundant bisect functions, no longer requried (e4bd7f3)

  • chore: begin process to publish to pypi (7d8172f)

Documentation

Fix

  • fix: commit to trigger publish (5b1d25a)

  • fix: drop support for python 3.9 (a659887)

Test

  • test: rename imports in tests (a34c835)

v1.15.1 (2023-10-13)

Unknown

  • 1.15.1

Feature

  • cli.py: Improve parse_bool (5e2f1f0)

  • logging.py: Improve logging of uncaught exceptions and whitelist (7b2bd8e) (2c90f37)

  • imp(cli.py): Improve parse_bool (5e2f1f0)

  • imp(logging.py): Improve logging of uncaught exceptions and whitelist (7b2bd8e)

v1.15.0 (2023-06-26)

Feature

  • feat(funcutils.py): Add yield_or_skip (05552cd)

Fix

  • fix(logging.py): Refactor code and rework adding of handler logic (3225fac)

Test

  • test(test_utils.py): Relax the requirements on futures_processing time to allow passing on slower computers (624eb43)

  • test(test_utils.py): Add flaky to futures_processing tests (365df1a)

Unknown

  • 1.15.0

Feature

  • logging.py: Add whitelist to setup_logging (c79ea9b)
  • funcutils.py: Add yield_or_skip (05552cd)
  • timing.py: Change default Timer behaviour to include sleep (0f30688)

Fix

  • logging.py: Refactor code and rework adding of handler logic (3225fac) (3a10bd1)

  • imp(logging.py): Add whitelist to setup_logging (c79ea9b)

  • imp(timing.py): Change default Timer behaviour to include sleep

BREAKING_CHANGE: Timer now includes sleep by default, use process_only to disable. include_sleep is removed. (0f30688)

v1.14.0 (2023-05-28)

Feature

  • feat(utils.py): Add weak_lru_cache (090f30b)

Unknown

  • 1.14.0

Feature

  • utils.py: Add weak_lru_cache (090f30b) (f830fff)

v1.13.1 (2023-02-21)

Unknown

  • 1.13.1

Feature

  • init.py: Add setup_logging and assert_with_logging to top level (f6d536c) (6a89133)

  • imp(init.py): Add setup_logging and assert_with_logging to top level (f6d536c)

v1.13.0 (2023-02-20)

Documentation

  • docs(README.md): Update nt-tools to nt-dev (63aaee3)

Feature

  • feat(logging.py): Add setup_logging from ntf (b39ab9e)

Test

  • test(.gitlab-ci.yml): Remove strict mypy stage (6687373)

Unknown

  • 1.13.0

Feature

  • logging.py: Add setup_logging from ntf (b39ab9e)

Documentation

  • README.md: Update nt-tools to nt-dev (63aaee3) (07d37c5)

v1.12.4 (2023-02-17)

Unknown

  • 1.12.4

Feature

  • utils.py: Add option to still raise exception in futures_processing (43502d4)

  • utils.py: Improve exception handling in futures_processing (61fa952) (5096000)

  • imp(utils.py): Add option to still raise exception in futures_processing (43502d4)

  • imp(utils.py): Improve exception handling in futures_processing (61fa952)

v1.12.3 (2023-02-16)

Unknown

  • 1.12.3

Feature

  • timing.py: Add default weight for check_rate (4bae323) (7085088)

  • imp(timing.py): Add default weight for check_rate (4bae323)

v1.12.2 (2023-02-16)

Fix

  • fix(timing.py): Add check for sub-zero sleep time (97e75d6)

Test

  • test(test_timing.py): Relax timing strictness (e23f0ef)

  • test(test_timing.py): Update argument name (b2d7b6e)

Unknown

  • 1.12.2

Fix

  • timing.py: Add check for sub-zero sleep time (97e75d6) (b23c909)

v1.12.1 (2023-02-15)

Unknown

  • 1.12.1

Feature

  • utils.py: Remove tqdm from futures_processing (7411f36) (3d84926)

  • imp(utils.py): Remove tqdm from futures_processing (7411f36)

v1.12.0 (2023-02-15)

Feature

  • feat(utils.py): Add function for easy concurrent processing using futures (0b543dc)

  • feat(timing.py): Add RateLimiter class (ca3653d)

Test

  • test(.gitlab-ci.yml): Remove check-yamlfix, since it is now in template (256211b)

Unknown

  • 1.12.0

Feature

  • utils.py: Add function for easy concurrent processing using futures (0b543dc)
  • timing.py: Add RateLimiter class (ca3653d) (ccb4b65)

v1.11.1 (2023-01-15)

Fix

  • fix(enum.py): Fix hashing for ComparableEnum (bcd8b24)

Unknown

  • 1.11.1

Fix

  • enum.py: Fix hashing for ComparableEnum (bcd8b24) (0ccb894)

v1.11.0 (2023-01-14)

Feature

  • feat(enum.py): Add ComparableEnum (3992775)

Test

  • test: Update imports in test to highest possible level (97fe7db)

Unknown

  • 1.11.0

Feature

  • enum.py: Add ComparableEnum (3992775) (0074b1d)

v1.10.0 (2023-01-13)

Feature

  • feat(datetime.py): Move datetime ranges into separate file and add round_dt (3be1a54)

Test

  • test(pyproject.toml): Change optional dependency name from 'tests' to 'test' (9164b56)

Unknown

  • 1.10.0

Feature

  • datetime.py: Move datetime ranges into separate file and add round_dt (3be1a54) (b80674b)

v1.9.1 (2023-01-07)

Style

  • style(test_register.py): Fix fixture declaration (dd46254)

Test

  • test(test_register.py): Add test for double registering (8e045af)

  • test(test_register.py): Add tests for Register (ffb92cf)

Unknown

  • 1.9.1

Feature

  • register.py: Add Register.get_all_subclasses() (6301df8) (425a0dd)

  • imp(register.py): Add Register.get_all_subclasses() (6301df8)

v1.9.0 (2022-12-05)

Documentation

  • docs(README.md): Fix badges (7653851)

Feature

  • feat(register.py): Add subclass tracking class (fc3b385)

Unknown

  • 1.9.0

Feature

  • register.py: Add subclass tracking class (fc3b385)

Documentation

  • README.md: Fix badges (7653851) (1ac4c4f)

v1.8.2 (2022-12-03)

Fix

  • fix: Fix for version bump (a86e909)

Test

  • test(.gitlab-ci.yml): Fix include (611fc9b)

Unknown

  • 1.8.2

Fix

  • Fix for version bump (a86e909) (add036b)

v1.8.1 (2022-12-03)

Fix

  • fix(.gitlab-ci.yml): Update reference (c4ea0ba)

Test

Unknown

  • 1.8.1

Fix

  • .gitlab-ci.yml: Update reference (c4ea0ba) (c701e4e)

v1.8.0 (2022-07-10)

Feature

  • feat(logging.py): Add context manger to temporarily change logging level (de087f4)

Fix

  • fix(logging.py): Remove skip_handlers from change_logging_level, since it didn't work as expected (d248322)

Unknown

  • 1.8.0

Feature

  • logging.py: Add context manger to temporarily change logging level (de087f4)

Fix

  • logging.py: Remove skip_handlers from change_logging_level, since it didn't work as expected (d248322) (92065ee)

v1.7.0 (2022-07-07)

Feature

  • feat(timer.py): Add Timer (24df5ef)

Unknown

  • 1.7.0

Feature

  • timer.py: Add Timer (24df5ef) (d4d9cd0)

v1.6.0 (2022-06-28)

Feature

  • feat(logging.py): Add contextmanager which prints stacktrace for warnings (9819ca5)

Unknown

  • 1.6.0

Feature

  • logging.py: Add contextmanager which prints stacktrace for warnings (9819ca5) (476d0fb)

v1.5.0 (2022-05-13)

Feature

  • feat(utils): split_list (e34a800)

Refactor

  • refactor: typing refactorings (820dcf3)

  • refactor: flake8-guided style fixes (7189c50)

Unknown

  • 1.5.0

Feature

  • utils: split_list (e34a800) (0e69ad0)

  • Merge branch 'feat_split_list' into 'master'

feat(utils): split_list

See merge request utilities/nt-utils!36 (3590035)

  • Merge branch 'refactor_style_fixes' into 'master'

refactor: typing refactorings

See merge request utilities/nt-utils!35 (4385e5d)

  • Merge branch 'refactor_style_fixes' into 'master'

refactor: flake8-guided style fixes

See merge request utilities/nt-utils!34 (db74002)

v1.4.0 (2022-03-28)

Feature

Unknown

  • 1.4.0

Feature

  • utils: window (4bbdf3d) (637bf7e)

  • Merge branch 'feat_window' into 'master'

feat(utils): window

See merge request utilities/nt-utils!33 (bfa8122)

v1.3.0 (2022-03-16)

Feature

  • feat(utils): iterchunks (5dbd1b1)

Unknown

  • 1.3.0

Feature

  • utils: iterchunks (5dbd1b1) (74c700e)

  • Merge branch 'feat_iterchunks' into 'master'

feat(utils): iterchunks

See merge request utilities/nt-utils!32 (333e64e)

v1.2.1 (2022-03-05)

Unknown

  • 1.2.1 (b2147d6)

  • Merge branch 'hhell/stuff' into 'master'

revert(funcutils): remove cached_property in favor of functools.cached_property

See merge request utilities/nt-utils!31 (6154e42)

  • revert(funcutils): remove cached_property in favor of functools.cached_property (d333108)

v1.2.0 (2022-03-05)

Feature

  • feat(funcutils): cached_property (8df6d57)

Unknown

  • 1.2.0

Feature

  • funcutils: Cached_property (8df6d57) (ceb11ca)

  • Merge branch 'feat_cached_property' into 'master'

feat(funcutils): cached_property

See merge request utilities/nt-utils!30 (9da00e3)

v1.1.0 (2022-03-02)

Feature

  • feat(consistent_hash): picklehash (4716e06)

Unknown

  • 1.1.0

Feature

  • consistent_hash: picklehash (4716e06) (297c037)

  • Merge branch 'feat_picklehash' into 'master'

feat(consistent_hash): picklehash

See merge request utilities/nt-utils!29 (0db69e3)

v1.0.0 (2022-02-25)

Breaking

  • perf(consistent_hash): various performance improvements

BREAKING CHANGE: consistent_hash now returns an int64-compatible value to avoid overflows in hash(); consistent_hash_raw is replaced with mutating consistent_hash_raw_update (d7d93fd)

Unknown

  • 1.0.0

Breaking

  • consistent_hash now returns an int64-compatible value to avoid overflows in hash(); consistent_hash_raw is replaced with mutating consistent_hash_raw_update (d7d93fd)

Performance

  • consistent_hash: Various performance improvements (d7d93fd) (8ee6c71)

  • Merge branch 'perf_consistent_hash' into 'master'

perf(consistent_hash): various performance improvements

See merge request utilities/nt-utils!28 (90e4e02)

v0.12.2 (2022-02-24)

Chore

  • chore: doctest-modules through pytest config (d3eca1f)

  • chore: yamlfix, typing containers fix (f2b5b10)

Documentation

  • docs(README.md): Fix badges (05664b2)

Fix

  • fix(consistent_hash): support classes in consistent_hash (ignore non-bound _consistent_hash methods) (6817fb0)

Refactor

  • refactor: typing basic containers, project name dash (7257bbf)

Test

  • test: strict mypy typing (0bc0f8b)

  • test: types-xxhash, updated pins (d73ddf9)

Unknown

  • 0.12.2

Fix

  • consistent_hash: Support classes in consistent_hash (ignore non-bound _consistent_hash methods) (6817fb0)

Documentation

  • README.md: Fix badges (05664b2) (03be29a)

  • Merge branch 'fix_chash_typeobj' into 'master'

fix(consistent_hash): support classes in consistent_hash (ignore non-bound _consistent_hash methods)

See merge request utilities/nt-utils!27 (58a297b)

  • Merge branch 'chore_refactor1_part3' into 'master'

chore: doctest-modules through pytest config

See merge request utilities/nt-utils!26 (2f067ea)

  • Merge branch 'chore_refactor1_part2' into 'master'

chore: yamlfix, typing containers fix

See merge request utilities/nt-utils!25 (c04af66)

  • Merge branch 'test_mypy_strict' into 'master'

test: strict mypy typing

See merge request utilities/nt-utils!24 (6b62bb5)

  • Merge branch 'test_typeshed' into 'master'

test: types-xxhash, updated pins

See merge request utilities/nt-utils!23 (7fc1f88)

  • Merge branch 'chore_refactor1' into 'master'

refactor: typing basic containers, project name dash

See merge request utilities/nt-utils!22 (02587a0)

v0.12.1 (2022-02-17)

Unknown

  • 0.12.1

Fix

  • funcutils: Fix joinn_ffill for the "multiple right-side per one left-side" case (49ab8b4) (89bb9d0)

  • Merge branch 'fix_join_ffill' into 'master'

fix(funcutils): fix join_ffill for the "multiple right-side per one left-side" case

See merge request utilities/nt-utils!21 (6df397d)

v0.12.0 (2022-02-16)

Feature

  • feat(utils): datetime_range (340e0e2)

Fix

  • fix(funcutils): fix joinn_ffill for the "multiple right-side per one left-side" case (49ab8b4)

Unknown

  • 0.12.0

Feature

  • utils: datetime_range (340e0e2) (c4af148)

  • Merge branch 'feat_datetime_range' into 'master'

feat(utils): datetime_range

See merge request utilities/nt-utils!20 (3e043b2)

v0.11.0 (2022-02-11)

Feature

  • feat: bisect_left, bisect_right (bisect with key=... support) (c5f6dbd)

Test

  • test: transpose the testing runs to avoid temporary effects (493cac5)

  • test: reduce performance timing stochasticity by using the process time instead of wall time (2687cc1)

Unknown

  • 0.11.0

Feature

  • bisect_left, bisect_right (bisect with key=... support) (c5f6dbd) (d30aa24)

  • Merge branch 'test_process_time' into 'master'

test: reduce performance timing stochasticity by using the process time instead of wall time

See merge request utilities/nt-utils!19 (3c8e392)

  • Merge branch 'feat_bisect' into 'master'

feat: bisect_left, bisect_right (bisect with key=... support)

See merge request utilities/nt-utils!16 (a529989)

v0.10.0 (2022-02-11)

Feature

Refactor

  • refactor: use basic containers for typing (7c6b9a3)

Test

Unknown

  • 0.10.0

Feature

  • Py.typed marker (b1e6471) (77dd4f2)

  • Merge branch 'typing_basic_containers' into 'master'

refactor: use basic containers for typing

See merge request utilities/nt-utils!18 (2f00f4b)

  • Merge branch 'feat_py_typed' into 'master'

feat: py.typed marker

See merge request utilities/nt-utils!17 (7a0a88c)

  • Merge branch 'hhell/stuff1d' into 'master'

test: lenient mypy

See merge request utilities/nt-utils!15 (ac8b385)

v0.9.1 (2022-02-01)

Unknown

  • 0.9.1

Feature

  • autocli: Do not wrap into an additional function (4a28c73) (a502f4c)

  • Merge branch 'hhell/stuff1a' into 'master'

imp(autocli): do not wrap into an additional function

See merge request utilities/nt-utils!14 (ef57fed)

  • imp(autocli): do not wrap into an additional function (4a28c73)

v0.9.0 (2022-01-30)

Chore

  • chore: minor packaging fix (cc45a08)

Feature

  • feat(utils): deep_update (from nt-dev) (ccf455e)

Unknown

  • 0.9.0

Feature

  • utils: deep_update (from nt-dev) (ccf455e) (746b502)

  • Merge branch 'hhell/stuff1c' into 'master'

chore: minor packaging fix

See merge request utilities/nt-utils!12 (b93a314)

  • Merge branch 'hhell/stuff' into 'master'

feat(utils): deep_update (from nt-dev)

See merge request utilities/nt-utils!13 (70317ac)

v0.8.0 (2022-01-27)

Style

Unknown

  • 0.8.0

Feature

  • funcutils: merge_ffill, merge_backfill (ddfdd10) (bf01923)

  • Merge branch 'hhell/stuff1c' into 'master'

feat(funcutils): merge_ffill, merge_backfill

See merge request utilities/nt-utils!10 (9552187)

v0.7.0 (2022-01-27)

Style

  • style(.isort.cfg): Add known_first_party (ae75941)

Unknown

  • 0.7.0

Feature

  • cli: autocli moved from ntf (03b90e7) (c70c3c8)

  • Merge branch 'hhell/stuff1d' into 'master'

feat(cli): autocli moved from ntf

See merge request utilities/nt-utils!11 (49b2cd3)

v0.6.0 (2022-01-27)

Feature

  • feat(funcutils): merge_ffill, merge_backfill (ddfdd10)

  • feat(cli): autocli moved from ntf (03b90e7)

  • feat(utils): ensure_unique_keys (fbc6d06)

Style

Unknown

  • 0.6.0

Feature

  • utils: ensure_unique_keys (fbc6d06) (c373fd9)

  • Merge branch 'hhell/stuff' into 'master'

feat(utils): ensure_unique_keys

See merge request utilities/nt-utils!8 (1139bce)

v0.5.0 (2022-01-25)

Feature

  • feat(aio): alist, achunked (e6abc30)

Unknown

  • 0.5.0

Feature

  • aio: alist, achunked (e6abc30) (e875fb4)

  • Merge branch 'hhell/stuff' into 'master'

feat(aio): alist, achunked

See merge request utilities/nt-utils!6 (500a30c)

v0.4.1 (2022-01-25)

Fix

  • fix: fixed tests, updated pins (ef00a12)

Unknown

  • 0.4.1

Fix

  • Fixed tests, updated pins (ef00a12) (8bc1f9e)

  • Merge branch 'hhell/stuff1b' into 'master'

fix: fixed tests, updated pins

See merge request utilities/nt-utils!7 (ce66c49)

v0.4.0 (2022-01-14)

Feature

  • feat: nt_utils.aio.LazyWrapAsync (25dc290)

Unknown

  • 0.4.0

Feature

  • nt_utils.aio.LazyWrapAsync (25dc290) (0610ccf)

  • Merge branch 'hhell/stuff' into 'master'

feat: nt_utils.aio.LazyWrapAsync

See merge request utilities/nt-utils!5 (cd3a4b2)

v0.3.0 (2022-01-12)

Feature

  • feat(utils): chunks, date_range (cc7d203)

Unknown

  • 0.3.0

Feature

  • utils: chunks, date_range (cc7d203) (5dbe390)

  • Merge branch 'hhell/stuff' into 'master'

feat(utils): chunks, date_range

See merge request utilities/nt-utils!4 (9ab822d)

v0.2.0 (2021-12-24)

Feature

  • feat: consistent_hash moved from nt_cache (746fb21)

Unknown

  • 0.2.0

Feature

  • Consistent_hash moved from nt_cache (746fb21) (f6c03d1)

  • Merge branch 'hhell/stuff' into 'master'

feat: consistent_hash moved from nt_cache

See merge request utilities/nt-utils!3 (70c06f4)

v0.1.1 (2021-12-17)

Chore

  • chore: minor cleanup (37ea2df)

  • chore: packaging by flit, from python-repo template (4a9e8ad)

Unknown

  • 0.1.1

Feature

  • Requirements.txt (4fbc960) (0d05fa8)

  • Merge branch 'hhell/stuff' into 'master'

chore: packaging by flit, from python-repo template

See merge request utilities/nt-utils!2 (a440a65)

v0.1.0 (2021-12-13)

Feature

Fix

  • fix(setup.cfg): Add version_variable (0e83dd2)

  • fix: Fix cfg name (b469ca6)

Unknown

  • 0.1.0

Feature

  • grouped() (584e34e)

Fix

  • setup.cfg: Add version_variable (0e83dd2)

  • Fix cfg name (b469ca6) (8ff3a8b)

  • Merge branch 'hhell/stuff' into 'master'

feat: grouped()

See merge request utilities/nt-utils!1 (ef1538d)