Skip to content

Releases: jpagh/docassemblecli3

v26.4.2

10 Apr 23:10

Choose a tag to compare

Fixed

  • Fixed Playground installs and watch startup installs hanging behind some
    HTTP/3 reverse proxies by using fresh niquests sessions with HTTP/3
    disabled for CLI HTTP requests.
  • Fixed Playground project existence checks to read the API's JSON response
    instead of testing membership on the raw HTTP response object.

Full Changelog: v26.4.1...v26.4.2

v26.4.1

05 Apr 05:40

Choose a tag to compare

Full Changelog: v26.04.0...v26.4.1

v26.04.0

04 Apr 05:21

Choose a tag to compare

Full Changelog: v26.03.1...v26.04.0

Add project specific config files.

v26.03.1

26 Mar 00:18

Choose a tag to compare

New Features

  • New download command: You can now download a docassemble package directly from a server or a Playground project as a .zip archive.
    • Examples: da download docassemble.foobar or da download --playground testing docassemble.foobar
  • New uninstall command: Added the ability to uninstall a docassemble package from a remote server directly via the CLI.
    • Example: da uninstall docassemble.foobar

Breaking Changes & Requirements

  • Python Version Bump: The minimum required Python version has been increased from 3.10 to 3.12. Python 3.13 is fully supported.

Tooling & Developer Improvements

  • Migrated to uv: Replaced standard pip workflows with uv for faster dependency resolution, project management, and tool installation. README.md has been updated with uv-specific documentation.
  • CalVer Versioning: Introduced bump-my-version with a .bumpversion.toml configuration to manage automated Calendar Versioning (CalVer) releases.
  • Internal Refactoring: Improved code modularity in docassemblecli3.py by extracting several helper functions for parsing metadata, normalizing names, and handling Playground file uploads and watch events. This makes the watch command more robust.
  • Expanded Test Coverage: Added nearly 600 lines of new test code to test_docassemblecli3.py, fully testing the new download and uninstall commands, along with the newly refactored utility functions. The test suite now includes 47 tests, resulting in a significantly more resilient codebase.

Full Changelog: v0.5.1...v26.03.1

v0.5.1

19 Mar 23:25

Choose a tag to compare

Fixed a file-path bug that caused files in .gitignore'd directories to be installed anyways.

Full Changelog: v0.5.0...v0.5.1

v0.5.0

18 Jul 15:12

Choose a tag to compare

Added a bell notification sound that plays when the package has been installed. This is enabled by default, but can be disabled with the --no-bell flag.

You might need to change your VSCode settings to hear the sound in the built-in terminal:

"accessibility.signals.terminalBell": {
  "sound": "on"
}

Full Changelog: v0.4.0...v0.5.0

v0.4.0

08 Jun 17:28

Choose a tag to compare

Added an elapsed time display when waiting for the server to install and restart.

Full Changelog: v0.3.7...v0.4.0

v0.3.7

15 Feb 15:11

Choose a tag to compare

Changed exception handling to avoid a crash on scanning files in watch. This was happening primarily with .docx files on Windows.

Full Changelog: v0.3.6...v0.3.7

v0.3.6

12 Feb 19:16

Choose a tag to compare

The .docassemblecli config file can store additional configuration for each server:

  • directory: If the current or provided directory matches this then this server will be selected
  • playground: Default playground project to use if directory matches
  • startup: If set to "install", automatically installs package when watch starts

For example, your .docassemblecli file might look like this:

- apiurl: https://da.example.com
  apikey: H3PWMKJOIVAXL4PWUJH3HG7EKPFU5GYT
  name: da.example.com
  playground: testing
  directory: /path/to/docassemble-mypackage
  startup: install

With this configuration:

  • da watch in /path/to/docassemble-mypackage will automatically use this server
  • It will install to the "testing" playground project
  • It will install the package once when watch starts

Full Changelog: v0.3.3...v0.3.6

v0.3.3

05 Feb 21:53

Choose a tag to compare

Fixed slow startup time on watch due to scanning directories that weren't going to be monitored or installed. The following directories are always ignored by watch: .git, __pycache__, .mypy_cache, .venv, .history, build.

Added an advanced feature that doesn't have any built-in creation/modification support (yet), but if you want to try it early then you can manually add a path key to a server in your .docassemblecli config file, it will cause that server to be used if no server is provided and the path matches the directory that watch was given [default: current directory]. Additionally, if you manually add a playground key to that server, it will be used when using watch.

Full Changelog: v0.2.2...v0.3.3