Skip to content

Releases: Neoteroi/BlackSheep-MVC

v1.0.2

29 Mar 06:50

Choose a tag to compare

  • Add a Dockerfile to the template. New projects include a Dockerfile.
  • Add an helper function, absurl, for Jinja2 to generate absolute URLs to the
    application itself, handling the application Router.prefix.
  • Use absolute URLs in links in jinja templates to render proper links in
    sub-pages, like /home/example/.
  • Upgrade to BlackSheep 2.1.0.
  • Modify the project template to support the new Router prefix feature, and
    the APP_ROUTE_PREFIX env variable to control the route prefix globally.
  • Use the get_diagnostic_app from BlackSheep, as it is now included in the
    library.
  • Use the get_trailing_slash_middleware function, to ensure all HTML
    documents are served at a path ending with a trailing '/'. This is necessary
    to ensure relative links in HTML documents work consistently.
  • Add possibility to change the background color of the top section using an
    env variable BG_COLOR. This is to better support testing multiple
    installation using path based routing.

v1.0.1

18 Mar 13:12

Choose a tag to compare

  • Add a fallback in case of Application startup error.
  • Unpin pydantic version.
  • Set the APP_SHOW_ERROR_DETAILS env variable in dev.py.

v1

28 Jun 06:05

Choose a tag to compare

v1

This release marks the first version of the API project template for BlackSheep. This template can still be used with version 1 of the web framework, but it is no more recommended for future projects. The main branch will contain a Cookiecutter template, to be used with the blacksheep-cli (not yet published at the time of this writing).

Version 2 of blacksheep will soon be marked as stable, and it is recommended for new projects.