Skip to content

Release v1.1.0#445

Merged
DylanWelzel merged 178 commits into
masterfrom
1.1.x
May 27, 2026
Merged

Release v1.1.0#445
DylanWelzel merged 178 commits into
masterfrom
1.1.x

Conversation

@DylanWelzel
Copy link
Copy Markdown
Contributor

@DylanWelzel DylanWelzel commented May 26, 2026

v1.1.0 (2026/05/27)
Highlights:
- Added Python 3.14 support and dropped Python 3.8 support.
- Reworked biothings CLI configuration, pathing, and dataplugin command organization.
- Added MongoDB build cleanup management APIs and commands.

biothings.hub improvements:
    - Added prefix support to DataTransformMDB. ([#411](https://github.com/biothings/biothings.api/pull/411))
    - Added TAR and Zstandard file handling. ([#424](https://github.com/biothings/biothings.api/pull/424), [#428](https://github.com/biothings/biothings.api/pull/428))
    - Added support for custom local uploader and dumper classes in dataplugin manifests. ([#431](https://github.com/biothings/biothings.api/pull/431))
    - Added MongoDB build cleanup validation and deletion tooling. ([#437](https://github.com/biothings/biothings.api/pull/437))

biothings.utils improvements:
    - Fixed dict_sweep handling for NaN-like values, including pandas.NA and pandas.NaT. ([#442](https://github.com/biothings/biothings.api/pull/442))
    - Centralized orjson usage across the library. ([#435](https://github.com/biothings/biothings.api/pull/435))

biothings.web improvements:
    - Removed deprecated Google Analytics event support. ([#439](https://github.com/biothings/biothings.api/pull/439))
    - Removed old doc_type and deprecated Elasticsearch compatibility code.
    - Improved Elasticsearch exception handling and query response behavior.
    - Optimized Elasticsearch memory usage when using scroll API.

biothings.cli improvements:
    - Added CLI config and pathing commands. ([#418](https://github.com/biothings/biothings.api/pull/418), [#422](https://github.com/biothings/biothings.api/pull/422))
    - Added CLI dump mark-success support. ([#423](https://github.com/biothings/biothings.api/pull/423))
    - Fixed Typer/rich_utils loading behavior. ([#426](https://github.com/biothings/biothings.api/pull/426))

Misc improvements:
    - Updated dependencies and package metadata for Python 3.9+, including tornado, typer, pymongo, orjson, and zstandard.
    - Updated GitHub Actions test, build, and publish workflows.

DylanWelzel and others added 30 commits May 28, 2025 23:47
* Interim commit for improving scheduler error messaging

* Add ValueError messgaing for scheduler errors

* Remove prior comments from the indexer scheduler

* Move the tests to the corresponding tests directory

* Add formal exception messaging

* Add additional exception tests

* Format the dataindex module directory

* Update the tests

* Simplify the exception handling test

---------

Co-authored-by: jschaff <jschaff@scripps.edu>
DylanWelzel and others added 28 commits February 17, 2026 12:40
* replace orjson.loads with serializer method

* remove direct orjson reference from web

* centralize orjson library use; extend serializer `to_json` function to return in byte form if specified
* add zst file handling for Python 3.14 and below

* condition reordering
dict_sweep's `val in vals` membership test raises a ValueError when
val is pandas.NA (or similar NaN-like types) because pandas overloads
the == operator to raise instead of returning False.

Changes:
- Add _is_nan() helper that detects float NaN, pandas.NA, and
  pandas.NaT via math.isnan and duck-typing (__class__.__name__)
  without importing numpy or pandas
- Call _is_nan() before val in vals at every level in dict_sweep
  (top-level values, list items, and nested dicts)
- Replace list.remove() with filter-and-rebuild to avoid __eq__
  calls on NaN-like values during list mutation
- Add comprehensive tests covering mock and real pandas/numpy types
Remove deprecated Universal Analytics (UA) support
fix: handle NaN-like values in dict_sweep
fix: refactor code for codacy
@DylanWelzel DylanWelzel changed the title 1.1.x Release v1.1.0 May 27, 2026
@DylanWelzel DylanWelzel merged commit b863001 into master May 27, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants