Skip to content

amsdal_cli

v0.9.3 - 2026-06-15

Changed

  • Bumped runtime dependencies to amsdal>=0.9.4 and amsdal_server>=0.9.1.
  • Credentials are now required only for the cloud and serve commands. Other commands (migrations, restore, register-connection, ...) no longer authenticate and run without credentials.

Fixed

  • generate tests no longer crashes with Unsupported data type on anything/ object fields (now generated as an empty dict {}) and binary fields (now generated as bytes).
  • generate tests now fills enum/Literal fields with one of their allowed values instead of a random string that failed model validation at runtime.
  • generate tests no longer emits late registration after freeze() warnings and no longer re-imports the whole models package for every referenced model. Contrib/plugin models referenced from user models (e.g. auth/CRM models) now resolve correctly.
  • amsdal test no longer fails with ModuleNotFoundError: No module named 'models'; the application is now built before the manager is set up.
  • The cloud and serve commands again show the interactive sign-up prompt when credentials are missing, instead of surfacing a raw authentication error (the serve auto-reload worker still reports the underlying error).

v0.9.2 - 2026-06-11

Fixed

  • amsdal worker run no longer fails with "Worker is not registered." when a worker is configured. The command now resolves the background-transaction manager from the active data context via get_background_transaction_manager() instead of constructing a fresh BackgroundTransactionManager() / AsyncBackgroundTransactionManager(). Since the manager moved from a module-level singleton into AmsdalDataContext, the throwaway instance never had its worker connection registered.

v0.9.1 - 2026-06-09

Added

  • Added amsdal cloud tunnel-db command that opens an SSH tunnel to the application database through an EC2 bastion instance using an ephemeral, client-generated SSH key.

v0.9.0 - 2026-06-06

Changed

  • Bumped runtime dependencies to the AMSDAL 0.9 line: amsdal>=0.9.1 and amsdal_server>=0.9.0. Removed the direct amsdal_data>=0.6.3,<0.7 and amsdal_server==0.8.* pins; both are now resolved transitively via amsdal.
  • Migrated to the new amsdal_models / amsdal_data context API: commands now use get_class_manager() (from amsdal_models.contexts) instead of instantiating ClassManager(), and clear_default_data_context() (from amsdal_data.contexts) instead of DataApplication.invalidate() / AsyncDataApplication.invalidate(). Affects the build, restore, serve and generate external-models commands.
  • serve live-reload now unloads classes via a best-effort get_class_manager().unload_all_classes() in place of the removed ClassManager.invalidate().

Fixed

  • Test command output is no longer polluted by warnings and logs: a new invoke_quiet helper keeps stderr separate from stdout so e2e and migration assertions match exact command output.

v0.8.1 - 2026-05-08

Added

  • amsdal new now scaffolds a .env (from .env.template) containing AMSDAL_PII_CRYPTO_SERVICE=amsdal.services.fake_crypto.FakeCryptoService, so freshly generated apps boot without a PII Cryptor service. The template comments document how to switch to a real cryptor in production.
  • Generic .env.template -> .env mapping in the project copier (TEMPLATE_EXTENSIONS) for future .env-style templates.

Changed

  • Added amsdal>=0.8.10 as a direct runtime dependency so the new PII fail-closed startup behavior is guaranteed.
  • Pinned amsdal_data>=0.6.3,<0.7 directly so environments that resolve dependencies without our lock still get a version that contains AUDIT_METADATA_KEY (used by amsdal_models.managers); older 0.6.x produced an ImportError at module import time.

Fixed

  • copy_class_models() now raises a clear RuntimeError when settings.USER_MODELS_MODULE_PATH is unset, instead of crashing deep inside shutil.rmtree / shutil.copytree with an opaque error. The path is also resolved before rmtree to avoid relative-path edge cases.

v0.8.0 - 2026-02-25

Changed

  • Bumped amsdal_server dependency to 0.8.*
  • Added new migration 0006_add_on_row_click_to_dashboard_element to amsdal.contrib.frontend_configs

v0.7.1 - 2026-02-16

Fixed

  • Fixed missing await for get_transactions() call in async worker mode

v0.7.0 - 2026-02-10

Added

  • Added gen-token command for generating authentication tokens from local and cloud APIs

Fixed

  • Fixed disable_check_version test fixture to properly disable version checks
  • Fixed test_build_empty_successful tests to include app.py in expected build output

v0.6.1 - 2025-02-05

Added

  • Add support for events

v0.6.0 - 2025-02-05

Changed

  • Add support for amsdal v0.6

v0.5.10 - 2025-12-27

Added

  • Added support for cloud external connection commands

v0.5.9 - 2025-12-23

Added

  • Added support for python 3.13

v0.5.8 - 2025-10-21

Added

  • External connections

v0.5.7 - 2025-09-02

Changed

  • Allow to specify source directory

v0.5.6 - 2025-08-15

Changed

  • Allow to generate migrations for plugins

v0.5.5 - 2025-08-14

Changed

  • Changed the files of contrib plugin structure

v0.5.4 - 2025-08-14

Added

  • Plugin commands

v0.5.3 - 2025-08-01

Changed

  • Switched to use uv package manager

v0.5.2 - 2025-07-11

Added

  • Populate config_dir in AmsdalConfig

v0.5.1 - 2025-06-20

Changed

  • Adjusted migrations for new functionality

v0.5.0 - 2025-05-23

Changed

  • Adjustments for the migrations improvements

v0.4.16 - 2025-05-12

Fixed

  • Pin click version

v0.4.15 - 2025-05-01

Fixed

  • Fixed import in generated tests

Added

  • Added support for date and datetime types in tests

v0.4.14 - 2025-05-01

Fixed

  • Fixed for nested models in tests

v0.4.13 - 2025-04-14

Changed

  • AMSDAL_APPLICATION_UUID is used if exist.

v0.4.12 - 2025-04-09

Added

  • Ability to set the application uuid via AMSDAL_APPLICATION_UUID env (if not specified in .amsdal-cli).

v0.4.11 - 2025-04-07

Changed

  • Quite build on most commands

v0.4.10 - 2025-04-03

Fixed

  • Fix for migrations detection

v0.4.9 - 2025-04-01

Fixed

  • Fix for M2M migration generation for JSON format.

v0.4.8 - 2025-03-25

Fixed

  • Fix for python model generation

v0.4.7 - 2025-03-24

Added

  • Added support for integer type as attribute
  • Async hooks

Changed

  • typer version updated

v0.4.6 - 2025-03-21

Fixed

  • Docs update and fixes

v0.4.5 - 2025-03-17

Fixed

  • Fixed reset command
  • Adjusted reg-conn help
  • Added integer as supported type to the test generation

v0.4.4 - 2025-03-13

Added

  • Added ability to register csv connection

v0.4.3 - 2025-03-11

Fixed

  • Fixtures build fixed

v0.4.2 - 2025-03-07

Fixed

  • Model and test generation fixes

v0.4.1 - 2025-03-05

Added

  • Register connection command

Fixed

  • Generate async transaction in async mode

v0.4.0 - 2025-02-26

Changed

  • Update amsdal version

v0.3.6 - 2024-12-16

Fixed

  • Fixed sync-db auth error (sync-db-auth-error)

v0.3.5 - 2024-12-14

Changed

  • Async build in migrations apply (async-build-in-migrations)

v0.3.4 - 2024-12-10

Added

  • Run async workers (run-async-workers)

v0.3.3 - 2024-12-10

Fixed

  • Init internal models (init-models)

v0.3.2 - 2024-12-10

Added

  • Async support (async-support)

v0.3.1 - 2024-12-02

Fixed

  • Fix fo restore command (restore-command)

