capella-model-explorer v0.3.0
Notable changes
-
With this release, the model explorer has largely been rewritten. The new frontend uses HTMX (via FastHTML) and Tailwind, instead of React. This drastically reduces the amount of Javascript and moves much more of the application logic into Python code.
This release also features a new CLI, which replaces the previously used Makefile interface. Use
cme --helpfor more details.Currently, the comparison / diffing feature has not yet been reimplemented. It will be re-added in a later release.
Full changelog
New features
- Add some short one-letter options by @Wuestengecko (77220a2)
- Improve logging, use logfmt by default and make it more configurable by @Wuestengecko and @ewuerger (f04613c, 4a099b7, aa1083d, c8d238a, 546cbfe, d1afe00, eead694)
- Improve style (mainly color setup) by @jamilraichouni (c076ccc)
- Rewrite the frontend using HTMX/FastHTML and Tailwind by @jamilraichouni, @Wuestengecko, @ewuerger and @zusorio (b127885, 84865dc, 4bdfba4, 9fe4c87, dbda7a9, aa02a5d, 6141e76, b59ffc6, 1226de8, 5bcddc4, aa8d112, 3140ef3, 1252396, f264ce7)
Performance improvements
- Cache rendered reports for Git models by @jamilraichouni (be3b94f)
Bug fixes
- Only pass 'reload_*' args to uvicorn in LIVE_MODE by @Wuestengecko (c8ab1cf)
- Improve layouting of tables with wide columns by @ewuerger (254f9ba)
- Consider the entire template scope when making hrefs by @Wuestengecko (712082b)
- templates: Remove typos by @ewuerger (fd3bdd2)
- Pull SVGs from diagram cache again by @Wuestengecko (46eed61)
- Remove duplicate log message by @jamilraichouni (7faa080)
- Work around dbinfrago/py-capellambse#512 by @Wuestengecko (f9d335d)
- Pre-resolve paths for executables with
shutil.which()by @Wuestengecko (10d8ae0) - Log the correct thing during startup / model load by @Wuestengecko (399599d)
Documentation changes
- Update docs for new
cme runinterface by @Wuestengecko (8bca26a)
Build system changes
- Add a basic debugging launch profile by @Wuestengecko (b289515)
- Limit dependency versions by @ewuerger (318083a)
CI/CD changes
- Improve formatting with
prettierby @jamilraichouni (0129ee2)
Unit test changes
- Clean up unused logger object from tests by @Wuestengecko (61c47ea)
Code refactorings
- Use click for the CLI by @ewuerger (54d5d3e)
- Use
uvicorn.runand notsubprocessby @jamilraichouni (cb3b304) - Use Markup.format to generate the SVG diagram wrapper by @Wuestengecko (b81153a)
- Simplify
openDiagramViewer()by @Wuestengecko (6ba2118)