Skip to content

Latest commit

 

History

History
248 lines (166 loc) · 25.8 KB

CHANGES.md

File metadata and controls

248 lines (166 loc) · 25.8 KB

Flask-Migrate Change Log

Release 4.0.7 - 2024-03-11

  • Regression from #438: check g.x_arg exists before accessing it #541 (commit) (thanks Skye Im!)

Release 4.0.6 - 2024-03-09

  • Accept -x options for all db commands #438 (commit)
  • Add --purge flag to the stamp command #540 (commit) (thanks Jono N!)

Release 4.0.5 - 2023-09-12

  • Compatibility fixes for Flask-SQLAlchemy >= 3.1 #526 (commit) (thanks David Lord!)
  • Allow process_revision_directives option to be configurable #523 (commit) (thanks llc!)
  • Stop testing Python 3.7, as Flask-SQLAlchemy 3.1 stopped supporting it (commit)

Release 4.0.4 - 2023-02-02

  • Correctly obtain database URL with SQLAlchemy 2.0 #505 (commit)

Release 4.0.3 - 2023-01-29

  • Remove legacy future import in Alembic templates #504 (commit) (thanks Pamela Fox!)
  • Add SQLAlchemy 1.4 and 2.0 to the test matrix (commit)
  • Switch to pytest as test runner (commit)

Release 4.0.2 - 2023-01-18

  • Support "check" command #502 (commit) (thanks Masamitsu MURASE!)

Release 4.0.1 - 2023-01-05

  • Do not use deprecated functions in Flask-SQLAlchemy 3.0 (commit)
  • Stop building Python 3.6 (commit)
  • Remove tests from pypi package (commit)

Release 4.0.0 - 2022-11-13

  • Updates for Flask-SQLAlchemy 3.x compatibility (commit)
  • Enable type comparison and batch mode by default (commit)
  • Option to rename "db" command group to a custom name (commit)
  • Better handling of MetaData instances in templates (commit)
  • Set options correctly when revision --autogenerate is used #463 (commit) (thanks Frazer McLean!)
  • Documentation section on configuring Alembic (commit)
  • Upgrade build to pypy-3.9 (commit)
  • Add Python 3.10 to build (commit)
  • Add Python 3.11 to build (commit)
  • Specify license in project metadata #489 (commit) (thanks Frazer McLean!)
  • Remove tests from pypi package (commit)

Release 3.1.0 - 2021-08-01

  • Added list-templates command and support for custom templates (commit)
  • Alembic templates for aioflask (commit)
  • Improved project structure (commit)

Release 3.0.1 - 2021-05-31

  • Add support for Alchemical in addition to Flask-SQLAlchemy (commit)
  • Remove Flask-Script references from the documentation (commit)

Release 3.0.0 - 2021-05-15

  • Remove support for Flask-Script #403 (commit)
  • Use unittest testrunner #397 (commit) (thanks Jürgen Gmach!)
  • Remove dependency on six package #395 (commit) (thanks Jürgen Gmach!)
  • Added sphinx build files to .gitignore file #394 (commit) (thanks Jürgen Gmach!)
  • Fix Sphinx warning #393 (commit) (thanks Jürgen Gmach!)

Release 2.7.0 - 2021-02-21

  • Reuse engine from Flask-SQLAlchemy #343 (commit)
  • Update logging configuration to include Flask-Migrate's logger (commit)

Release 2.6.0 - 2021-01-19

  • Removed deprecated --head-only option #380 (commit)
  • Initialize logger with a name #374 (commit) (thanks maquino1985!)
  • Move import to the top in env.py file to avoid linter warnings #349 (commit) (thanks James Addison!)
  • Add a note to the documentation regarding logging #330 (commit) (thanks Oliver Evans!)
  • Move builds to GitHub actions (commit)

Release 2.5.3 - 2020-03-14

  • Allow Path objects to be used as directory parameter #319 Closes #318. (commit) (thanks Nicolas Schneider!)
  • Use same database URLs as Flask-SQLAlchemy #276 (commit)
  • Document how to set up with init_app method #302 (commit) (thanks Kyle Lawlor!)
  • Document how to include a message in initial migrate. #313 (commit) (thanks Bernardo Gomes!)
  • Remove checks for alembic 0.7.0 #278 Flask-Migrate requires alembic >= 0.7 in its setup.py file, which makes all the checks for this version obsolete. (commit) (thanks Tadej Borovšak!)
  • Use sys.executable in tests #290 Also re-order imports. Closes #289 (commit) (thanks John Vandenberg!)
  • Cosmetic improvements to help messages #284 (commit) (thanks Marat Sharafutdinov!)

Release 2.5.2 - 2019-05-25

  • add python 3.7 builds, remove 3.4 (commit)
  • auto-generate change log during release (commit)
  • Nicer change log (commit)

Release 2.5.1 - 2019-05-20

  • Fix __version__ file not found in sdist #267 (commit) (thanks Christoph Gohlke!)

Release 2.5.0 - 2019-05-19

  • helper release script (commit)
  • support % character in database URLs #59 (commit)
  • log command output in unit tests (commit)
  • add a section on why use this extension to the docs #101 (commit)

Release 2.4.0 - 2019-02-16

  • updates to env.py (commit)
  • Link to binds is unreachable #244 The original link redirects to flask-sqlalchemy.pocoo.org Addressing it directly works and redirects to the latest version of flask-sqlalchemy (commit) (thanks FaBrand!)

Release 2.3.1 - 2018-11-28

  • Don't swallow transaction errors #236 A change proposed by @kjohnsen from #216. You can read more starting with this comment. (commit) (thanks Nikolay Shebanov!)

