Skip to content

v0.6.0

Choose a tag to compare

@SepineTam SepineTam released this 05 Jul 08:09

NBER CLI v0.6.0 Release Notes

What's New

Database Layer Migration

  • The database layer now uses SQLModel and SQLAlchemy. All feed, query, download, info, and info-cache tables are declared as SQLModel models with explicit indexes.
  • SQLite URLs are supported. Database paths can now be specified as sqlite:///path/to/nber.db in CLI arguments and configuration.
  • db init and db migrate accept sqlite:/// URLs. The --db-path argument and new_db_path positional argument now parse URLs and file paths uniformly.
  • Transactions are explicit. Feed fetches, cache cleanups, and logging writes open a SQLAlchemy Session and commit before returning.
  • Schema management is centralized. Table creation and migrations use SQLModel metadata instead of hand-written CREATE TABLE statements.

Configuration

  • config.schema.json now describes the database path as a "Path or sqlite:/// URL."

Dependencies

  • Added sqlmodel>=0.0.24 and its transitive SQLAlchemy dependencies to the package requirements.

Tests

  • Added CLI tests for sqlite:/// database path handling.
  • Updated database tests to assert SQLModel-backed schema creation and migration behavior.
  • Updated info-cache tests to match the new database internals.

Agent Plugins

  • Plugin manifests and marketplace metadata are synchronized to version 0.6.0.

Installation

uv tool install nber-cli==0.6.0
# or
pip install nber-cli==0.6.0
# or
uvx nber-cli==0.6.0

Full Changelog: v0.5.0...v0.6.0
Download: v0.6.0 Release