|
| 1 | +# Version 0.11.0 |
| 2 | +**2025-09-21** |
| 3 | + |
| 4 | +Large release in preparation of the ScopeSim Workshop happening next week. See below for important changes and deprecations. |
| 5 | + |
| 6 | +## Highlights |
| 7 | +* Finally add support for Python 3.13 and Numpy 2. |
| 8 | +* Partially resolve circular dependency between ScopeSim and ScopeSim_Templates |
| 9 | +* Several new effects in preparation for MOSAIC simulations (#796). |
| 10 | +* New and improved plotting methods on some classes for easier and nicer visualisation of results. |
| 11 | + |
| 12 | +## What's Changed |
| 13 | +### Deprecations |
| 14 | +#### Download functionality |
| 15 | +* Deprecate downloading IRDB packages directly from GitHub by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/727 |
| 16 | + |
| 17 | +Installing IRDB packages directly from GitHub using `download_packages()` is deprecated. |
| 18 | +We're not aware that this functionality saw any significant use by the community. |
| 19 | +If you do need to install unreleased IRDB packages from the GitHub repository (and you know _why_ you need that!), the same result can be achieved by cloning the repository (or your own fork) and then use `sim.link_irdb(<path_to_clone>)` to point ScopeSim there. |
| 20 | +That solution has the added benefit that you can keep thing in sync through git alone, which is more reliable anyway. |
| 21 | +The relevant functionality will be removed in version 0.12.0, at which point attempting to use `download_packages()` with a GitHub ref will result in an error. |
| 22 | + |
| 23 | +Passing a list as the first argument to `download_example_data()` has been deprecated since version 0.8.4 and will now result in a `TypeError` being raised. |
| 24 | +This is to catch any remaining uses of the old call signature of this function. |
| 25 | +From version 0.12.0 onwards, arguments will be silently forwarded to the file retriever, meaning if a list is still passed at that point, it will result in an error further downstream. |
| 26 | + |
| 27 | +#### Source Fields |
| 28 | +* Deprecate direct attribute access in `SourceField` by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/733 |
| 29 | + |
| 30 | +After the `SourceField` refactor in version 0.9.0, it was still possible to access any item of the underlying data structur (`Table` or `ImageHDU`) directly through the `SourceField` via a standard dict-like syntax. |
| 31 | +This was retained for backwards compatibility, because some code still relied on this functionality. |
| 32 | +It does however have the potential to leade to some hard-to-track bugs and is generally an unclean solution, which is why we have been working behind the scenes to slowly remove all internal code that still uses this feature. |
| 33 | +Now because this is related to how the `Source` object might be put together in user code, we're using a more carefuly approach in deprecating this, to avoid breaking existing code for no urgent reason. |
| 34 | +We're thus activating a `PendingDeprecationWarning` now, which should give users an advanced warning that we will probably fully deprecate this in the future. |
| 35 | +If you do encounter this warning, please try to use the `.field` attribute to explicitly access the underlying data structur before using dict-like lookup on it. |
| 36 | + |
| 37 | +### API Changes |
| 38 | +* Improve handling of DeprecationWarnings by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/730 |
| 39 | +* Remove obsolete code by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/737 |
| 40 | +* Accept filename and relative path as well as absolute path by @oczoske in https://github.com/AstarVienna/ScopeSim/pull/758 |
| 41 | +### Bugs fixed |
| 42 | +* Fix creation of cube source from file name by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/559 |
| 43 | +* Fix WCU radiometry by @oczoske in https://github.com/AstarVienna/ScopeSim/pull/754 |
| 44 | +* Use `RegularGridInterpolator` for proper extrapolation of small PSF images by @oczoske in https://github.com/AstarVienna/ScopeSim/pull/798 |
| 45 | +### Changes to or addition of Effects |
| 46 | +* Functionality for MOSAIC minimum viable product by @oczoske in https://github.com/AstarVienna/ScopeSim/pull/796 |
| 47 | +### New Features or Improvements |
| 48 | +* Add plotter utils functions by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/734 |
| 49 | +* Add `.plot()` method to `ImagePlane` by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/735 |
| 50 | +* Improve cube plotter by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/736 |
| 51 | +### Dependency Changes |
| 52 | +* Bump synphot from 1.5.0 to 1.6.0 by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/713 |
| 53 | +* Minor bumps on a few dependencies by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/718 |
| 54 | +* Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/AstarVienna/ScopeSim/pull/756 |
| 55 | +* Update internal dependencies more often by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/769 |
| 56 | +* Bump pyyaml from 6.0.1 to 6.0.2 by @dependabot[bot] in https://github.com/AstarVienna/ScopeSim/pull/771 |
| 57 | +* Bump lxml from 5.2.2 to 5.4.0 by @dependabot[bot] in https://github.com/AstarVienna/ScopeSim/pull/772 |
| 58 | +* Refine dependabot configuration by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/780 |
| 59 | +* Bump the dev-dependencies group with 8 updates by @dependabot[bot] in https://github.com/AstarVienna/ScopeSim/pull/782 |
| 60 | +* Update to Poetry 2 based pyproject.toml, update workflows by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/783 |
| 61 | +* Bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/AstarVienna/ScopeSim/pull/786 |
| 62 | +* Bump packaging from 23.2 to 25.0 by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/794 |
| 63 | +* Bump astar-utils from 0.3.3 to 0.3.4 by @dependabot[bot] in https://github.com/AstarVienna/ScopeSim/pull/791 |
| 64 | +* Remove semicircular dependency on ScopeSim_Templates by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/799 |
| 65 | +* Allow numpy 2.x by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/784 |
| 66 | +* Add support for Python 3.13 by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/800 |
| 67 | +### Documentation Improvements |
| 68 | +* Remove mention of deprecated GitHub download from docs by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/745 |
| 69 | +* Fix toml classifiers and URLs by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/795 |
| 70 | +* Docstrings, formatting, linting by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/802 |
| 71 | +### Other Changes |
| 72 | +* Ignore a random DeprecationWarning from Pillow by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/715 |
| 73 | +* Various typing fixes by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/728 |
| 74 | +* Fix locally failing mock path test by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/729 |
| 75 | +* Refactor `flatten_dict()` by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/725 |
| 76 | +* Remove empty `spectrograph.py` by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/738 |
| 77 | +* Split `FieldOfView` into subclasses by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/739 |
| 78 | +* Remove obsolete `fov_manager_utils.py` and tests by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/740 |
| 79 | +* Remove obsolete `PoorMansHeader` by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/741 |
| 80 | +* Remove some unused code by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/744 |
| 81 | +* Remove unused spectroscopy integration tests by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/746 |
| 82 | +* Remove `Effect.fov_grid()` in base class by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/747 |
| 83 | +* Fix CI comments by @hugobuddel in https://github.com/AstarVienna/ScopeSim/pull/748 |
| 84 | +* Add basic pylint config in pyproject.toml by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/760 |
| 85 | +* Update workflows by @teutoburg in https://github.com/AstarVienna/ScopeSim/pull/801 |
| 86 | + |
| 87 | +**Full Changelog**: https://github.com/AstarVienna/ScopeSim/compare/v0.10.0...v0.11.0 |
| 88 | + |
| 89 | + |
1 | 90 | # Version 0.10.0 |
2 | 91 | **2025-06-27** |
3 | 92 |
|
|
0 commit comments