Release 2.3.0 - 2018-10-05

  • use the root logger for alembic error messages (commit)
  • Add indicate-current option into history command #192 (commit) (thanks misebox!)

Release 2.2.1 - 2018-06-18

  • dependency updates (commit)
  • add pypy3 to test matrix (commit)

Release 2.2.0 - 2018-06-13

  • suppress stack traces on command errors #204 (commit)
  • Fix typo in docs #207 (commit) (thanks Grey Li!)
  • Update documentation link #206 (commit) (thanks Grey Li!)
  • #182: clear executable permission #183 (commit) (thanks Christopher Yeleighton!)

Release 2.1.1 - 2017-08-28

  • Make directory as optional parameter (commit) (thanks Diego Oliveira!)
  • Update CHANGELOG.md (commit)
  • updated README.md to use flask cli in examples (commit)

Release 2.1.0 - 2017-07-28

  • Remove the Flask-Script dependency in setup.py (commit)

Release 2.0.4 - 2017-05-31

  • Change an Alembic doc link to http from https The SSL certificate is not valid for the alembic subdomain. (commit) (thanks bovarysme!)
  • Update links pointing to the old Alembic doc #152 (commit) (thanks bovarysme!)
  • allow -x argument for migrate command #148 (commit) (thanks Tim Mundt!)
  • stop building python 2.6 (commit)

Release 2.0.3 - 2017-01-30

  • remove py33 builds, add py36 (commit)
  • Support multiple -x arguments in Flask-Script interface #103 (commit)
  • Fix autogenerate typos. (commit) (thanks Sorin Muntean!)

Release 2.0.2 - 2016-12-09

  • Merge branch 'briancappello-application_factory_kwargs' (commit)
  • support passing alembic context kwargs from constructor into init_app (commit) (thanks Brian Cappello!)
  • fix link for alembics command reference page (commit) (thanks Brian Cappello!)
  • update autogenerate capabilities (commit) (thanks Brian Cappello!)

Release 2.0.1 - 2016-11-13

  • Imports at top of file as specified by Flake8 and added branch label. Moving the imports to the top of the file will prevent an error: 'E402 module level import not at top of file'. (commit) (thanks Maico Timmerman!)
  • Fix typo #126 (commit) (thanks Wells Lucas Santo!)
  • Fix typo #123 (commit) (thanks Jeff Widman!)
  • flask cli documentation updates (commit)

Release 2.0.0 - 2016-07-31

  • add travis builds for python 3.5 (commit)
  • Support the new flask cli based on click #114 (commit)

Release 1.8.1 - 2016-07-10

  • Allow to init_app correctly without specifying db. #118 (commit) (thanks Victor Akimov!)

Release 1.8.0 - 2016-02-24

  • Allow db to be provided separately from the app (commit)
  • Added missing Python 2 version classifier to package (commit)
  • Fix the link for flask-sqlalchemy binds #99 (commit) (thanks lord63!)
  • Update the way to import the flask extension #98 (commit) (thanks lord63!)

Release 1.7.0 - 2015-12-28

  • configuration callbacks (commit)
  • Update init.py Update description of edit command. (commit) (thanks Kostyantyn Leschenko!)
  • fixed link in documentation (commit)

Release 1.6.0 - 2015-09-17

  • Add edit command #76 (commit) (thanks Jelte Fennema!)
  • Updates so that directory doesn't get overridden #78 where directory gets overridden if it is not explicitly specified in init_app. This fix allows it to be set when the Migrate object is initialized and not automatically get overridden when the init_app is called. This is a non-breaking change. (commit) (thanks Tim Martin!)

Release 1.5.1 - 2015-08-24

  • Do not generate a migration if no schema changes are found (commit)
  • Fix the merge command by allowing more than one argument. #74 (commit) (thanks Kevin Dwyer!)

Release 1.5.0 - 2015-08-01

  • Make the multi-database configuration fully automatic (commit)
  • Add sane default for db downgrade --sql #71 (commit) (thanks Anthony Miyaguchi!)
  • Add support for multiple databases migration #70 (commit) (thanks Nan Jiang!)
  • Added support for -x option (commit) (thanks jesse!)

release 1.4.0 - 2015-04-27

  • Pass custom Alembic configuration options, such as compare_type. Also the tests have been restructured for clarity. (commit)

release 1.3.1 - 2015-03-20

  • Update init.py alembic version now includes parts that are not integers (e.g., 0.7.5.post1). This change will prevent the code from trying to convert non-integer values to integers. (commit) (thanks pjryan126!)
  • Added syntax highlighting to README #44 (commit) (thanks Bulat Bochkariov!)

version 1.3.0 - 2014-12-01

  • new commands and options introduced with Alembic 0.7 (commit)
  • pep8 changes (commit)
  • Updated docs: add installation #37 (commit) (thanks Mozillazg!)
  • travis CI builds (commit)
  • travis configuration (commit)
  • Added Python 3 programming language support to setup.py (commit) (thanks Fotis Gimian!)
  • Added travis configuration (commit) (thanks Fotis Gimian!)
  • Added test-related temp_folder to gitignore list (commit) (thanks Fotis Gimian!)
  • Repaired tests to correctly run under Python 3.3 (commit) (thanks Fotis Gimian!)

release 1.2.0 - 2014-01-19

  • Added the branches command #15 (commit) (thanks Bogdan Gaza!)
  • added tests directory to tarball (commit)

release 1.1.0 - 2013-12-20

  • #12: pass a default migrations directory in the Migrate constructor (commit)
  • Merge branch 'master' of github.com:miguelgrinberg/Flask-Migrate (commit)
  • pass revision range to history command (commit) (thanks David Lord!)
  • scripting interface (commit)

release 1.0.0 - 2013-12-03

  • First official release!