Changelog¶
2.4.0 (2023-05-01)¶
upgrade to bootstrap 4.6 (from alpha 4)
Caution: Some CSS classes changed between Boostram Alpha 4 and 4.6. You might need to upgrade other mara packages as well, e.g. mara-pipelines and mara-app.do not modify the click command name when it is a MultiCommand #42 (#44)
2.3.0 (2022-05-09)¶
adding .scripts files into the PyPI package
required changes
If you use the Makefile/.scripts logic, you need to copy once the file
mara_app/.scripts/init.mk
into your scripts folder.
This can be done by executing oncecp packages/mara-app/mara_app/.scripts/init.mk .scripts/mara-app/init.mk
in your shell.
2.2.1 (2022-03-25)¶
fix missing static files in pip package (#32)
2.2.0 (2020-07-03)¶
Improve loading speed of navigation entries
2.1.3 (2020-07-01)¶
Always upgrade packages used in makefile to latest version (#29)
Add target for deleting all pip installed code
2.1.1 - 2.1.2 (2019-11-29)¶
Set two environment variables in activate script for preventing crashes related to multiprocessing on Mac
Improve check for new package versions
2.1.0 (2019-08-06)¶
Remove last usages of dependency links
Unpin pip version
Add PyPi upload
required changes
If you get the message
no such option: --process-dependency-links
while runningmake update-packages
, then manually updatemara-app
and then runmake .copy-mara-app-scripts
Potentially also unpin
pip
in your deploy scripts
2.0.0 - 2.0.2 (2019-06-11)¶
Change MARA_XXX variables to functions to delay importing of imports
Delay computation of navigation tree to the first time it’s needed (in order to save load time)
Remove dependency_links from setup.py to regain compatibility with recent pip versions
Bump flask & mara db dependency
Get working on Windows
Fix bug in auto discovery of navigation entries
Define navigation-bar enpoint in python code to make it mountable in a subfolder with
werkzeug.wsgi.DispatcherMiddleware
.
required changes
This release should be backward compatible with older other mara packages. However, when updating to packages that rely on this version of mara-app, changes to the application bootstrap process are required. Please have a look at the __init__.py
of the mara example project for how to setup navigation and ACL.
For updating your own module’s __init__.py
, please have a look at the one of mara-acl
1.7.0 (2019-01-30)¶
Temporarily pin pip to version 18.1, because 19.0 removes –process-dependency-links option (
no such option: --process-dependency-links
)
required changes
To get this change, manually upgrade
mara-app
to this version (git pull) and then runmake .copy-mara-app-scripts
in project dir. Remove.venv
dir and rebuild withmake update-packages
.
1.6.0 (2018-11-27)¶
Enable python 3.7 (and future 3.x versions)
required changes
Run
make .copy-mara-app-scripts
to copy .scripts/install.mk to local project (that’s part ofmake update-packages
).If not possible, copy manually.
1.5.0 - 1.5.2 (2018-04-08)¶
Move auto-migrate feature to mara-db package
cope with absense of local git checkout in layout._current_git_commit
Wipe incompatible local copies when pip installing packages
Fix bug in appending git commit to js file url
1.4.0 - 1.4.3 (2018-01-29)¶
Add new Makefile target
check-for-newer-package-versions
which list all packages that have newer tags than the current checkoutAlways check for newer package versions in
make update-packages
make
divHeightKey
optional inloadContentAsynchronously
bug fixes for auto-migration
bug fixes for monkey patching
improve configuration page
1.3.0 - 1.3.6 (2017-12-30)¶
modularize Makefile and stop overwriting project Makefile from package
asynchronous loading of navigation bar for better page rendering experience
store height of asynchronously loaded content in local storage for improved rendering experience
show a list of all patched and wrapped functions in /configuration page
improve configuration ui
add error handling for asynchronous loading of navigation
use MARA_AUTOMIGRATE_SQLALCHEMY_MODELS for finding sqlalchemy models (instead of walking through GC)
add workaround for failing pip on Ubuntu/Debian (#22)
fix dependency links
improvements around navigation tree
Allow disabling makeshell in make targets (by prepending DISABLE_MAKESHELL)
provide hints and make target for running flask threaded
required changes
Copy
mara-app/.scripts
directory to.scripts/mara-app
in project code (will be updated automatically)Include mara Makefiles in Project Makefile:
# output coloring & timing
include .scripts/mara-app/init.mk
# virtual env creation, package updates, db migration
include .scripts/mara-app/install.mk
# ... your own stuff
1.2.0 - 1.2.1 (2017-09-21)¶
Changed discovery of blueprints, commands, navigation entries etc. from inspecting gc to explicit module inventories
Automatic creation of mara backend db if it does not exist in migrations
Performance improvements in response rendering
Improved css for cards, tables, page headers
Added floating of table headers
Fix for setting flask app configuration
Other minor fixes
Bug fix: auto-migration did not execute multiple changes per table
required changes
requires update of mara-page to at least 1.2.0
packages now need to explicitly declare which blueprints, commands, sql alchemy models etc. should be registered by
mara_app
. Example: the__init__.py
from this package:
from mara_app import views, cli, config
MARA_CONFIG_MODULES = [config]
MARA_FLASK_BLUEPRINTS = [views.blueprint]
MARA_AUTOMIGRATE_SQLALCHEMY_MODELS = []
MARA_ACL_RESOURCES = [views.acl_resource]
MARA_CLICK_COMMANDS = [cli.migrate]
MARA_NAVIGATION_ENTRY_FNS = [views.navigation_entry]
1.1.0 (2017-05-24)¶
Improved navigation side bar
Git commit of app appended to asset urls (e.g.
styles.css?efcfbaddfa4a..
)Decreased font size to 12px
Anchor offsetting via
.anchor
css classConfig page beautifications
Navigation entries can be hidden by setting
visible=False
1.0.0 - 1.0.4 (2017-03-12)¶
Initial version plus bug fixes
Configuration improvements: frontend only displays config modules in
packages
folder, started flask configmigrations work without activating the virtualenv first
improved updating of virtualenvs
minor improvements for /admin/configuration page