v0.3.0 - 2024-11-28

No significant changes.

v0.2.5 - 2024-11-04

Added

  • Python3.12 support added (python3.12-support)

Fixed

  • Show correct env on deployment deletion (correct-env-on-deletion)

v0.2.4 - 2024-10-28

Added

  • Added missing generated migrations check on deploy (missing-migrations-check)

v0.2.3 - 2024-10-22

Fixed

  • Fix for worker models init (worker-init)

v0.2.2 - 2024-10-18

Added

  • Pagination added to restore command (restore-pagination)

v0.2.1 - 2024-10-18

Changed

  • Update for sync DB command (sync-db-update)

v0.2.0 - 2024-10-17

Added

  • AMSDAL Glue integration (glue-integration)

v0.1.21 - 2024-09-18

Added

  • Added google style docstring (docstring)

v0.1.20 - 2024-09-05

Added

  • Commands to run worker (worker-commands)

v0.1.19 - 2024-08-26

Added

  • Generate and run tests (tests)

v0.1.18 - 2024-06-07

Added

  • Cloud operation to delete environment (cloud-operation-to-delete-environment)
  • Command to generate permission fixtures (command-to-generate-permission-fixtures)

Changed

  • Improved output for several commands (improved-output-for-several-commands)

Fixed

  • Command suggestions for migrations creation (command-suggestions-for-migrations-creation)

v0.1.17 - 2024-05-24

Added

  • Default .amsdal directory on new project creation (default-amsdal-directory-on-new-project-creation)

v0.1.16 - 2024-05-22

Added

  • GIT integration for environment commands (git-integration-for-environment-commands)

v0.1.15 - 2024-05-17

Changed

  • Better interaction with environments (better-interaction-with-environments)

v0.1.14 - 2024-05-15

Added

  • Support for environments (support-for-environments)

v0.1.13 - 2024-05-09

Fixed

  • Unique fields generation (unique-fields-generation)

v0.1.12 - 2024-05-03

Added

  • clean command (clean-command)

v0.1.11 - 2024-04-25

Added

  • Command for CI/CD manifest generation (command-for-ci-cd-manifest-generation)

v0.1.10 - 2024-04-25

Added

  • Silent deploy (silent-deploy)
  • Check missing secrets and dependencies (check-missing-secrets-and-dependencies)

v0.1.9 - 2024-04-12

Changed

  • Added back migrations command and marked as deprecated (added-back-migrations-command-and-marked-as-deprecated)

v0.1.8 - 2024-04-12

Changed

  • Migration commands improvements (migration-commands-improvements)

v0.1.7 - 2024-04-02

Fixed

  • Fix: removed init all class versions (fix-removed-init-all-class-versions)

v0.1.6 - 2024-04-01

Fixed

  • Fixed migrate apply command: init all class versions (fixed-migrate-apply-command-init-all-class-versions)

v0.1.5 - 2024-03-29

Fixed

  • Fix for serve command (fix-for-serve-command)

v0.1.4 - 2024-03-28

Changed

  • Renamed migrations to migrate command. Improved showing info about applied migrations (renamed-migrations-to-migrate-command)
  • Added zero migration (zero-migration)

Added

  • Commands to mange Basic Auth and Allowlist (commands-to-mange-basic-auth-and-allowlist)

v0.1.3 - 2024-03-25

Changed

  • Remove migrations initialize command (remove-migrations-initialize-command)

v0.1.2 - 2024-03-22

Fixed

  • Fixtures processing (fixtures-processing)

v0.1.1 - 2024-03-21

Fixed

  • Build transactions first (build-transactions-first)

v0.1.0 - 2024-03-21

Changed

  • Upgraded amsdal_utils, amsdal_data, amsdal_model, amsdal and amsdal_cli dependencies to 0.1.* (upgraded-amsdal-utils-amsdal-data-amsdal-model-amsdal-and-amsdal-cli-dependencies)