Skip to content

Releases: materialsproject/pymatgen

v2024.7.18

18 Jul 16:21
27d90b7
Compare
Choose a tag to compare

layout: default
title: Change Log

v2024.6.10

11 Jun 03:05
d136109
Compare
Choose a tag to compare

layout: default
title: Change Log

v2024.6.4

04 Jun 17:35
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Run CI with two different uv resolution strategies: highest and lowest-direct by @janosh in #3852
  • Fix filter condition for warn msg of unphysical site occupancy in io.cif by @DanielYang59 in #3853

🛠 Enhancements

  • Add new .pmgrc.yaml setting PMG_VASP_PSP_SUB_DIRS: dict[str, str] by @janosh in #3858

📖 Documentation

🚧 CI

  • Add CI run without 'optional' deps installed by @janosh in #3857

Full Changelog: v2024.5.31...v2024.6.4

v2024.5.31

31 May 19:14
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Make Beautifulsoup optional by @ab5424 in #3774
  • Fix overlayed subplots in BSPlotterProjected.get_projected_plots_dots() by @janosh in #3798
  • Fix _get_dipole_info for DDEC6 ChargemolAnalysis and add test case by @JonathanSchmidt1 in #3801
  • Cp2kOutput.parse_initial_structure() use regex for line matching to allow arbitrary white space between Atom/Kind/Element/... by @janosh in #3810
  • Fix the minor document error in POTCAR Setup. by @hongyi-zhao in #3834
  • Use isclose over == for overlap position check in SlabGenerator.get_slabs by @DanielYang59 in #3825
  • [Deprecation] Replace Element property is_rare_earth_metal with is_rare_earth to include Y and Sc by @DanielYang59 in #3817

🛠 Enhancements

📖 Documentation

  • Imperative get_... method and @property doc strings by @janosh in #3802
  • Doc string standardization by @janosh in #3805

🧹 House-Keeping

🧪 Tests

🏷️ Type Hints

🤷‍♂️ Other Changes

  • mixing scheme: change default for verbose by @tschaume in #3806
  • ruff 0.4.3 auto-fixes by @janosh in #3808
  • Re-enable some useful ruff rules by @DanielYang59 in #3813
  • pandas.read_csv: replace deprecated delim_whitespace=True with sep="\s+" by @ab5424 in #3846
  • Improve unphysical (greater than 1) occupancy handling in CifParser and add missing site label if not check_occu by @DanielYang59 in #3819

Full Changelog: v2024.5.1...v2024.5.31

v2024.5.1

01 May 18:49
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

📖 Documentation

🧹 House-Keeping

  • pyright fixes for ext/io/phonon/symmetry/transformations/util/vis/dev_scripts and improve io.lobster by @DanielYang59 in #3757
  • Separate test files by modules and collect test files csv/cif into folders by @DanielYang59 in #3746

🚧 CI

  • Officially support Python 3.12 and test in CI by @janosh in #3685

🏥 Package Health

🏷️ Type Hints

🤷‍♂️ Other Changes

New Contributors

Full Changelog: v2024.4.13...2024.5.1

v2024.4.13

13 Apr 05:51
Compare
Choose a tag to compare

Hot fix release for v2024.4.12 to be yanked on PyPI due to #3751.

🐛 Bug Fixes

  • Revert mistaken Cohp.has_antibnd_states_below_efermi rename by @JaGeo in #3750
  • Fix typing_extension ImportError in downstream packages by @janosh in #3752
  • Update some of the OPTIMADE aliases by @ml-evs in #3754

🧹 House-Keeping

Full Changelog: v2024.4.12...v2024.4.13

v2024.4.12

12 Apr 05:57
Compare
Choose a tag to compare

What's Changed

🎉 New Features

🐛 Bug Fixes

🛠 Enhancements

  • Ensure MSONAtoms is indeed MSONable when Atoms.info is loaded with goodies by @Andrew-S-Rosen in #3670
  • Generalize fatband plots from Lobster by @JaGeo in #3688
  • Plotting of Multicenter COBIs by @JaGeo in #2926
  • Support appending vectors to positions in XSF format by @mturiansky in #3704
  • Define needs_u_correction(comp: CompositionLike) -> set[str] utility function by @janosh in #3703
  • Add more flexibility to PhononDOSPlotter and PhononBSPlotter by @ab5424 in #3700
  • Define ElementType enum in core/periodic_table.py by @janosh in #3726

