Changelog

What changed in LOIS, version by version.

All notable changes to this project are documented here. Versions and dates correspond to the repository's v* release tags; entries are summarised from the commit history merged into develop/master between tags, not hand authored per feature.

[0.12.0] - 2026-11-24

SPECFON v13 and v14 (NO-02 v01.17, NO-08 v01.07), SPECMIG v14 and client tracking ticket TRK-085.

Added

  • Composed couplings: a coupling Reference ticked "composed" carries a Nomenclature (ordered child articles with quantities). Its PU, PRI and site quantities are computed from the children; it has no M3 code and can still be added to offers and configurations while all its children are active with an M3 code. Default discount 0 %; M3 export is blocked.
  • Coupling References get the M3 pattern code and label, assembly type, "welded" and "composed" flags; assembly Families get a type. The M3 code is required on a non-composed coupling, empty on a composed one, and unique.
  • Range discounts on References and customer accounts compute the default line discount of an offer; the KIT discount is editable (TRK-085).
  • Hose configurator: connection type tiles ("Extremite"), Family vignettes, a sub-step stepper and a Zone 4 summary.
  • Taken-over M3 orders: customer reference, M3 line and sub-line numbers, KIT detail sub-lines, confirmed delivery date and comments. Ordered hoses keep their frozen descriptive data, their composition and every certificate edition.
  • Bulk import (SPECMIG v14): 25 ARNO nomenclature, 42 HOAR homologation elements, and 07 COCO, 45 CMDE, 46 LICO, 50 FLCO, 51 CERT, 52 CFCO now write real entities.

Changed

  • Coupling subclass is a single value (quick coupling, threaded, grooved, food/chemical, flanges); the accessory subclass stays multi-valued. connection_type, norm_thread and norm_shank leave the coupling Family. Existing data is migrated.
  • Homologation compositions are numbered, made of References only (no Family) and renumbered on removal; the approval code is unique.
  • Matricules have no separator (H01964); stored values are rewritten. Order line uids use the LICO prefix.
  • An order line whose M3 code is unknown to the catalogue is kept without a Reference instead of being refused.
  • "KIT nomenclature" wording becomes "KIT detail".

Fixed

  • Homologation descriptive state numbers, approval code and designation are no longer length-limited; the free-text fields wrap.
  • Assembly and accessory References no longer carry code_m3_mtr; coupling gender is optional; re-running a CREATE import adopts seeded list values instead of failing.

[0.11.1] - 2026-10-30

Fixed

  • Downloading the quote right after "Generate quote" no longer fails: the page reused, for up to 50 seconds, the cached link to the previous PDF, which the regeneration deletes. The link is now fetched again after each generation and never served from cache, which also covers its one-hour expiry (TRK-068).

Changed

  • CI and Docker images pin Node 22.23.4 (October 2026 security release).

[0.11.0] - 2026-10-28

Client tracking tickets of 2026-10-22 (TRK-0xx refers to the ticket id in TRACKING-LOIS.20261022.FNE.xlsx) and the legacy certificate import.

Added

  • Legacy M3 orders and their certificates: the lois-legacy-orders command (pnpm legacy-orders) reads signed certificate PDFs and the M3 sales extract, and creates the cited orders (origin "M3 history import"), their kit and per-hose component lines, the ordered hoses (matricules normalised to H-01964) and their certificates. The ordered-hose page shows the certificate with its SHA-256 and a download link; the list and the order page show the certificate status.
  • The offers list shows the amount excl. VAT, the margin rate and the salesperson (TRK-064).
  • Offers past their validity date are declared lost ("No response") every night (TRK-065; OFFER_EXPIRY_ENABLED, OFFER_EXPIRY_CRON).
  • Offers carry a shipping mode, "Deliver to the customer" by default (TRK-069), and show the customer's payment terms from M3, "30 days end of month" otherwise (TRK-070); both are printed on the quote.
  • A bare hose added as a simple article takes an optional requested length, shown on the line, the order and the quote (TRK-058).
  • The hose configurator takes the customer's inner diameter and working pressure, which narrow the hose step, and inner/outer material pre-filters (TRK-053, TRK-054); a criterion narrowed down to one value is ticked automatically (TRK-056).

