Release notes 0.3.8¶
The 0.3.8 series. The newest release is 0.3.8.2. Entries are written for users; the full changelog has the technical detail.
0.3.8.2 (latest)¶
Released 2026-11-16.
New: the app and the assistant in Docker, with a login page
tdfs4ds.create_docker_deployment("tdfs4ds-docker")writes a ready-to-run folder from your session: the compose file, the image, the settings, the list of environments, and start scripts. Then.\start.ps1(Windows) or./start.shstarts it and opens the page. See Docker with a login page.- The page opens on a login: choose the environment (a Teradata system), give your own credentials. Each person works in an app process of their own, with their own database rights.
- An environment typed on the login page is kept in the list once its logon has succeeded. You can also ask the page to remember your credentials for an environment: they are stored encrypted, with the key in your browser.
- Programs can call the assistant's
/v1API with a key for one environment.
New: python -m tdfs4ds.serve --login. The login page of the Docker deployment, on your own computer: choose the environment, log in with your own credentials, each person in an app process of their own. Add --min-profile admin for every page. See Docker with a login page.
New: the app shows what it is doing, and the Overview report is much faster over a slow link. The status bar lists every slow request with its elapsed time and its current step, the server no longer freezes while a page loads, and a request that takes more than 3 seconds is logged with its number of database statements. On a trial system the Overview report went from 619 statements (37 s) to 5 (about 3 s) with identical data; the Health check is no longer computed inside it (it shows the last result with its age, or a button). See When the database is far away.
Fixed: log lines. The "Vector Store auth" line and the server's own prefix were each written twice; the server log is one line per event and cannot repeat a line written to the same terminal.
Changed: pip install tdfs4ds installs the assistant again. One command installs the feature store, the app and the assistant (tdfs4ds[agent] still works and adds nothing). The 0.3.8.0 install problem is fixed, and import tdfs4ds stays fast.
New: full capabilities on your own computer. The pages you see depend on your database roles, and without them you were limited to the business pages. Set min_profile: admin on an environment (or TDFS4DS_SERVE_MIN_PROFILE=admin) to give everybody who logs on there at least that profile. Your database rights are not changed.
New: update the model API key in the app. Parameters shows whether a key is set (never the key); leave the field empty to keep it, or type a new one. In Docker the key is saved encrypted for everybody on the server and survives a restart. Changing the model name no longer erases the key.
Changed: the Docker image starts the login page. Your existing .env still works (its host becomes the only environment). TDFS4DS_SERVE_MODE=single gives back the previous behaviour. Outside Docker, python -m tdfs4ds.serve is unchanged.
0.3.8.1¶
Released 2026-11-16.
Improved: a roll_out that finds everything done, and a re-registration that changes nothing, cost far fewer statements
- 7 processes over 5 dates, all done: 124 to 47 statements, 12 s to 5 s, and no statement at all per skipped (process, date) pair. The calendar's cursor moves only when a date has something to compute. Stored rows, follow-up rows and results are identical.
- Registering a process again with a view re-created from its original SQL is recognised as unchanged on a domain clock (64 to 53 statements). When a registration takes the full path, one INFO line says which field differs.
- In the log, the "Updated view ... TIME_ID" lines of skipped dates no longer appear.
- Fixed: a registration could, rarely, leave two rows for one process in the TimeManager catalog, so the process catalog listed the process twice. The duplicate write is now skipped.
- Compatible with 0.3.8.0: stored values, follow-up rows and results are identical, and a 0.3.8.0 client keeps working on a store the new one has touched.
New
run_profile(call_id)works later in the session without the profile object;run_profile(call_id, flush=True)asks the database to write its query log first. Errors that fail by design are counted apart (N_EXPECTED_ERRORS).upload_features(window_length='31 days')/set_process_options(pid, window_length=...)declare a deliberate window length: the sanity check reads it as intended.- An accepted finding keeps the severity it had; the report says when the acceptance is no longer needed.
open_session(agentic_features=False).
0.3.8.0¶
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.