📖 Documentation

🧹 House-Keeping

🚀 Performance

🚧 CI

  • Prevent GitHub Actions from running docs-related CI on forks by @lan496 in #3697

🧪 Tests

🔒 Security Fixes

🏷️ Type Hints

  • Self return type on from_dict methods by @janosh in #3702
  • Return self from Structure methods replace, substitute, remove_species, remove_sites by @janosh in #3706
  • Self return type on Lattice methods by @janosh in #3707

🤷‍♂️ Other Changes

New Contributors

Full Changelog: v2024.3.1...v2024.4.12

v2024.3.1

01 Mar 14:22
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Fix BSPlotterProjected.get_projected_plots_dots_patom_pmorb fix set & list intersect by @janosh in #3651
  • Remove rounding during FEFF writing by @matthewcarbone in #3345
  • Fix get_niggli_reduced_lattice if entering A1 case by @packer-jp in #3657
  • Remove BadPoscarWarning when POSCAR elements set by POTCAR by @esoteric-ephemera in #3662
  • Fix RuntimeError triggered in CI of downstream packages by @janosh in #3664

🛠 Enhancements

📖 Documentation

🧹 House-Keeping

  • Use np.eye(3) instead of [[1, 0, 0], [0, 1, 0], [0, 0, 1]] for identies by @janosh in #3659

🧪 Tests

  • Deprecate _parse_atomic_densities in BaderAnalysis and fix Bader test setup by @DanielYang59 in #3656

🏷️ Type Hints

🤷‍♂️ Other Changes

New Contributors

Full Changelog: v2024.2.23...v2024.3.1

v2024.2.23

23 Feb 11:28
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Modify BadInputSetWarning logic for relaxations of a likely metal by @Andrew-S-Rosen in #3634
  • Fix Lobsterenv Bug by @naik-aakash in #3637
  • [BugFix] Subclass Construction Locpot<:VolumetricData by @jmmshn in #3639
  • Guard MSONAtoms definition behind ASE package availability by @ml-evs in #3645
  • Remove properties from abivars dict as this breaks the interface with… by @gmatteo in #3642

🛠 Enhancements

🧪 Tests

🤷‍♂️ Other Changes

  • Alias VaspInputSet to VaspInputGenerator by @janosh in #3566

New Contributors

Full Changelog: v2024.2.20...v2024.2.23

v2024.2.20

21 Feb 06:33
013ccb5
Compare
Choose a tag to compare

What's Changed

This release addresses an important security issue that might affect some users of pymatgen who are parsing untrusted user input, for example a server using pymatgen to parse a user-uploaded CIF file. More information is available in the associated CVE. Thank you to William Khem-Marquez (@SteakEnthusiast) for the discovery and responsible disclosure of this issue.

🐛 Bug Fixes

  • Revert back TransformedStructure.__getattr__ by @mjwen in #3617
  • Fixed Incar object to allow for ML_MODE vasp tag by @davidwaroquiers in #3625
  • Add missing MPSCANRelaxSet.yaml parameters and alphabetize by @Andrew-S-Rosen in #3615
  • Fix bader_analysis_from_path using warning as file path and reinstate test by @janosh in #3632

🛠 Enhancements

  • Breaking: fix SubstrateAnalyzer film + substrate vectors not using original crystal coordinates by @jinlhr542 in #3572
  • Handle invalid selective dynamics info in POSCAR by @DanielYang59 in #3539
  • Return self from all SiteCollection/Structure/Molecule in-place modification methods by @janosh in #3623
  • Make the POTCAR setup instructions clearer by @Andrew-S-Rosen in #3630

🧹 House-Keeping

  • Refactors + types + fix doc string returns to use Google format by @janosh in #3620

🚀 Performance

💥 Breaking Changes

🤷‍♂️ Other Changes

New Contributors

Full Changelog: v2024.2.8...v2024.2.20