Changed

  • "Customer delivery time" becomes "Ex-works lead time", picked from 24-48 hours to 1-2 months or "to be defined"; existing offers are converted (TRK-061, TRK-062).
  • Declaring an offer lost needs a reason only (TRK-066).
  • The quote's first line column prints the M3 code (TRK-072).
  • The article search popup uses the full width with a sticky header and a pinned add button, and the quantity step shows the stock (TRK-049, TRK-050, TRK-059).
  • The configurator qualification is one line: internal test certificate, TMD, PED and its category (TRK-051).
  • lois-specfon moves to the SPECMIG V12 delivery.

Fixed

  • A configurator browse step no longer applies filters selected on another step.

[0.10.0] - 2026-10-19

Changed

  • The devis PDF follows the client mockup (GT Devis1.xlsx, "Exemple devis"): Trelleborg logo, the business account's address, a "Devis" / "Sales Quote" table (quote number, customer and M3 code, VAT number, client reference, contact, request date, validity, ex-works lead time "subject to prior sale, to be confirmed before order", depot), a lines table with article code and VAT % columns, additional costs, a terms block beside the totals, the sales terms sentence and the company footer on every page. Fields LOIS does not hold yet (depot, transport, other costs, shipment method, payment terms) are printed with an empty value.

Fixed

  • French amounts on the devis PDF print "1 526,00 €" instead of "1/526,00 €".

[0.9.0] - 2026-10-12

Client workshop tracking tickets for scope 6 "Offres & devis" (TRK-0xx refers to the ticket id in TRACKING-LOIS.xlsx).

Added

  • Offers have a "VAT applicable?" checkbox, ticked by default (TRK-041). When it is cleared, the totals and the devis PDF show "VAT not applicable" and the total incl. VAT equals the total excl. VAT.
  • The Paramétrage screen gains a "Global parameters" section (UX-17 section 2): the VAT rate (default 20 %), the default customer delivery time and the homologation alert delay, editable by the administrator only (TRK-042).
  • Each offer line carries an optional client marking, editable from the line dialog and printed on the devis PDF (TRK-037).
  • The add-article and edit-line dialogs show catalogue unit price, discount rate and displayed unit price; changing the discount updates the displayed price and the reverse. The default discount still comes from the discount rule (TRK-045).
  • The article search popup is wider and shows the available quantity at Clermont (D01) and Lyon (D02) (TRK-043).
  • Each offer line with an article shows its stock availability: "Available Lyon", "Available CFE" or "Unavailable" (TRK-047).

Changed

  • "Valid until" defaults to today plus one month, or the 1st of the following month when that day does not exist (TRK-033).
  • "Client request date" is renamed "Customer consultation date" and "Delivery deadline" is renamed "Customer requested date" (TRK-035, TRK-038).
  • "Validity duration" becomes "Customer delivery time", chosen from 1, 2, 3, 5, 10, 20 or 40 days; existing values snap to the nearest allowed one (TRK-039).
  • Discount rates are typed and shown as percentages (20, not 0.2), with up to two decimals (TRK-048).
  • Dialogs and sheets no longer close on a click outside them; Escape, the close button and the dedicated buttons still close them (TRK-044).
  • The offer VAT rate is no longer typed by the seller: each offer snapshots the global VAT rate when it is created or when VAT is switched back on (TRK-040).

Fixed

  • Editing a simple-article offer line works again: the dialog rejected percentages silently and never showed field errors (TRK-022, TRK-005).

Removed

  • The client marking field of the offer header; existing values were copied onto the offer's lines (TRK-036).
  • The VAT rate column of the offer lines table (TRK-046).

