Changes for version 0.025.0 - 2026-11-30

  • Security
    • On Windows, characters cmd.exe would act on are taken out of BI_ALERT_SUBJECT before the delivery command runs.
  • Enhancements
    • Time buckets: span=1dec and span=1c group by decade and century (2dec, 5c and so on count from year 0). A column that holds only a year, such as 1887, now takes the year, decade and century buckets; it gave (unparseable) before. The Time bucket menus offer both.
    • Time range, for historical data: first and last decade and year in the data, counted from the chosen column's own earliest and latest day, not from today. They add ordinary date filters, so links keep the dates. /api/range lists them as windows.
    • Print: every printout has a heading naming the view's filters, time range and duplicate setting. New Print shown prints only the rows on the screen. New PDF button (GET /export?format=pdf, Latin-1 text, up to 50,000 rows) makes the PDF on the server, and Print offers it past 10,000 rows.
    • Alerts without cron: a saved canvas's Alerts panel sets limits on its numbers, checks them (Check now, Try it) and lists recent alerts. Set alert_every to have the server check on a timer and alert_notify_cmd to deliver what it announces. script/bi-alert shares its throttle.
    • Uploading a CSV, TSV, PSV or JSON file that is not UTF-8 (Excel's plain CSV on Windows is Windows-1252) now reads it correctly, and the table page says which encoding was used. UTF-16 files with a BOM work too.
    • Excel workbooks with several sheets: /open sends you to the table picker, which lists each sheet; ?sheet=NAME (or it=NAME) opens one, including a sheet whose name has spaces.
  • Bug fixes
    • Hour, minute and second buckets start on the local clock. They were counted in UTC: 30 or 45 minutes out in zones such as India and Nepal, and 6h and other wide buckets did not start at midnight.
    • On macOS and Windows, dates before 1900 or 1970 are read: weekday, week, hour and time buckets gave (unparseable) or nothing for them.
    • On Windows, a canvas alert's delivery command (and bi-alert's) is started without fork, which could end the running server.
    • On perl 5.28 every save (an export, a calculated field, a canvas) was a 500 error, "Undefined subroutine called", and so was bi-extract. A stray "no autodie" in the file that takes the save lock left flock and unlink undefined there. It is gone, and a test stops it coming back. Fixes https://matrix.perl-magpie.org/results/07fdfa68-e6ea-11f1-a97f-a124ff86eec4
    • Calc fields: a formula that cannot be read, such as "amount +", is refused when you save it, with a message that names the field. It was saved, and found out each time the table was drawn. A formula that names a column the file does not have yet is still kept: it may come from a lookup, an extraction or a cross-row column.
    • Group values: a group with no values is refused. It matched no row, so every row showed as (other).
  • Documentation
    • Tutorial: a five-minute tour, and a new chapter, Map: colours, outlines and shading, which takes the advanced options out of the Map chapter.
    • Tutorial: the two chapters called "Add columns from another file" are now Merge and Lookups, and the glossary and FAQ explain the words and the buttons a new reader meets first.
  • Other
    • New prerequisite PDF::API2 2.042 or later, which writes the server-side PDF.
    • A PDF of more than 2,000 rows is made in a separate process, so the server goes on answering (not on Windows).
    • The column headings' tooltip says a column can be dragged.
    • CI tests the oldest PDF::API2 allowed, and Perl 5.42 on Windows.
    • New t/first-time-user.t: first-use flows from an empty install, with bare, empty and untidy input, repeated calls, and each saved-model panel given input it cannot use.
    • A test failed where Redis::Fast is installed. Fixes https://matrix.perl-magpie.org/results/890e4078-e89c-11f1-a7a2-04e96d8775ea

Documentation

check the measures of saved Database::BI canvases against thresholds
build the extracts of Database::BI's accelerated datasets
fill Database::BI's geocode cache for a column of places
start Database::BI, or run one of its commands

Modules

Web-based Business Intelligence viewer for data files
the checks behind script/bi-alert and the canvas Alerts panel
Natural language to analysis spec
Where a cache keeps its files
Safe recursive-descent expression evaluator for Database::BI
Make the password_hash for the login
Home picker, filesystem browser, table viewer, left-join engine, result filter, export, and file upload
SQLite materialisation cache for Database::BI
Choose the language of messages, and give them in it
The application's messages in American English
Automatic statistical insights for Database::BI (Phase 5.2)
The outline of the area around each map marker
Table-agnostic adapter around Database::Abstraction
Resolve a location column to coordinates, once per distinct value
Hash and check the login password
A table as a PDF
Fetch a URL only if it leads to the public internet
Session cookies that are Secure over https
Narrative summary generation for an analysis result
the chapters of the in-application tutorial
Shared utility functions for Database::BI modules

Provides

in lib/Database/BI/Controller/Dashboard.pm