Skip to content

v2024.9.10

Compare
Choose a tag to compare
@janosh janosh released this 10 Sep 17:52
· 142 commits to master since this release
1ff1ba5

💥 Breaking: NumPy/Cython integer type changed from np.long/np.int_ to int64 on Windows to align with NumPy 2.x, changing the default integer type to int64 on Windows 64-bit systems in favor of the platform-dependent np.int_ type.
Recommendation: Please explicitly declare dtype=np.int64 when initializing a NumPy array if it's passed to a Cythonized pymatgen function like find_points_in_spheres. You may also want to test downstream packages with NumPy 1.x on Windows in CI pipelines.

🛠 Enhancements

  • Formatting customization for PWInput by @jsukpark in #4001
  • DOS Fingerprints enhancements by @naik-aakash in #3946
  • Add HSE-specific vdW parameters for dftd3 and dftd3-bj to MPHSERelaxSet. by @hongyi-zhao in #3955
  • Add VASP setting for the dftd4 vdW functional and extend PBE_64 support. by @hongyi-zhao in #3967
  • Add SOC & multiple PROCAR parsing functionalities by @kavanase in #3890
  • Add modification to aims input to match atomate2 magnetic order script by @tpurcell90 in #3878

🐛 Bug Fixes

  • Ion: fix CO2- and I3- parsing errors; enhance tests by @rkingsbury in #3991
  • Fix ruff PD901 and prefer sum over len+if by @janosh in #4012
  • Explicitly use int64 in Numpy/cython code to avoid OS inconsistency by @DanielYang59 in #3992
  • Update FermiDos.get_doping() to be more robust by @kavanase in #3879
  • Fix missing /src in doc links to source code by @DanielYang59 in #4032
  • Fix LNONCOLLINEAR match in Outcar parser by @DanielYang59 in #4034
  • Fix in-place VaspInput.incar updates having no effect if incar is dict (not Incar instance) by @janosh in #4052
  • Fix typo in Cp2kOutput.parse_hirshfeld add_site_property("hirshf[i->'']eld") by @janosh in #4055
  • Fix apply_operation(fractional=True) by @kavanase in #4057

💥 Breaking Changes

📖 Documentation

  • Docstring tweaks for io.vasp.inputs and format tweaks for some other parts by @DanielYang59 in #3996
  • Replace HTTP URLs with HTTPS, avoid from pytest import raises/mark by @DanielYang59 in #4021
  • Fix incorrect attribute name in Lobster.outputs.Cohpcar docstring by @DanielYang59 in #4039

🧹 House-Keeping

🚀 Performance

  • add LRU cache to structure matcher by @kbuma in #4036

🚧 CI

💡 Refactoring

🧪 Tests

🧹 Linting

🏥 Package Health

🏷️ Type Hints

  • Set kpoints in from_str method as integer in auto Gamma and Monkhorst modes by @DanielYang59 in #3994
  • Improve type annotations for io.lobster.{lobsterenv/outputs} by @DanielYang59 in #3887

🤷‍♂️ Other Changes

  • VaspInputSet.write_input: Improve error message by @yantar92 in #3999

New Contributors

Full Changelog: v2024.8.9...v2024.9.10