Skip to content

Latest commit

 

History

History
141 lines (89 loc) · 5.9 KB

CHANGELOG.md

File metadata and controls

141 lines (89 loc) · 5.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Added helper function to change the template name to the future project name in tasks.py

Added

  • Added sphinx setting for changing the html theme in pyproject.toml

Updated

Notable Dependency Updates

  • Dropped support for Python < 3.9 as Sphinx requires Python 3.9 since version 7.2!
  • Updated depencencies (the lockfile now uses urrlib3 >=2.0, pin urrllib3 to a lower version if required)
  • Updated Flask to v3.0.0! (CHANGELOG)
    Flask has deprecated te __version__ attribute and finally removed some pending deprecations.
  • Updated Sphinx to v7.2.6! (CHANGELOG)

Fixed

Updated

Notable Dependency Updates

  • SQLAlchemy: updated to version 2.0 Migration Guide
  • Sphinx is now version 6 by default
  • myst-parser updated to support newest sphinx

Added

  • Added SQLAlchemy to the top level dependencies to fix it to version ^1.4

Notable Dependency Updates

  • Updated all dependencies to newer versions. Please check the changelogs of the updated Packages!
  • Python the minimum supported python version is now 3.8.1
  • Flask-SQLAlchemy & Flask-Migrate changes to support SQLAlchemy 2.0 (many of the changes, e.g., for session handling, can break code in subtle ways so beware and read the changelogs!)
  • Flask-Babel with incompatible changes (see changes in babel.py)
  • Flask-Smorest small changes, but transitive dependencies also changed: Apispec and marshmallow
  • Sphinx is now version 5 by default
  • invoke update to version 2 for python 3.11 support

Removed

  • recommonmark dev dependency (package is no longer maintained; use the MyST parser instead)

Added

  • Updated redoc library version used in documentation to be compatible with used OpenAPI version
  • Update config handling to handle deprecation of FLASK_ENV gracefully (this may impact how test config is loaded)
  • Update flask-smorest to version >0.39.0 to be compatible with flask >2.2
  • Update flask-smorest to version >0.31.1 to enable rapidoc OpenAPI documentation renderer
  • Default settings for sorting imports with isort (in pyproject.toml)
  • Add MyST markdown parser as default for documentation to support more reStructuredText features in markdown
  • Add default environment variables in .flaskenv
  • Add tomli as the default toml configuration parser
  • Add invoke to automate some cli tasks
  • Add invoke task to update doc dependencies
  • Add invoke task to create a licenses page
  • Add route for licenses

Deprecated

  • Recommonmark markdown parser configuration for documentation (use the MyST parser instead; will be removed in next release)

Removed

  • tomlkit dependency

Changed

  • License changed from MIT to Unlicense. This should make it easier to use the template for other projects.

Added

  • Build instructions for sphinx documentation
  • Dataclass example for DB Models
  • Optional parameter for optional jwt checking
  • Minor additions to the documentation (and to code comments)

Notable Dependency Updates

  • flask-smorest: Changelog All @response decorators have a new signature, other incompatible changes
  • flask-sqlalchemy: Changelog See also SQLAlchemy 1.4 migration guide (but SQLAlchemy 1.3 is still supported)
  • flask-migrate: Changelog
  • flask-jwt-extended: Upgrade Guide Major breaking changes! Security Relevant! (Also see changes in flask_template/api/jwt.py and flask_template/api/util.py)
  • Sphinx: Changelog

Removed

  • Outdated type stubs for old dependencies
  • Some unused imports

Added

  • Add inital flask template with documentation