[0.8.1] - 2026-10-09

Fixed

  • The bulk import no longer fails on a fresh environment's 00 LOVA rows for gender m / f: when the base seed already holds a value with the same code in the same list, the import takes that row over (workbook uid and labels) instead of inserting a second one, which the unique code-per-list rule added in 0.8.0 refused. The coupling references that point at those values import again.
  • The compose seed service forwards the SEED_ADMIN_* variables, so the administrator bootstrap account can be created from it.
  • In the production overlay, maildev joins the reverse-proxy network. Every deploy that recreated it made the final nginx -s reload fail, and the backend could not reach its SMTP port.

[0.8.0] - 2026-10-09

Added

  • The Paramétrage screen (SF-11 / UX-17 section 1), reached from the Administration > Parameters sidebar item at /parameters: pick a business value list (LOVA) and add values or edit their French and English labels and their Active/Inactive status. The Expert catalogue and the administrator edit; every other profile reads. A value's code cannot change after creation.
  • Value list items carry an active flag. Inactive values are no longer offered in any dropdown (catalogue fiches, homologations, chemical compatibility, lost-offer reasons) but stay on, and remain editable on, the records that already use them.

Changed

  • A value code is unique within its list; the migration soft-deletes live duplicates, keeping the referenced or oldest row.
  • Value-list administration is gated on the Parameter permission (AN-03 §6.3.12) instead of the removed Configuration permission.

Removed

  • The unlinked /configuration/value-lists page and the value-list create, delete, restore and replace-all API, which SF-11 forbids and which orphaned the links held by chemical compatibilities, homologations and offers.

[0.7.1] - 2026-10-08

Fixed

  • The deploy migration and seed steps, and the pnpm docker:*:{migrate,seed,bulk-import} scripts, attach only their one-shot service. The minio-init container added in 0.7.0 exits by design, which made compose abort the step before the migration ran and left the v0.7.0 staging deploy with its stack stopped.

[0.7.0] - 2026-10-08

Added

  • The Flexible configurator keeps each hose end's crimp seal in sync with its coupling: a ferrule coupling adds one locked seal under the end's first Montage, and the seal is removed once no ferrule coupling remains. The user is told when a seal is added, and a missing seal target is announced before validation blocks on it (NO-04, UX-09).
  • Closed-set catalogue fields (subclass, unit, gender, coupling family, elbow angle) are entered through selects fed by the shared value lists.
  • Client-side form validation messages are translated in every locale instead of showing Zod's built-in English.
  • A bulk-import compose service with host volumes, and a dry-run script that builds its own input path.

Changed

  • The article catalogue, the welded-coupling configurator and the bulk import follow NO-02 v01.13: new article properties for hoses, couplings and accessories, two-decimal prices, fixed units, the group code, the new value lists, structural UID prefixes, and business codes that are never reused. The welded-coupling configurator drops the automatic nut and its ID/ISO/angle/family filters in favour of a welded-connection filter.
  • The bulk import maps the V11 datasets per MI-04 v01.05 and MI-07 v01.06.
  • Breaking: a family subclass outside the NO-02 subclass ENUMs, a HOSE or COUPLING family with the standard subclass, a reference unit other than m, cm or pce, and an elbow angle outside its value list are now rejected.
  • Breaking: the crimp seal is triggered by a ferrule coupling subclass rather than by the jupe Montage subclass; a migration rewrites the stored trigger row.

Fixed

  • The crimp-seal sync is transactional and repairs a missing or duplicated seal.
  • Validation bounds are formatted for the active locale, and reference number fields carry labels.
  • The family group picker is associated with its label.

[0.6.0] - 2026-09-21

