Skip to content

Latest commit

 

History

History
145 lines (84 loc) · 6.66 KB

CHANGELOG.md

File metadata and controls

145 lines (84 loc) · 6.66 KB

Changelog

v1.2.0 (2024-08-05)

Feature

  • Add functionality to generate a stub migration (d490f6e)

v1.1.5 (2024-07-04)

Fix

  • Bump -core version requirement (4cfc75b)

v1.1.4 (2024-04-17)

Fix

  • bump-core: If 'default=' is a callable, it's result is NOT stored in the CREATE statement (cdc28ee)

v1.1.3 (2024-03-20)

Fix

v1.1.2 (2023-12-04)

Fix

  • Ensure stdout/stderr are written (flushed) before exiting (da8af45)
  • Update db_type with None so postponed() error doesn't get raised (845aab3)
  • Update db_type with None so postponed() error doesn't get raised (c353598)

v1.1.1 (2023-11-22)

Fix

  • cli: Some properties are not yet known before the cli args are parsed (a6909a2)
  • Moved types to own file for re-use (e85228d)

v1.1.0 (2023-11-20)

Feature

  • You can now add an 'input' to the pyproject to automatically select the db definition file (66b1fcc)

v1.0.1 (2023-11-20)

Fix

  • config: More config via toml and load dotenv even if config via toml (f077ce7)

v1.0.0 (2023-11-17)

Feature

  • Allow --output-format and --output-file to create and alter (b3351a2)
  • Db_type from config toml (ad31040)
  • 'alter' via cli should work now! (a734a8c)
  • Changed @commit:file notation to file@commit for readability (f6abefe)
  • Load file from disk, git or stdin for 'alter' (490dbe1)
  • Started on getting files from git for ALTER (075f2fd)
  • Rewriting cli to Typer (673f208)
  • Work in progress to support ALTER statements (f346073)

Fix

  • Bump -core to at least 0.2.0 (f8de3b7)
  • Update examples and tests to work with latest (dev) version of p2s-core (2d0a5db)
  • If define_table code is inside a function, --function can be added to specify this. define_tables(db) will be used by default. (6359e48)
  • Unknown and local imports in model file will be removed if they cause issues (2d3ae75)
  • Made 'create' work again with new cli (cf2f175)

Breaking

  • could change imports like from pydal2sql.magic!!! (a477b4d)
  • whole cli will change (673f208)

Documentation

v0.4.0 (2023-07-21)

Feature

  • cli: Use tool.pydal2sql in pyproject.toml to set default settings (which can normally be set with cli flags) (9c67f34)

v0.3.1 (2023-07-20)

Documentation

  • readme: Add another video (ce4312d)

v0.3.0 (2023-07-20)

Feature

  • 🪄✨ Add--magic™️ to the cli tooll! (b3f2409)

v0.2.4 (2023-07-20)

Docs

  • doc(readme): added instruction ASCIInema

v0.2.3 (2023-07-20)

Fix

  • Db type sometimes was an empty string, which is not None (d129cad)

v0.2.2 (2023-07-20)

Fix

  • Moved rich from dev to actual dependencies (03409c0)

v0.2.1 (2023-07-20)

Fix

v0.2.0 (2023-07-20)

Feature

  • Added simple cli where you can input some Python define_table statements and get CREATE TABLE SQL as output! (edc60c4)

v0.1.0 (2023-07-20)

Feature