n8n/packages
konstantintieber 0d8c38917a
refactor(core): Limit the backfill to the compaction threshold
A report no longer carries a day older than the day-to-week compaction
threshold minus one day: 179 days by default. No weekly row can be
inside that window, so the backfill no longer needs to find the newest
weekly row. getDailyDataStart() is removed. The first owed day now
comes from the existing getEarliestDataDate(). The limit replaces the
730-day cap.

The day of margin covers Postgres, which dates the compaction
threshold in the session's time zone rather than in UTC.

getEarliestDataDate() now parses the SQLite datetime string as UTC.
Before, it read it as local time, so the insights settings could show
the day before the first data on a server outside UTC.

LOCAL_VERIFICATION.md no longer says that the report reads insights as
the instance owner.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 11:05:29 +02:00
..
@n8n fix(Mistral Cloud Node): Support citation reference chunks (#38952) 2026-09-24 15:13:31 +00:00
cli refactor(core): Limit the backfill to the compaction threshold 2026-09-25 11:05:29 +02:00
core chore: Share the binary-file node helper between execution contexts (#39473) 2026-09-24 13:49:29 +00:00
extensions/insights 🚀 Release 2.40.0 (#38711) 2026-09-15 13:02:15 +03:00
frontend fix(editor): Prefill the server URL in the Mistral Vibe connector link (#39518) 2026-09-24 15:08:09 +00:00
modules fix(core): Summarize saved credential type policies against known credential types (no-changelog) (#39191) 2026-09-22 13:58:58 +00:00
node-dev build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
nodes-base feat(core): Add project-scoped selective promote endpoint (no-changelog) (#38434) 2026-09-24 14:07:29 +00:00
testing feat(core): Connect Preview and integrations to the agent queue (#39468) 2026-09-24 14:24:38 +00:00
workflow fix(core): Run one node of a tool through the node that runs it (no-changelog) (#38759) 2026-09-24 12:26:45 +00:00