Added

  • A bulk import tool, @repo/bulk-import, implementing the SPECMIG (MI) exchange formalism as a standalone CLI: it reads the delivered Excel workbooks, applies formalism controls only - type, mandatory, unicity, ENUM membership, foreign-key integrity - and reports every failure through the specification's own E00-E08 catalogue. Rows are processed independently and the run always completes the whole delivery. It offers a CREATE and an UPDATE mode, a --formal-only dry run for data producers to iterate against, result write-back into the delivered workbooks, and a machine-readable report carrying the business-identifier ledger. Twenty-five of the twenty-seven notions migrate; the ordered hose and the certificate ship blocked, with the reason reported, because the entities they need do not exist yet.
  • The tool places each workbook on the notion its name declares and runs it in the position the catalogue gives that notion, so a delivery numbered against a different migration version still imports in dependency order. Columns the delivery renames, invents or omits are reported per file rather than adopted, since the specification's templates are the contract.
  • The technical user the migration writes as is seeded with the database rather than configured through an environment variable.

Changed

  • The seven article groups are migration data, supplied by the delivery, rather than seed data written at bootstrap.
  • Users are assigned business identifiers by the same generator as every other entity, and the delivered user file owns the user referential.
  • The inch/millimetre correspondence is modelled as a half-open range, which is what the diameter lookups it serves actually need.

Fixed

  • The business-identifier counters are reseeded correctly after an import, so an identifier generated later by the application can no longer collide with a migrated one. The previous implementation reported success while doing nothing.
  • A CREATE import empties only what the import itself creates, and warns about data it destroys that no delivery can restore.
  • An unresolved reference now names the row it is actually waiting on, instead of reporting a cascade of failures with no cause.

[0.5.0] - 2026-09-14

Added

  • An implemented use-cases page at /use-cases, next to the release notes in the same information rail: the use cases LOIS actually delivers, grouped by version and, inside a version, by the SCOPE of SPECFON GN-04 §1.4.3.1, each entry naming the specification reference that defines it, and closing on the scopes not yet delivered. The document is held in French only, like the specification it reports on; only the page title and lede follow the locale.

[0.4.0] - 2026-09-08

Fixed

  • Presigned MinIO URLs are signed against the origin the browser can actually reach, so an attachment download link works from outside the container network.

[0.3.0] - 2026-08-25

Added

  • Commercial offer management and the devis (Scope 7): versionable offers, offer lines for simple articles, Flexible and welded-coupling Postes, induced consumables, discounts, margins, VAT and totals, file attachments, split/merge between won offers, and asynchronous FR/EN devis PDF generation.
  • Order management (Scope 8): transformation of a won offer into an order through the M3 interface, attachment of an existing M3 order, and the order list and record screens.
  • Ordered Flexibles (NO-11): one serialised unit per TMD/PVI quantity, each allocated a matricule, with their own list and record screens as the access point for future certificate generation.
  • Homologation management (Scope 9): homologations with their Flexible compositions, UN codes, validity tracking, revocation, and a daily status refresh driven by a configurable expiry-warning delay.
  • The UN-code referential screen (UX-13).

Changed

  • The pre-specification quote prototype is now the Offre commerciale of NO-07: entities, tables, routers, permissions, routes and translations all renamed. "Devis" now refers only to the generated PDF document.
  • The Flexible configurator restricts TMD/PVI compositions to components covered by a valid homologation, and marks components whose homologation has expired or been revoked in violet.
  • Validating a composition in either configurator now adds it to an offer as a Poste, with the KIT line inserted and locked automatically.

Fixed

  • A cloned or re-versioned TMD/PVI Flexible no longer loses the homologations it had retained.
  • The configurator no longer counts kits, services and consumables as components requiring homologation, which had made TMD/PVI coverage unsatisfiable.
  • A crimp seal supplied as a consumable can now be homologated.
  • Backend specifications now run in CI, and the MinIO service image is pinned so a registry change cannot break the pipeline.

[0.2.4] - 2026-08-18

