v0.66.0
This new release has focused in two things:
Improved geometry API for plotting 🎨 (#2125)
This PR allows a more easy to maintain geometry plot API. Further more eases different entities plots and grouping. Thanks to this we can use mapdl.cmplot.
See Migration to the new geometry API
Introducing the component manager 🎰 (#2041)
Now you can access components using an API similar to the parameters one:
>>> mapdl.components
MAPDL Components
----------------
MYCOMP1 : NODE
MYCOMP2 : ELEMand
>>> mapdl.components["mycomp1"]
Component(type='NODE', items=(1, 3, 6))See Components API
Worth to mention 🤓
Additionally, we would like to highlight the following changes/improvements:
- Starting Windows-hosted MAPDL from WSL #2324.
- Improvements to the dev containers #2208
- More examples:
@ansys/pymapdl-maintainers and @ansys/pymapdl-developers hope you enjoy the new features! 🚀
What's Changed
New Features
- Implementing component manager by @germa89 in #2041
- Homogenizing geometry API by @germa89 in #2125
- Supporting CMPLOT by @germa89 in #2218
- Adding
mapdl.solution()to enter in solution processor by @germa89 in #2293 - Supporting launching MAPDL from WSL by @germa89 in #2324
- Mesh selection by @germa89 in #2207
- Exposing more internal properties. by @germa89 in #2246
Bug fixes or behavior changes
- Fixing upper version limit by @germa89 in #2094
- Creating example directory when needed by @germa89 in #2111
- Changing
mathmodule calls intoansys-math-coreones by @clatapie in #2102 - replace appdirs by platformdirs by @Gryfenfer97 in #2129
- Allowing savefig when vtk=false by @germa89 in #2143
- Adding trame by @germa89 in #2174
- Implementing unique session id by @germa89 in #1912
- Small improvements on the dev containers by @germa89 in #2208
- Detaching
examplesby @germa89 in #2192 - using PNG by default for plots. by @germa89 in #2205
- Fixing area coloring by @germa89 in #2195
- Removing xfails. by @germa89 in #2216
- Adding warning about CORBA deprecation. by @germa89 in #2219
- Added distributed test by @germa89 in #2263
- Check kwarg in mapdl.run by @germa89 in #2276
- Improving SATIN command by @germa89 in #2300
- Removing nightly doc build by @germa89 in #2294
- Pool improvements by @germa89 in #2277
- Improving connection commands testing by @germa89 in #2311
- Using quicker configuration to launch mapdl in unit tests by @germa89 in #2343
- Updating pyiges package flag by @germa89 in #2110
- Fix multidependabot ci by @germa89 in #2088
- Fix/logging by @Gryfenfer97 in #2118
- Fixing Pyvista for the next release by @germa89 in #2140
- Fix/mapdl_download by @germa89 in #2147
- Fixing non existing argument by @germa89 in #2152
- Fixing type annotation in python 3.8 by @germa89 in #2162
- Rolling back static python and scipy for python3.8 support by @germa89 in #2163
- Updating pymapdl-reader by @germa89 in #2175
- Fix redirection and link checker by @germa89 in #2172
- Adding missing
mapdl.tbdeleargument by @germa89 in #2186 - Updating docker targets by @germa89 in #2182
- Adding timeout to pool.getitem by @germa89 in #2176
- Fixing and extending theme. by @germa89 in #2170
- Improving 'file' command and testing by @germa89 in #2135
- Fix having to plot twice to get a file with size bigger than 3kb by @germa89 in #2141
- fix: Force render in example by @AlejandroFernandezLuces in #2046
- Adding missing import in queries by @germa89 in #2214
- Fixing vale warnings by @germa89 in #2228
- Fix retrieving non existing parameter by @germa89 in #2238
- Fix reminder bot by @germa89 in #2247
- Fixing linkcheck CICD by @germa89 in #2240
- Removing listing files in build docs. by @germa89 in #2251
- Removing extension from file name, and using explicitly the ext field. by @germa89 in #2257
- Fixing link in approver comment by @germa89 in #2262
- Fix ASBL command by @germa89 in #2267
- Quick fix in an example by @germa89 in #2297
- Fixing
post_processingplots by @germa89 in #2295 - Fixing area meshing error in doc build by @germa89 in #2319
- Fix locally build docs in Windows by @germa89 in #2338
- Fix geometry connection command tests on earlier MAPDL versions by @germa89 in #2339
Documentation
- Rendering the last 5 versions in documentation by @germa89 in #2099
- Dropping Python 3.7 support by @clatapie in #2117
- Create an example of a GUI application with PySide6 by @Gryfenfer97 in #2095
- add a section to convert the app to an executable to examples by @Gryfenfer97 in #2100
- Links checker and redirection capabilities by @germa89 in #2090
- NumPy version depending on Python version by @clatapie in #2200
- Update basic_dpf_example.py by @akaszynski in #2008
- Adding a body flux example by @germa89 in #2233
- Add links for doc and cheat sheet by @PipKat in #2235
- Adding info about docker and MacOS by @germa89 in #2231
- More reorg rebranding by @germa89 in #2269
- Fixing pool example by @clatapie in #2303
- Updating checkout action by @germa89 in #2304
- Document better the arguments "replace_env_vars" and "add_env_vars" by @germa89 in #2309
- Small fixes in Krylov example by @germa89 in #2322
- Added articles to recommended by @germa89 in #2340
Maintenance
- Bump pandas from 2.0.1 to 2.0.2 by @dependabot in #2096
- Bump to 0.66 by @germa89 in #2097
- Bump imageio from 2.30.0 to 2.31.0 by @dependabot in #2105
- Bump ansys-mapdl-reader from 0.52.13 to 0.52.14 by @dependabot in #2106
- Bump plotly from 5.14.1 to 5.15.0 by @dependabot in #2107
- Bump ansys-mapdl-reader, pytest and imageio by @github-actions in #2115
- Fixing cache cleanup by @germa89 in #2124
- Bump ansys-mapdl-reader from 0.52.15 to 0.52.16 by @dependabot in #2139
- Bump scipy, pytest and sphinx-autodoc-typehints by @github-actions in #2145
- Bump scipy, pytest and sphinx-autodoc-typehints by @github-actions in #2146
- Bump pyansys-tools-report from 0.5.0 to 0.6.0 by @dependabot in #2153
- Bump scipy from 1.11.0 to 1.11.1 by @dependabot in #2154
- Bump pandas from 2.0.2 to 2.0.3 by @dependabot in #2155
- Bump pytest-rerunfailures from 11.1.2 to 12.0 by @dependabot in #2168
- Bump matplotlib from 3.7.1 to 3.7.2 by @dependabot in #2167
- Bump ansys-mapdl-reader, pyiges and pyvista by @github-actions in #2160
- Bump ansys-tools-path, pyvista and pyvista[trame] by @github-actions in #2178
- Fixing pyvista to 0.40.X by @germa89 in #2198
- Bump
ansys-mapdl-readerto 0.52.19 by @clatapie in #2203 - Bump ansys-sphinx-theme from 0.9.9 to 0.10.0 by @dependabot in #2211
- Update sphinx to 7.1.1 by @germa89 in #2215
- Small improvements to issues templates by @germa89 in #2217
- Bump sphinx-autodoc-typehints from 1.23.0 to 1.24.0 by @dependabot in #2210
- Adding v24.1 to cicd by @germa89 in #2220
- Updating pyvista to 0.41 by @germa89 in #2194
- Bump pyvista and pyvista[trame] by @github-actions in #2221
- Bump ansys-mapdl-reader from 0.52.19 to 0.52.20 by @dependabot in #2226
- Small improvements to approver. by @germa89 in #2229
- Bump ansys-sphinx-theme from 0.10.0 to 0.10.2 by @dependabot in #2225
- Bump sphinxcontrib-websupport from 1.2.4 to 1.2.6 by @dependabot in #2239
- Using python 3.10 as default by @germa89 in #2243
- Adding warnings for Python 3.8 by @germa89 in #2245
- Updating plotly. by @germa89 in #2252
- Bump plotly from 5.16.0 to 5.16.1 by @dependabot in #2260
- Bump scipy from 1.11.1 to 1.11.2 by @dependabot in #2259
- Update sphinx by @germa89 in #2261
- Updating ansys-sphinx-theme to 0.10.4 by @germa89 in #2268
- Bump sphinx-gallery from 0.13.0 to 0.14.0 by @github-actions in #2270
- Bump autopep8 and imageio by @github-actions in #2278
- Bump pandas from 2.0.3 to 2.1.0 by @dependabot in #2291
- Bump ansys-sphinx-theme from 0.10.4 to 0.10.5 by @dependabot in #2290
- Bump pyvista, pytest, ansys-sphinx-theme, imageio and pyvista[trame] by @github-actions in #2305
- Adding bot which open an issue if the scheduled build fails by @germa89 in #2307
- Adding plot testing by @germa89 in #2299
- Allowing extended testing on dispatch (optional) and schedule by @germa89 in #2312
- Bump pyvista from 0.42.0 to 0.42.1 by @dependabot in #2317
- Bump pytest from 7.4.1 to 7.4.2 by @dependabot in #2316
- Bump pyvista[trame] from 0.41.1 to 0.42.1 by @dependabot in #2318
- Bump docker/login-action from 2.1.0 to 2.2.0 by @dependabot in #2329
- Bump ansys-sphinx-theme from 0.10.6 to 0.11.1 by @github-actions in #2330
- Bump matplotlib from 3.7.2 to 3.7.3 by @dependabot in #2334
- Bump ansys-sphinx-theme from 0.11.1 to 0.11.2 by @dependabot in #2335
- Bump imageio-ffmpeg from 0.4.8 to 0.4.9 by @dependabot in #2336
- Adding codecov token by @germa89 in #2337
New Contributors
- @AlejandroFernandezLuces made their first contribution in #2046
Full Changelog: v0.65.2...v0.66.0