Release notes 0.3.8¶
The 0.3.8 series. The newest release is 0.3.8.0. Entries are written for users; the full changelog has the technical detail.
0.3.8.0 (latest)¶
Released 2026-11-15.
Changed: what pip install tdfs4ds installs
- A plain
pip install tdfs4dsnow installs the feature store and the app, without the assistant and its language-model packages. It installs in seconds on Python 3.10 to 3.13, where it used to fail on Python 3.13 and in some 3.11 environments ("Failed to build pandas"). - For the assistant, LLM documentation, the vector index, the query optimizer and AgentOps:
pip install tdfs4ds[agent].pip install tdfs4ds[serve]still installs the same set as before. - An environment you upgrade keeps its packages: nothing breaks. On a fresh install, a call that needs the assistant says which command to run. In the app, those pages are greyed with the same command.
- Python 3.10 or later is required.
New
tdfs4ds.read_dataset(name, as_of=...)reads a dataset at a business date, without creating a view or moving a TimeManager.tdfs4ds.dataset_sql(name, as_of=...)returns the SQL. A bare date means that business date in your calendar's zone.open_session(data_domain=..., min_version=...)replaces the usual notebook header in one call.
Improved
- A roll_out of processes with a FilterManager sends far fewer statements: on a trial system, 714 to 417 for 2 processes over 3 dates, and 110 to 41 when everything is already done.
import tdfs4dstakes about a third of the time it took (6.6 s to 2.2 s).
New: see and cut what the framework itself costs
tdfs4ds.profile()times one call by phase (statements, database time, Python time);tdfs4ds.run_profile(call_id, client=)adds the database's own figures and says whether the call is latency-bound (many small statements on a distant system) or work-bound (SQL, primary index, partitioning).- The store keeps the cost per call and phase (
FS_CALL_PHASES, filled from DBQL by the existing harvest).tdfs4ds.framework_cost()reads it, and Performance > Framework cost in the app shows it: safety checks, framework steps and work, per process and per day. tdfs4ds.register_framework_monitoring(data_domain=...)stores the cost as features, so it can be forecast.tdfs4ds.install_agent_extra()installstdfs4ds[agent]on request;launch_appand the configuration helpers offer it.
Improved: fewer statements, same results
- A roll_out of 2 processes over 3 dates with 2 segments: 331 to 238 statements. An unchanged re-registration: 68 to 43. Stored rows and follow-up rows are identical.
- The ingestion checks (row count, duplicate keys, NULL keys) are one statement; the skip decision of a date and its segments is one read.
- Registering a view again unchanged is recognised and skipped (
SKIP_UNCHANGED_REGISTRATION = Falseturns it off).
Optional speed settings (all off by default)
GROUP_BATCH_STATEMENTS = Truesends the MERGEs of a batch in one request.roll_out(..., max_workers=N)runs the independent processes of a date in parallel. It pays when they write different tables and the range has more than about 3 dates.SERVER_SIDE_BATCH = 'auto'sends oneCALLper batch to a procedure installed once withinstall_server_side_batch();check_configuration()and the sanity checkserver_batchverify it.- Profile first: these help when the time is spent in round trips, not in the database's work.
Fixed
- The sanity check no longer warns
redundant_key_columnon the recommended bucket pattern (the bucket column in the entity, the primary index on the rest of the key). - A re-registration that leaves out
close_absent_entitiesnow warns when it switches the option off.