Changed

  • Deploy pipeline prunes superseded backend/web images after a successful deploy; release asset links are now unique, and backmerge now sees hotfix branches.

Fixed

  • App icon given an alpha channel, with a new opaque apple touch icon.
  • Repo-root CHANGELOG.md kept in the pruned web Docker image.

[0.2.3] - 2026-08-17

Added

  • Dashboard placeholder (UX-18) and a chemical-compatibility screen (UX-19).
  • Delete row action on the configuration value-lists screen.

Changed

  • App shell realigned with the UX-01 Pencil mockups: full-width screens, the profile menu moved into the sidebar, a page footer, and legal pages and auth redirects wired into the shell chrome.
  • Catalog forms reworked into full-width sections with a masked-input reveal.
  • Non-spec template boilerplate purged: unused entities, schemas, i18n keys, seeds, error codes, CASL subjects, routers, Redux and the web websockets wiring all removed.

Fixed

  • A rejected session no longer redirects the user off the dashboard.
  • Configured secondary sorts stay behind the client-side sort in list views.
  • Modal close button label now translated (UX-01).
  • Docker seed and e2e jobs validate the full password policy and drop the retired SEED_ADMIN_NAME variable.

[0.2.1] - 2026-07-31

Added

  • Playwright suite extended to a re-runnable run covering every Scope 1-4 flow, with seeded per-profile e2e accounts.

Changed

  • tRPC list-query filters widened for the catalog and rules screens.
  • Oversized web components split down, fixing a nested-interactive-nav bug.

Fixed

  • Catalog family media input, field validation errors and not-found states repaired; blank optional codes now normalize to null.
  • CI and Docker hardened: runtime env now propagates through turbo to the backend, web app and e2e job, the MinIO service starts reliably, and the Playwright suite now runs on every merge request.

[0.2.0] - 2026-07-23

Added

  • User access and management (Scope 1): accounts, roles, profile-based landing.
  • Article catalogue management (Scope 2): groups, families, references.
  • Association rules engine, routers and UI (Scope 3).
  • Business account lifecycle, per-nature naming and offers summary (Scope 4).
  • DiceUI-based data table adopted across paginated list pages, with row-selection checkboxes shown only when bulk actions exist.

Fixed

  • Quote list filtering by sentAt now uses whole-day date semantics.
  • A dedicated products/new route resolves a collision with the [id] route.
  • uid and uid_sequence.prefix columns widened to fit generated values.

Testing

  • Full-stack authenticated Playwright suite covering Scopes 1-4.

[0.1.3] - 2026-05-28

Added

  • Quote builder, PDF generation and the quote-to-order lifecycle.
  • Self-service profile and settings via the user menu.
  • CASL-driven UI guards and route protection.
  • M3 customer business-account synchronisation (Interop).
  • Roles aligned with SPECDEV profiles (admin/expert/seller).
  • GitLab Release creation with image links on release tags.

Changed

  • Client reworked into BusinessAccount (compte commercial).
  • Domain naming anglicised (Devis -> Quote) across routes, entities and enums.

Fixed

  • Backend environment validated at boot via AppConfigModule.

[0.1.2] - 2026-05-25

Fixed

  • Cross-subdomain auth cookies now use SameSite=Lax instead of None/Partitioned.

[0.1.1] - 2026-05-25

Added

  • Trelleborg sales-configurator UI: quotes, catalogue, configuration and CRM screens.
  • Backend domains: devis, orders, products, categories, configuration meta-model and the read-only quote-generator catalogue.
  • Git-flow enforcement in CI, with backmerge from release branches.

Fixed

  • ESM circular entity dependencies causing a startup ReferenceError.
  • createdBy/updatedBy FK relations declared on AuditableEntity.

[0.1.0] - 2026-05-22

Added

  • Git-flow workflow enforcement in CI (verify stage, backmerge).

Fixed

  • Cross-subdomain session cookies over HTTPS.
  • Staging/production Docker configuration.