- Wheels are now built with the Python stable ABI (
cp311-abi3): one wheel per platform covers CPython 3.11 – 3.14 (and newer), instead of one wheel per Python version. - New Windows x64 wheels (
cp311-abi3-win_amd64), plus a new Intel macOS wheel (cp311-abi3-macosx_x86_64) alongside the existing Linux x86_64 and Apple Silicon wheels. - The bundled NEC2++ engine revision is now identified for every build: the
necpp_srcsubmodule pin is named in the release notes, and the extension embeds it as anecpp_engine_sha=...string (check withstrings). - Source builds: SWIG >= 4.4.1 is now required (CI pins 4.5.1); PyNEC's
compiler flags (
-fPIC,-lstdc++) are POSIX-only so MSVC builds work. - necpp_src is pinned at
d32ed8f(necpp master, including the #138/#139 fixes from PR #140 — nec2diff negative-value comparison and the gshank Sommerfeld convergence-floor revert).
- Update necpp_src submodule for the Sommerfeld interpolation wire-order fix (necpp #139) — see the v2.3.5 GitHub release.
- Update necpp_src submodule to v2.3.4
(upstream changelog)
- Breaking:
get_impedance_real/imagnow acceptfeed_indexparameter (imp.back()→imp[0], correct for multi-feed setups) - New:
nec_impedance_real_indexed/imag_indexedC API for specific feeds - Doxygen documentation for multi-feed access patterns
- v2.3.3: Fix GX solve and three-plane symmetry reflection
- Breaking:
- Update necpp_src submodule to v2.3.2
(upstream changelog)
- v2.3.2: NE/NH near-field blank count defaults to 1 (NEC-2 Part 3 compliance)
- v2.3.2: Memory safety fixes — prevent duplicate close and invalid pattern reads
- v2.3.2: Fix uninitialized read for average-only radiation-pattern rows
- v2.3.1: Upgrade segment/patch counts to int64_t for large simulations
- v2.3.0: Fix flat-spiral helix (GH HL=0) degenerating to straight wire
- Add Python 3.14 wheel builds, drop Python 3.10
- Update CIBW_BUILD to cp311-* through cp314-*
- Bump requires-python to >=3.11
- Add Python 3.14 classifier
- Fix: Include Eigen headers and all source files in MANIFEST.in for sdist
- Add
graft necpp_src/src/eigento include bundled Eigen headers - Use
recursive-includeto ensure all .h/.cpp/.h.in files are in sdist - Fixes
fatal error: Eigen/Dense: No such file or directoryon pip install
- Add
- Fix #XX: Auto-generate config.h in setup.py so pip install from sdist works
- setup.py now writes necpp_src/build/config.h with version from pyproject.toml
- No longer requires CMake to be run before pip install from source
- Applied to both PyNEC/setup.py and necpp/setup.py
- Update necpp_src submodule to v2.1.1 — major engine upgrade
- Eigen 3.4.0 replaces LAPACK (bundled in src/eigen3/, no external dependency)
- SIMD-accelerated LU decomposition via Eigen::PartialPivLU
- nec_3vector now backed by Eigen::Matrix (internal, no API change)
- Fix uninitialized structure_power_loss producing NaN efficiency
- Fix structure loss reported as zero with current printing disabled
- Fix exception memory leak: throw-by-pointer → throw-by-value (55+ sites)
- Table-driven NEC card parser replaces C-string parser
- 4 monolithic functions refactored into 13 focused methods
- No public API changes — SWIG interface and Python wrapper fully compatible
- Convert setup.py to pyproject.toml as primary metadata source (PEP 621)
- All package metadata now lives in pyproject.toml
[project]table - setup.py reduced to C++ extension compilation only
- Supports uv build (
uv build) as well as pip/build - Remove superseded necpp/setup.cfg
- All package metadata now lives in pyproject.toml
- Fix #24: VSWR formula guard — add explicit
np.abs()in vswr() to prevent negative values - Fix #8: Add missing
handle_necmethod tonecpp/tests/test_multiple_sc_cards.py - Fix #31: Guard numpy import in
PyNEC/setup.pywith try/except for PEP 517 metadata phases - Fix #20/#27: Correct helix argument order in SWIG interface (tag_id/segment_count were at wrong position)
- Update necpp_src submodule to v2.1.1 (Eigen replaces LAPACK, bundled in src/eigen3/)
- No external Eigen/LAPACK dependency needed for CI builds
- Fix #28: Add sc_card to PyNEC SWIG interface (continuation card for multiple-patch surfaces)
- Fix #22/#28: Add PyNEC/example/basic_usage.py — demonstrates wire(), feedpoint impedance, structure currents, and SC card usage
- Fix multiple bugs found during code analysis:
- Move test_multiple_sc_cards.py from PyNEC/tests/ to necpp/tests/ (it imported the wrong module)
- Fix setup.cfg referencing nonexistent README.txt → README.md
- Fix broken nosetests command in build_wheels.sh
- Fix double-space in CI CIBW_BUILD string
- Fix license metadata consistency (GPLv2 → GPLv3) in both setup.py files
- Fix hard-coded swig3.0 → swig in necpp/build.sh
- Fix symlink creation failure on re-run in both build.sh scripts
- Fix typo (stop_ → stop) and unassigned delta bug in context_clean.py Range class
- Add clarifying docstring for ex_card overload in nec_context.i
- Add scipy, matplotlib to dev-requirements.txt
- Remove stale Python 2 classifiers from necpp/setup.py
- Fix Makefile manylinux2014 → manylinux_2_28
- Fix CI branch filter (main → master)
- Update with a requested fix by user slawkory in context_clean.py
- Also fix an intger division bug introduced with the shift to python3 in logperiodic_opt.py