FastAWB
Intră în cont

Ce s-a schimbat

Fiecare versiune a pluginului, cu ce aduce. Același text îl vezi în WordPress, înainte să actualizezi.

3.14.72026-12-04

Changed

  • New addresses: the public site (home, pricing, blog, guides) stays at fastawb.app and is now a static site served by Cloudflare Pages, so it stays online even when the server is down or restarting. Logging in, the admin and client panels, the API, tracking links and downloads move to panel.fastawb.app. Every old address keeps working and forwards to its new place; you only need to log in once more on the new address.
  • The plugin talks to panel.fastawb.app. Nothing to configure: update the plugin and it uses the new address.
  • Print app (FastAWB Print 0.1.7): talks to panel.fastawb.app and moves an existing installation to the new address on its own.
  • New tracking links in emails and SMS use panel.fastawb.app. Links already sent keep working.
3.14.62026-12-04

Added

  • Public site, ready for search engines: `robots.txt`, `sitemap.xml`, `llms.txt`, canonical addresses, Open Graph tags and structured data on every public page.
  • Public site: a Blog with four guides (cost per delivered parcel, returns on cash on delivery, automatic AWB in WooCommerce, locker delivery), linked from the menu, footer and related pages.
  • Admin and client panels, login pages, API and every other non-public address are marked `noindex`.
  • Admin and client panels: the current Fast AWB version is shown in small text above the account at the bottom of the menu, linking to the release page (admin) or Versiune (client).
  • Pictures: the admin can upload a logo for each shop from Clienți → Editează (the same logo as the tracking page, also shown in the client's menu), and a photo for their own account from Setări server → Contul tău. Without a picture, initials are shown.
  • Admin · Prezentare: the Clienți column also shows the last 24 hours (AWBs generated, deleted, failed notifications), AWBs per courier and where the parcels are (status bars).
  • Admin · Logs: a 7-day bar chart of generated AWBs with deletions and failed notifications per day, and a short note on what the log keeps and how far back it goes.
  • Admin · Release plugin: what the published version contains (from CHANGELOG.md), what is waiting in Unreleased, and the previous versions.
  • Tracking link in the shop keeps working when the Fast AWB server is down or restarting. The plugin keeps the last good page of each opened link for 14 days (and the shop logo once) and shows it with a note saying when it was saved. A link nobody opened yet shows the courier, the AWB, a button to the courier's own tracking page and its phone number, taken from the WooCommerce order. Both pages reload themselves every minute, so the customer is back on the live page as soon as the server answers. The shop now waits at most 5 seconds for the server instead of 10.
  • Server: continuous backup of the database to Cloudflare R2 (EU) with Litestream, every 30 seconds, started at logon outside the server's environment so a redeploy does not stop it.

Changed

  • Courier scoring: no criterion drops to 0 any more. Up to half of its reference (12.50 lei, 5% return, 48 h) a score is the same as before; past that it keeps falling smoothly instead of stopping at 0 at 25 lei, 10% return or 96 h. Before, every courier above 10% return got the same 0 for returns (ramburs averages about 12%), so the return rate stopped counting and price alone decided. The courier popup explains AWBs generated before this change with the formula they were chosen with.
  • Courier scoring: recent parcels count more than old ones. Two simple steps: parcels from the last 3 weeks count double compared with weeks 4–8, and parcels older than 2 months leave the score, so a courier that had problems earlier and now delivers well is no longer held back by them. Applies to the return rate and delivery time used in the score only; Prezentare, Live, KPI and Rapoarte still show every parcel. Takes effect for each shop at its next KPI refresh.
  • Client panel, Versiune: release notes are shown as one card per change, with the first sentence (what changed) in bold and the section names in Romanian; a line says the notes are in English, as in WordPress.
  • Admin, Clienți: on a phone, the per-courier score table keeps its labels (Retur, De unde vine, Timp livrare, AWB 30 zile) instead of a column of bare numbers.
  • Courier scoring: a courier with no parcels yet at a shop starts from that shop's own return rate on its other couriers, instead of the fixed value in the courier settings (3–4%, while shops measure around 12% on cash on delivery). The fixed value is now used only by a shop with no parcels at all. Never mixes data between shops.
  • Admin · Clients: each shop shows its logo (the tracking-page logo, initials otherwise), its site, AWBs in the last 30 days, and an expandable block with the values its scoring uses: weights from the latest AWB, history window, max price per parcel, and per courier the return rate (with where it comes from and on how many parcels) and the delivery time.
  • Admin · Logs: counters for the last 24 hours, filters by event type and client, and each AWB line now shows courier, order number, destination, cost, cash on delivery or card, and why that courier was chosen.
  • Admin · Server settings: removed the maintenance, tracking polling and notifications switches. They were saved but nothing read them. The page now explains the scoring rules and lists the couriers' starting values.
  • Print app (FastAWB Print 0.1.6): instead of asking the server every 3 seconds whether there is something to print, the app now keeps one request open for up to 25 seconds and the server answers as soon as a new AWB is generated. An AWB still prints within about a second, with roughly 8 times fewer requests per shop (about 3,500 a day instead of 29,000). Older versions of the app keep working as before, and the new version never asks more often than every 3 seconds, even against an older server.

Added

  • Panel period picker (Prezentare, Live, KPI, Rapoarte): a new "Perioadă" tab before "Toate" opens a small window to pick a week, a month, or any two dates from the calendar. The choice travels between pages and into the CSV/PDF export.

Added

  • Panel, AWB list: couriers left out by the maximum price per parcel now appear in the courier popup table with their cost, return rate and delivery time (tagged "peste preț"). They are still excluded from the choice. AWBs generated before this change only stored the price, so their popup is unchanged.
  • Panel, Notifications: every event now has a separate, editable email for the shop and for the customer (text under "Textul pentru magazin", plus its own email builder, switchable with "Destinatar"). An empty shop text keeps the built-in internal alert. Custom texts and layouts a shop already had are copied once to the shop version, so the shop now receives them too (before, it always got the internal alert).
  • Email variable `{mesaj_curier}`: the courier's own words about the event (what `{detalii_curier}` used to contain).
  • Panel, Notifications → Log: a new "Destinatar" filter shows only the messages sent to the customer or only the emails sent to the shop.
  • The partners page no longer shows a shop's figures (AWB count, savings, delivery and return rates): with a single partner listed, its order volume would be useful to its competitors. The story, photos and start date stay; the figures come back with a switch (`SHOW_PARTNER_FIGURES`) once more partners are listed.
  • Live numbers: in the panel and on the partners page, a number that changes rolls like an odometer, digit by digit (the new digit rises from below when the value goes up and drops in from above when it goes down). This covers the Live page, period switches, and numbers that changed since your last visit to the same page.
  • The panel overview (client and admin), the AWB list and the notifications page (parcels and log) refresh themselves every 10 seconds, and right away when you come back to the panel's window or tab: a newly generated AWB or a sent notification slides into the list, highlighted, without reloading the page. Nothing is replaced while you are typing, have a row menu open or a message body expanded.
  • Switching the period (today / 7 / 14 / 30 days / all) in the panel (overview, Live, reports, KPI) and on the partners page now rolls each figure from the value shown before, instead of fading the whole page out and back in.
  • The partners page refreshes its figures every 30 seconds; the server cache for them dropped from 30 minutes to 30 seconds (the underlying measurements are only recomputed when the shop's AWBs change).

Changed

  • `{detalii_curier}` now holds information about the courier (name, call-center phone, tracking link on the courier's site) instead of the event message. Shop alerts and the default "unusual event" email keep showing the courier's message.
  • Client and admin panels: new look based on Romanian road signage. The sidebar is a national-road blue sign with a white inner frame, working areas are white fields separated by a dark rule instead of rounded shadowed cards, and the only solid green on a page is the "best route" panel on the overview, which names the courier with the lowest cost per delivered parcel and says why. Status labels and tags are square-cornered text plates; the dark theme uses an asphalt background and keeps the blue sidebar.
  • Panel font is now Barlow, served from fastawb.app (Latin and Latin Extended, so Romanian diacritics render correctly); Geist was removed.
  • KPI by locality shows each county's code as a small licence-plate mark next to its name.
  • Keyboard focus is now clearly visible on the blue sidebar and the green panel in the light theme.
  • Panels look less templated. Every number uses Romanian formatting (decimal comma, e.g. `9,1 %`, `1,17 zile`), including the KPI cards, the courier comparison and the maps. Uppercase labels above headings are gone (their information moved into the heading). Sidebar group names are in sentence case and the sliding highlight no longer bounces or glows. The period picker is ink-coloured instead of blue. Every status reads as plain text without a pill, coloured only when it says something (on the way, delivered, returned, failed), in the server-rendered lists and in the live feed alike; the live feed also translates `confirmed`, `pending` and the other statuses it used to show in English. Meta text is 13 px instead of 12. Corner radii come from three tokens. Cards inside cards lost their borders. Untranslated statuses (`completed`, `reversed`) now read Finalizat and stornată.
  • Public site copy (home, about, pricing, integrations, FAQ, roadmap) now explains what FastAWB actually optimises: the lowest cost per delivered parcel (real quote, return rate on cash-on-delivery orders, measured delivery time), not just the cheapest tariff. Couriers are no longer listed by name; the site speaks of "your couriers" and highlights the rest of the automation (customer email/SMS, shop alerts on refused or returned parcels, automatic invoicing and credit notes on return). The home page demo now shows a cheaper-tariff courier losing on cash-on-delivery because it returns more parcels. GLS is on the roadmap as the next courier.
  • The integrations page is now grouped by category (platforms, plugin, couriers, invoicing, customer notifications, shop alerts), each listing the services connected today; elsewhere the site talks about "invoicing" instead of naming SmartBill.
  • Public site pages now live at English URLs (`/pricing`, `/integrations`, `/partners`, `/faq`, `/about`, `/updates`, `/roadmap`, `/contact`) while the text stays Romanian; the old Romanian addresses redirect permanently (301), query string included. The header navigation now links the roadmap and a new contact page.
  • Shop alert emails (the internal copy sent to the shop, never to the customer) now say what happened to whom: "[FastAWB] Colet în locker - Ion Popescu, comanda #123 (AWB X)" instead of reusing the customer-facing wording ("[FastAWB] Coletul te așteaptă în locker - AWB X"). The `[FastAWB]` prefix stays on shop alerts only, so they are easy to filter; customer emails never carry it, and a test now checks that.
  • Panel, Notifications → Log: the email and the SMS (and WhatsApp) sent for the same AWB and the same event now share one row, with one line per channel (status, recipient, subject, content), instead of one row per channel. Only sends of the same AWB, event and audience (customer or shop) made within 30 minutes of each other are grouped; tests and later resends keep their own row. The page still shows 50 rows, now meaning 50 events.

Fixed

  • Server: the web server could die at startup right after a deploy that adds a new database table, leaving the site down. The web process and the worker both create the schema at startup and raced ("table already exists"); startup now takes a cross-process lock around the schema steps. Auto-deploy also logs each process's stderr (`scripts/web.err.log`, `scripts/worker.err.log`) and, if localhost:5000 does not answer after a restart, writes the error to `autodeploy.log` and restarts the web process (up to 3 attempts).
  • Email builder: a block using the courier message variable (`{detalii_curier}`) disappeared from the preview and from the test email for "out for delivery", "in locker", "at the courier office", "delivered" and "returned", although the real email fills it. Every courier event now has a sample message.
3.14.52026-12-02

Changed

  • The plugin's entry in the WordPress admin menu shows the Fast AWB logo (the white box on blue) instead of the generic chart icon, and the same logo appears on the WordPress updates screen. The menu icon is a 40px file shown at 20px, so it stays sharp on high-DPI screens.
  • Courier selection: the return rate is now measured only on cash-on-delivery parcels, and it no longer counts at all for orders paid by card. A parcel that is already paid is almost never refused (0–2% at every courier, against ~12% on cash on delivery), so mixing the two favoured whichever courier got more card orders rather than the one that delivers better: Sameday had 50% card parcels, DPD 7%. Measured on live data, the return rate used for cash on delivery is now DPD 11.8%, FAN 11.3% and Sameday 4.4% (Sameday was ~2.7% with card parcels mixed in). For card orders the return-rate weight is set to zero and the choice is made on cost and delivery time only. The KPI table stores separate cash-on-delivery counters (`cod_returned`, `cod_concluded`, added on startup), and the panel's courier comparison shows the return rate for cash on delivery and for card side by side.
  • When a request to the Fast AWB server gets no answer in time, the operator now sees a plain message instead of the raw cURL text ("cURL error 28: Operation timed out after 15001 milliseconds…"). For a label: the courier is answering slowly, the auto-printer will print it once it arrives, otherwise retry in a minute. On 2 December Sameday took 25–42 seconds per call, so the label request hit the plugin's 15-second limit and showed the cURL error even though the label printed automatically a few minutes later. The original error is still kept in the slow-call log.
3.14.42026-12-02

Changed

  • The shop keeps a full local copy of all pickup lockers (FANbox and Sameday easybox, about 11,000 points) and the checkout reads only from it. Until now a county reached the shop's database only after a customer opened it while the Fast AWB server was up, so when the server went down on 2 December the lockers disappeared in every county no customer had opened yet, and each request waited up to 15 seconds per network. The plugin now downloads the whole list once a night, between 03:00 and 05:00 (a fixed random minute per shop), through WP-Cron in the background. On nights when nothing changed the server answers `304` with no body, so the shop downloads and writes nothing; a changed list is about 400 KB compressed. A shop that has never had the full copy downloads it a minute after the update.
  • When the checkout still has to ask the server (no full copy yet), it waits at most 5 seconds instead of 15, falls back to the points it already has, and stops asking for 5 minutes after a failure.
  • `Fast AWB → Configurare` shows how many lockers the local copy holds and when it was last refreshed.

Added

  • Server: `GET /api/client/lockers/export` returns every locker with its WooCommerce county code, gzip-compressed, with an `ETag`. A network whose list is too old on the server is left out and named in `stale`, so the shop keeps its own copy of it.
3.14.32026-11-25

Added

  • The AWB list in the panel shows, for each generated AWB, the customer's phone and the WooCommerce order number under the name, and the address exactly as it came from WordPress above the town and county.

Changed

  • Shops can now create DPD return pickups themselves from the AWB list. Until now only the platform administrator saw the button, while the operation was unverified; the first real DPD return (81415385626) was picked up from the customer on 20 November and delivered to the shop on 23 November. Sameday returns are open to shops too, at the operator's request (25 November); the Sameday quote was re-checked live, but the first real Sameday return has not yet been followed end to end. FAN Courier returns are still unavailable: a live test on 25 November showed that FAN's contract account ignores a different sender and keeps the shop's own address, so a FAN return would be picked up from the shop. FAN has to enable third-party pickup on the account first.

Fixed

  • Searching the AWB list by name now works in any word order and without diacritics: "avram andrei" finds "Andrei Avram", "razvan simon" finds "Simon Răzvan", in generated and imported documents alike.
  • DPD AWBs no longer go to the wrong street. Order 639108 ("Str Schit nr 87", Huși) left on str. Castroian 87: the plugin read "Schit" as "Sc(ara) hit" and sent the street as "Str", DPD's street search matches fragments, and the server took the first result without checking it. The server now searches DPD with the street name only (no "Str", "Aleea", "Bd", "sector 3", locality or county), tries the customer's original text before the parsed street, and accepts a DPD street only when its name is the one the customer wrote, preferring the street type they wrote; otherwise the full address goes to the courier as text. Block/entrance values cut out of a word ("hit" from "Schit", "vd" from "Blvd") are no longer sent. The plugin parser now reads "sc"/"bl" only when followed by a dot, a space or a digit, so street names such as Schitului, Scaune, Școlii, Blvd or Blaj stay whole. 13 earlier AWBs had a mangled street; all but this one were already delivered or returned.
  • Locker sync no longer fails when a courier sends the same pickup point twice in its list. On 22–23 November Sameday listed easybox 4864 twice, every sync failed on the unique ID and the worker retried it about once a minute for 23 hours. A duplicated ID is now stored once (the last copy wins) and logged as a warning.
3.14.22026-11-23

Added

  • The checkout text of each delivery option can be edited in `Fast AWB → Configurare` ("Livrare prin curier" and "Livrare la locker"), for example `Livrare prin curier (1-3 zile): {pret}`. `{pret}` shows the shipping price where it is placed; without it the price is hidden, and it disappears on its own when shipping is free. Empty fields keep the current text.
3.14.12026-11-20

Changed

  • Lockers in Manual mode: the customer's locality first. The list shows all easyboxes or FANboxes in the customer's locality, and the search (e.g. „mihai eminescu”) searches only within it. „Extinde lista” switches to a nationwide search, grouped by the customer's locality, their county and other localities; the same button takes you back to the locality. The full address appears on hover and below the list after a locker is chosen.
3.14.02026-11-20

Added

  • Return request from the order. Under the order's AWB a „Cerere retur” button appears: the courier picks up the parcel from the customer and brings it to the shop. The address is prefilled and can be corrected. The button appears only after the server enables returns for the shop.
  • Return requests. Prices come from each courier and the return is generated with the cheapest one; if that one refuses, with the next. The shop pays, there is no cash on delivery, and only one return can be requested per AWB. Returns are enabled per shop on the server.
3.13.22026-11-20

Fixed

  • The locker search in Manual mode now queries the server directly, nationwide, as you type (the customer's locality and county first). The county list was incomplete and some points could only be found by typing „fanbox”/„easybox”.
3.13.12026-11-20

Changed

  • The manual generation panel has a new look: Automat / Manual switch, cards with the price on each option, „cel mai ieftin” marked, unavailable options collapsed into one row.
  • Sameday easybox appears as an available option in Manual mode.
  • The Sameday easybox locker capability is now marked as verified (supported), so Sameday easybox is offered as an available option in Manual mode.
3.13.02026-11-20

Added

  • Order page: with „Generează AWB” you can choose Automat (as before) or Manual: DPD to address, FAN to address or FANbox, Sameday to address, with a price on each option and no fallback if the courier refuses. Easybox shows as unavailable until it is verified.
  • The locker selector in Manual mode loads by the customer's county, with their locality first, and has „Altă localitate / extinde lista” to search nationwide.
  • Manual courier choice at AWB generation: DPD to address, FAN to address or FANbox, Sameday to address, with a price for each option and no fallback to another courier if the chosen one refuses. Sameday easybox is reported as unavailable until it is verified.
3.12.92026-11-17

Fixed

  • Order list: the AWB number is now the tracking link that is also sent to the customer, and it stays after a refresh (before, „Deschide tracking” disappeared).
  • The „arată statusul” button no longer always says the status is unavailable: it read a pointer (`_awb_server_order_id`) that no longer exists; it now uses the AWB id.
3.12.82026-11-16

Changed

  • Configuration: the price, return and delivery time sliders were removed. The plugin keeps only the courier choice (automatic, by score, or a specific courier); the strategy is set in the Fast AWB panel, under Curieri → Strategie.
3.12.72026-11-11

Fixed

  • Checkout: the delivery address (street and number) is now required for every delivery method, including when the customer chooses a locker. Before, orders could be placed without an address, because the requirement came only from WooCommerce and could be relaxed by the theme or another plugin. The rule applies to both the classic checkout and the Blocks checkout.
3.12.62026-11-08

Changed

  • Changes made in the panel (couriers, invoicing) reach the checkout within 5 minutes at most, or immediately after opening the Fast AWB → Configurare page.
  • The invoicing data of a new order is sent to the server in the background, after the order is placed.
  • Fast AWB → Configurare shows a warning when WP-Cron has stopped running on the site.

Fixed

  • Checkout: a slow or unresponsive Fast AWB server no longer holds the customer up. Delivery recalculation, order placement and the company fields read the last confirmed state, kept in the shop, and the server is queried in the background, from WP-Cron, every 5 minutes. Before, recalculation could wait up to 15 seconds under the grey overlay, the locker disappeared from the options, and placing a cash-on-delivery order could take 30 seconds.
  • License reading no longer fails when the database is busy.
  • The Sameday locality list used when generating AWBs updates again. It had stayed at the 2 October version, because a sync could not rewrite existing localities.
3.12.52026-11-08

Fixed

  • Checkout: the grey overlay over the order summary and the payment methods no longer stays stuck when the total recalculation fails. WooCommerce removed it only after a valid response, so a failed request (internet down, app moved to the background, 503, a response that is not JSON or that never arrives) left the place-order button unclickable until the page was reloaded. Now the overlay is removed on any failure (after 20 s at most if no response comes), and the recalculation is retried automatically once. If it fails again, a message appears above the button, the order can still be placed, and the recalculation resumes when the internet returns or the customer comes back to the page.
3.12.42026-11-06

Changed

  • Checkout: localities load instantly. Until now, every county change made an `admin-ajax.php` call (~0.9 s, even for Bucharest, because it started the whole of WordPress and the response could not be cached). Each county's list is now saved as a static JSON file in `uploads/fastawb-localities/` (created on the county's first request and, on update, for the counties already saved), served directly by the web server and remembered by the browser. The page preloads the lists one by one when the browser is idle (on reduced data, only the chosen county). If the file is missing or cannot be read, the old call is used, so nothing breaks.
3.12.32026-11-06

Fixed

  • Checkout: after the county changed, the „Localitate” field was emptied and just turned red, with no text, so the customer did not know what was missing. Now the message „Alege localitatea.” appears on the field immediately and disappears when a locality is chosen. The place-order button stays active, and the check on click (which moves to the field) is unchanged.
3.12.22026-11-06

Changed

  • Update checking no longer asks the Fast AWB server on every admin page. The server is asked only on the Fast AWB pages (Rapoarte, Configurare, Localități), from WP-Cron (automatic update) and on „Verifică actualizarea”. Otherwise the last response received, saved locally, is used, so the Plugins screen still shows the new version without waiting for the server. The „Fast AWB este la zi” / „Actualizare disponibilă” message appears only on the Fast AWB pages.
3.12.12026-11-06

Fixed

  • Checkout: „Livrare prin curier” is selected by default. Until now, when the county or locality changed (and a method appeared or disappeared, e.g. local pickup), WooCommerce rendered the delivery methods with none selected: the total did not include shipping and placing the order gave an error. The customer's own choice (e.g. the locker) is kept; only a missing valid choice is filled in with the courier. On the classic checkout there is also an in-page safety net that selects the courier if the fragment still arrives with nothing selected.
3.12.02026-11-04

Added

  • Returned parcels: the plugin registers the order status „Returnat”, which is the default status the server applies to an order whose parcel is returned to the sender.
  • Returned parcel: as soon as the courier reports that a parcel is returning to the sender (DPD „returnat către expeditor” / refused by the recipient / arrived back, FAN „retur”, Sameday „returnat”), the server can, at the shop's choice in Integrări → Colet returnat, change the order status (chosen from the shop's list of statuses; „Returnat” by default) and/or automatically reverse the invoice in SmartBill (storno) and clear its fields (`smartbill_*`) on the WordPress order. The options are off by default and need the WooCommerce REST keys from the panel. On first start they are also applied to parcels returned in the last 30 days; manually marking „returnat” in the panel triggers them immediately.
3.11.42026-11-04

Changed

  • The „Persoană” / „Firmă” tabs are replaced by a „Tip client” drop-down field („Persoană” by default, or „Firmă”), still above the name. On „Firmă”, only the CUI field still appears, below the first and last name.
3.11.32026-11-04

Changed

  • The company invoice is now chosen from two tabs, „Persoană” (default) and „Firmă”, at the very top, above the name. On „Firmă” only the CUI field appears, below the first and last name; the first and last name stay for both. The checkbox and the fields for the name and Nr. Reg. Com. are gone.
  • On the invoicing server, the company's name and Nr. Reg. Com. are taken from ANAF by CUI when the invoice is issued. If ANAF does not respond, the invoice goes out in the customer's name, with the CUI entered.
3.11.22026-11-04

Changed

  • The „Vreau factură pe firmă” checkbox now appears right below the customer's name, not at the end of the address.
3.11.12026-11-04

Fixed

  • The company invoice fields no longer disappear when the SmartBill plugin is installed but has no company fields at checkout. They are hidden only if the page already contains SmartBill's company fields.
  • The saved locality is no longer lost after the page is reloaded: the county was restored, but the locality stayed empty and the customer had to choose it again.
3.11.02026-11-04

Added

  • Company invoice at checkout: the customer ticks „Vreau factură pe firmă” and fills in the company name, the CUI and, optionally, the Nr. Reg. Com. The fields appear only when the box is ticked (otherwise they are hidden and not sent), only when invoicing is turned on in the panel, and only if the SmartBill plugin does not already have its own fields. The data is saved under the same keys as SmartBill (`smartbill_billing_*`).
  • Company invoices: the invoice is issued to the company, with the Nr. Reg. Com. sent to SmartBill.

Fixed

  • The „Plasează comanda” button no longer stays grey with no explanation. Before, a phone number written differently (e.g. „+40 0721 …”, a foreign number) or an optional county/locality for the chosen country blocked it for good, and the customer could not see why. Now the button always stays active, and on click the data is checked: wrong fields are marked in red, a message appears above the button and the page goes to the first field to fix. Romanian phone numbers are still checked strictly, only for Romania; for another country 7–15 digits are accepted.
  • The phone field is recognized only by type or name (`phone`/`telefon`), not by any name that contains „tel”.
3.10.42026-11-03

Fixed

  • An AWB can now be generated for an order with no products (a clone, an exchange or a resend at 0 lei). Before, the plugin did not send it to the server, and generation failed with „wc_order_id este obligatoriu”. Such an order ships as a 1 kg parcel, and the weight can be changed from the AWB. Orders with exclusively digital products are still not sent.
3.10.32026-11-02

Fixed

  • The SmartBill invoice no longer comes out larger than the WordPress order when the order has discounts entered as a negative fee (card discount, „2+1 Promo”). The plugin skipped them, so the invoice included the products at full price.
  • Discounts entered as a negative fee on the order now go out as discount lines on the invoice, so the invoice total matches the order total.
3.10.22026-11-02

Added

  • The tracking page can show the date and time under each step reached (AWB generated, handed to the courier, in transit, out for delivery, delivered). It is turned on from Notificări → Aspect urmărire, with the „Arată data și ora” checkbox, off by default, which is saved as soon as it is ticked. Steps not yet reached stay without a time, and the words „Gata”, „Acum”, „Urmează” disappear while times are shown. Server-only change, no plugin update.

Fixed

  • Generating an AWB from the order page no longer gives „cURL error 28: Operation timed out after 15001 milliseconds”. The plugin waited only 15 seconds for the server's response, although the server makes several calls to the courier (DPD: locality, street, rate, AWB). The server finished the AWB, but the order stayed without an AWB in WordPress. Now it waits up to 120 seconds, like the other courier actions. If an order has already been left without an AWB in WordPress, pressing „Generează AWB” again brings back the existing AWB, without creating another one at the courier.
3.10.12026-10-31

Changed

  • In the county report, the „Status” filter also has an „În livrare” option, so parcels out for delivery do not disappear from the „În tranzit” filter.
  • The tracking page now has five steps: AWB generated, Handed to courier, In transit, Out for delivery, Delivered. The „Out for delivery” step appears when the courier scans the parcel for delivery (FAN `S1`, DPD `12`, Sameday `33`); warehouse scans stay „In transit”.
  • New logo and favicon (the moving box, on blue): in the site header, in the admin sidebar and on the login pages.
3.10.02026-10-30

Changed

  • The plugin uses the `fastawb.app` address directly, and the „URL server Fast AWB” field is gone from Configurare. For local testing, the address can be overridden from `wp-config.php` with `define('AWB_SERVER_URL', 'http://127.0.0.1:5000');`.
  • The Fast AWB server moves to `fastawb.app`.
  • New tracking links start from `fastawb.app`. Those already sent to customers on `fastawb.monoweb.ro` remain valid.
3.9.102026-10-30

Added

  • On the order page, the Fast AWB box shows the tracking link sent to the customer.
  • Sameday and DPD parcel statuses update automatically from the courier, and in the panel (Notificări → „Colete și urmărire”) you can see the state, the link sent and the notifications that went out.
3.9.92026-10-30

Added

  • The plugin takes the path from the server and refreshes its rules on its own; a path occupied by a page of the shop is not applied and a warning appears in Fast AWB → Configurare.
  • The tracking link path is chosen from the panel (Notificări → „Calea paginii”): `colet` (default), `track`, `urm` etc. The link in the SMS and email is `magazinul-tau.ro/<path>/<code>`.

Changed

  • The 10-character `/urmarire/<code>` links (sent only in the tests of 3.9.6–3.9.7) no longer work. The old `/urmarire/<code>/<token>` links remain valid.
3.9.82026-10-30

Changed

  • The tracking page on the shop's domain also answers at `/colet/<code>`; the `/urmarire/<code>` links already sent keep working.
  • The link in the SMS and email, when the tracking page is on the shop's domain, is `magazinul-tau.ro/colet/<code>`, not `/urmarire/<code>`.
3.9.72026-10-30

Fixed

  • Choosing the locker manually on the order no longer answers „Lockerul ales nu există în lista curierului”: the selector read a nonexistent field (`external_id`) instead of `id`, so it sent an empty value on save.
3.9.62026-10-30

Added

  • The plugin fetches the page from the server, with the theme chosen in the panel.
  • Tracking page on the shop's domain: with „Pagină de tracking proprie” ticked in Notificări, the link in the SMS and email is `magazinul-tau.ro/urmarire/<code>`, not the server address. Without the tick, the link stays as before.
3.9.52026-10-30

Added

  • Order edit → Fast AWB box: for orders with locker delivery and no point chosen (placed before a fix), „Alege lockerul” appears: search by name, address or locality, Sameday easybox and FANbox. The point is saved on the order with a note, and „Generează AWB” works as usual. It does not appear in the order list.

Fixed

  • Automatic courier choice: FanCourier rejected the rate request for cash on delivery and Sameday could not quote, so a configured rate won instead of the real price. Now all couriers give the real quote.
  • Public tracking page: a just-generated AWB showed „?/4”; now it is step 1, „AWB generat”. The page also shows the order number and, for cash on delivery, the amount to pay to the courier or locker.
3.9.42026-10-30

Added

  • Integrări → WooCommerce (REST): the shop address and the CK/CS keys (encrypted, with a test button). With them, the server writes the issued invoice directly onto the WordPress order (series, number, link, note), without waiting for the plugin, so the SmartBill plugin recognizes it and „Emite factura” disappears.

Fixed

  • Invoice VAT: when WooCommerce does not calculate taxes, the invoice came out without VAT. The plugin now also sends the VAT settings from the shop's SmartBill plugin (the rate chosen for products and shipping, prices with or without VAT, the list of rates).
  • The server applies the VAT settings received from the plugin on each invoice line. If the setting there is „WooCommerce”, the rate comes from the order's taxes.
3.9.32026-10-30

Changed

  • The issued invoice is written on the order exactly as the SmartBill plugin does it (`smartbill_private_link`, `smartbill_invoice_log`, series and number), so its metabox shows it, the „Trimite factura clientului” button works, and the link appears in the customer's account. If the SmartBill plugin has already issued the document, Fast AWB does not issue a second invoice.
  • A legal-entity customer is also recognized from the SmartBill plugin's data (`smartbill_billing_type`, CIF, company name).
  • The document is issued through `invoice/v2`, which also returns its address; the draft (without a number) is accepted as a valid response.
3.9.22026-10-30

Changed

  • The issued invoice is written back onto the WordPress order (series and number, private link, order note), so the shop's SmartBill plugin recognizes it. The sync runs every 5 minutes.
  • The SmartBill invoice is issued exactly as it comes from WooCommerce: the products, shipping, prices and VAT rate of each line are taken from the order. The default VAT, the shipping name and the unit of measure are gone from Integrări, and the invoice no longer gets mentions added by us.

Fixed

  • SmartBill rejected lines without a code („Produsul Transport nu are codul specificat”). Without a SKU, the line gets its WooCommerce name as code.
3.9.12026-10-30

Fixed

  • Invoicing: if the server does not respond or does not have invoicing available, the plugin retries at most 3 times, then writes a note on the order („Fast AWB: factura nu a putut fi cerută…”). Before, it retried forever, with no note.
3.9.02026-10-30

Added

  • SmartBill invoicing: when an order is completed in WooCommerce, the plugin asks the server to issue the invoice automatically.
  • SmartBill integration, in the panel under Integrări: the invoice is issued automatically in SmartBill when the order is completed in WooCommerce, when the AWB is delivered, or on both. The account email, the API token, the CIF, the series and the VAT are configured; the token is encrypted and no longer shown. There is a connection test button, an option to issue as a draft, sending by email by SmartBill, and a list of the latest invoices (with „Reia” on errors).
  • An order never gets two invoices, and if SmartBill's response is lost after sending, the invoice is not retried on its own (it shows „de verificat”), so that it is not duplicated.
  • Onboarding now has steps for notifications and invoicing (optional), besides the previous ones.
  • The fastawb customer chooses the look of the tracking page from 6 templates (Atelier, Bilet, Panou, Revistă, Metrou, Elvețian), with a preview in the panel.

Fixed

  • „Detalii pe site-ul curierului” now leads to the courier's page, with the AWB number: FAN (`?tracking=`), Sameday (`status-colet/?awb=`) and DPD (`services.dpd.ro/tracking/?shipmentNumber=`). Before, FAN led to a link that no longer worked, Sameday had no link, and the preview led to the empty form.
  • Lockers load fast at checkout: the county is filtered in the query, not in Python, and the table has indexes on provider+county.
  • A single locker download per courier, not one per request; a periodic job refreshes them every 3 days, so checkout no longer gets a 503 after 7 days.
3.8.52026-10-29

Added

  • At checkout, the Localitate field has search, just like Județ: the customer types the first letters and picks from the list, on phones too.
  • In the admin order list, locker orders show the chosen locker directly (the network and the name of the point; the address and ID appear on mouse hover). You no longer need to open the order.

Changed

  • The public parcel tracking page (server) has a new design: a large title with the status, the estimated delivery date written in words („marți, 3 noiembrie”), a four-stop route where the current stop carries the parcel (with a discreet animation while it is on the way), distinct states for delivered, returned, canceled, failed and unknown, a button to copy the AWB number and a secondary link to the courier's site. It looks just as good on phones and in dark mode, respects „reduced motion” and shows no personal data.

Fixed

  • The „Plasează comanda” button stays disabled while the Județ or the Localitate is empty.
  • A FANbox order saved by an old version with the wrong delivery mode still ships as a locker, so still through FAN Courier, including when the AWB is regenerated after cancellation.
3.8.42026-10-29

Fixed

  • The plugin's automatic update works. The check for a new version exited when no admin was logged in, and the automatic update runs from WP-Cron, without a user. So cron never saw the release.
3.8.32026-10-29

Fixed

  • The classic checkout no longer answers „Alege un locker sau un punct de ridicare” when the locker is already chosen on the map. Validation now also reads the choice from the session, and if the theme does not have the Fast AWB fields, `checkout.js` adds hidden fields with the chosen locker to the form.
3.8.22026-10-29

Fixed

  • On the classic checkout (e.g. Flatsome), locker orders were saved as delivery to an address. The rate `fastawb:9:locker` contains the instance id, and the check compared `9:locker` with `locker`. Now the end of the rate is read.
  • On the classic checkout, the locker chosen on the map is also taken from the session when the theme does not send the Fast AWB fields. The second pass of the checkout now saves its data, and the „Locker ales de client” note appears in the order history.
  • In admin, the „Locker ales” block also appears for orders with a locker rate wrongly saved as address. When the point is missing, the block says so.
3.8.12026-10-29

Fixed

  • Fast AWB scripts and styles are reloaded after every update, including on sites with LiteSpeed Cache. „Remove Query Strings” cut off `?ver=`, and the browser kept an old `checkout.js` for 7 days. Because of this, the „Locker selectat” card with the collapsed map did not appear, the locker was not saved in the order, and the request for a house number still appeared. The version is now in the URL (`fv`), except for LiteSpeed's `_litespeed_rm_qs=0`.
3.8.02026-10-29

Changed

  • The courier choice when generating an AWB is made on real prices: the quote of each eligible courier (FAN, Sameday, DPD) for that order is requested in parallel and the cheapest is used; the score (return, time) only breaks ties. A courier whose quote cannot be obtained stays on the configured rate, with no invented prices. The shop's manual choice is unchanged.
  • The generation response shows, per courier, whether the cost is a real quote (`cost_is_quoted`).
3.7.02026-10-29

Added

  • Sameday AWB for easybox: an order with a chosen easybox is now generated at Sameday, with the point's id (`lockerLastMile`) and the locker service, not to an address. Requirement: the locker service chosen in the couriers panel. The field comes from the Sameday SDK and has not yet been tried on a real AWB; if Sameday refuses it, its reason appears at generation, and the order does not go to another courier. A FANbox can no longer be sent through Sameday, and a locker without a valid id is refused with a reason.
3.6.22026-10-29

Changed

  • Locker delivery is no longer offered in a locality without lockers. If the county's point list is not yet synced, the method stays available.
  • The AWB generation response shows the score of each candidate courier (estimated cost, return, time), so it is visible why one was chosen.

Fixed

  • The chosen locker is no longer lost when the order is placed: the classic checkout's hook could also run on Blocks, with an empty `$_POST`, and rewrite the order as delivery to an address without a locker. Because of this, the AWB went to the address, through another courier. The delivery mode is also read, as a fallback, from the rate chosen in the session or from the rate title.
  • The order gets a note with the chosen locker (name, network, address, ID), visible in the order history.
3.6.12026-10-29

Changed

  • For Bucharest county, the locality is chosen from „Sector 1” … „Sector 6”, not „București”.
  • Sameday lockers in „Sectorul N” appear under the chosen sector.
3.6.02026-10-29

Added

  • The chosen locker appears in the order in admin (name, network, address, ID), under the delivery address; the data is filled in from the local list of points when the order is placed.
  • The public tracking page has a new design: a title by status, an animated route with a parcel that moves to the current step, a moving road while on the way, an animated tick on delivery; it respects the dark theme and `prefers-reduced-motion`.

Changed

  • After choosing a locker at checkout, the list and the map close; „Locker selectat” appears, with the „Alege alt locker” button.
  • With „Marchează ca finalizată la generare” turned on, the orders page reloads after the AWB is generated.
  • The address no longer requires a number: customers on the main street or in a house can place the order.

Fixed

  • An order with a locker can no longer be delivered by a courier other than the one of the locker's network (FANbox → FAN Courier, easybox → Sameday). Before, on regeneration the AWB could go to the address through another courier; now the order is refused with a reason if that courier is not configured.
  • The locker's network is no longer assumed to be `fanbox` when missing: it is read from the list of points.
3.5.12026-10-29

Fixed

  • The „Plasează comanda” button stayed disabled when the additional address field (`address_2`, „Additional address”) was filled in without a digit. The number is now required only on the main address; the second is optional and, if filled in, can replace the missing number. Hidden fields are no longer checked.
3.5.02026-10-29

Added

  • The delivery rates (courier, locker, free-delivery threshold) also appear in WooCommerce → Livrare → the zone → Fast AWB. They are the same values as in Fast AWB → Configurare: they are read from there, and saving from the zone writes them back and applies them immediately in the cart.

Changed

  • The link is saved only once in the order (`_awb_tracking_link`); a second request to the server is no longer needed.
  • The public tracking page now lives at `fastawb.monoweb.ro/<code>` (a short 10-character code, no token) and no longer shows personal data: it shows only the sender, the status (AWB generated, shipped, at the courier, delivered), the estimated delivery, the courier, the AWB, the parcel type and the courier's official link.
  • The link is created at the moment the AWB is generated.
  • The email and SMS to the end customer carry the same public link. The „Pagină de tracking proprie” setting no longer affects the messages.
  • Public links are automatically deleted from the server 60 days after creation. The `/urmarire/…` links in old messages keep working.
3.4.12026-10-27

Changed

  • The checkout consent text is now edited in WordPress, at Fast AWB → Configurare → Text de consimțământ, and is no longer saved on the server. Empty means the default text; the displayed text stays saved on each order together with the time of placement.
  • The Notificări page of the portal has a new structure: a summary by channel, a single channel open at a time, messages with a preview beside them and a log with coloured states.
  • Loguri și audit (administration) shows the real activity: AWBs generated or deleted, administrator visits to a customer's panel and failed notifications. The selection scores and the WooCommerce order column are gone.
  • Editing a customer in administration lists FAN Courier, DPD and Sameday, with the state of each, and can configure all of them.

Fixed

  • The couriers page in administration gave an error (500) when there were AWBs with no associated order; the average processing time is now computed only from the AWBs that have an order.
3.4.02026-10-27

Added

  • Tracking page on the shop's domain, `/urmarire/<code>`, created automatically by the plugin. After the first opening, the address in the browser bar no longer contains the token, so it cannot be forwarded.
  • Editable consent text, shown plainly, below the place-order button (classic checkout and Blocks); it is saved on the order together with the time of placement.
  • Notifications to the end customer when an AWB is generated: email (the shop's SMTP), WhatsApp (the shop's WhatsApp Business account) with SMS as a fallback (the shop's own account with the provider, the first being SendSMS.ro). They are configured from the portal, under Notificări: channels, editable texts with defaults, a test message and a log of the last 100 sends.
  • The link in the message is unique and is used only once. „Trimite-mi din nou linkul” resends the message (at most 3 per day).
3.3.402026-10-26

Added

  • Free-delivery threshold in Fast AWB → Configurare → Tarife de livrare: when the value of the products in the cart (after discounts) reaches the threshold, both delivery options become free. `0` turns the threshold off.
3.3.392026-10-26

Added

  • Delivery rates are configurable in Fast AWB → Configurare → Tarife de livrare: one price for „Livrare prin curier” and one for „Livrare la locker” (until now both were 0). They apply immediately at checkout.
3.3.382026-10-23

Changed

  • Checkout no longer shows the postal code and the company name (classic and Blocks).
  • The county appears before the locality, including after the country is changed.

Fixed

  • The pickup-point map no longer jumps from narrow to wide on reload: the box has a fixed width in the table cell, and the map recalculates its size after it is created.
3.3.372026-10-23

Fixed

  • The pickup-point map always read the locality/county from the first field on the page (billing), not from the one the customer changed (shipping); now the field edited last is used, or that of the shipping address when „Livrare la altă adresă” is ticked.
  • An address change cancels the „Puncte în apropiere” mode, which ignored the locality and kept the list on the old location.
3.3.362026-10-23

Fixed

  • The map and the pickup points reload after any re-render of the delivery section (`updated_checkout`) if the county or locality changed, not only on the field's `change` event.
3.3.352026-10-23

Fixed

  • The map and the list of pickup points now also update when the customer changes the locality or the county on the classic checkout (the `billing_/shipping_city` and `state` fields).
3.3.342026-10-23

Fixed

  • Plugin updates appear immediately in WordPress: the release manifest is no longer cached for 10 minutes, so „Fast AWB este la zi” no longer hides a newly published version.
3.3.332026-10-23

Fixed

  • The map and the list of pickup points (EasyBox/FanBox) no longer disappear a second after the locker delivery is chosen: the classic checkout reloads `#order_review`, and the box is now rebuilt automatically.
3.3.322026-10-23

Changed

  • The „Anulează AWB” button in the WP order meta box now uses AJAX (no page redirect); it appears in the order edit screen and in the FastAWB panel, not in the order list column.
3.3.312026-10-23

Added

  • „Anulează AWB” buttons in the WooCommerce order list (AJAX, no reload)
  • „Anulează AWB” buttons in the FastAWB client panel (`/panel/awbs`) with confirmation
  • AWB cancellation support for Sameday (`DELETE /api/awb/{awb}`) and DPD (`POST /shipment/cancel`)
3.3.302026-10-23

Added

  • Live map by locality: the boundaries of 3,181 UATs (communes, towns, municipalities) and of the 6 Bucharest sectors, coloured by AWBs, in progress or return rate, with the figure written on the surface. They appear from county zoom; below it the counties remain. Boundaries: ANCPI 2025, INS SIRUTA nomenclature, CC BY 4.0, regenerable with `server/build_uat_geojson.py`.
  • Live dashboard for admin (`/admin/live`) and client (`/panel/live`): figures, per-hour/day charts, status distribution, couriers and recent events, refreshed every 10 s from `live.json`. The client sees only their own data; the admin also sees the state of the jobs and the active clients.
  • Map of Romania in the live dashboard: counties coloured by AWBs, in progress or return rate, zoom down to localities with clusters, a county list as an alternative to the map. AWBs without a county or without a position are counted below the map, not hidden. Leaflet from `ui/vendor`, no CDN.

Changed

  • Live and KPI, clear roles: Live = what is happening today („Azi / Istoric” switch on the map; Istoric includes parcels imported from the KPI measurements). The KPI page (admin and client) now has the same locality map, coloured by delivery time, average cost, return rate or AWBs, with sample-weighted averages.
  • Historical import in the background, with live progress: the import button starts the job in the background and the page shows in real time the day being read and how many shipments have been imported, without a refresh. Without the 75 s limit, so the import no longer stops halfway (e.g. at the 16th of the month).

Fixed

  • The „Generează AWB” button in the order list did not trigger AJAX on classic (non-HPOS) WooCommerce installs: the admin script was not loaded on the `edit.php?post_type=shop_order` page.
  • Declared compatibility with HPOS and the Blocks checkout. WooCommerce no longer flags the plugin as incompatible.
  • PHP 8.4: the `array $body = null` parameter in the API client is now `?array`, with no deprecation warning.
  • Automatic weight 0 at FAN: if the products have no weight set in WooCommerce and the mode is „automatic”, the server now tries the configured manual weight before refusing the request.
  • The live map no longer says „nicio livrare în Cluj”. It read only the `awbs` table, not the shipments imported from the courier; it now uses the KPI measurements (generated + imported), like the KPI page.
  • DPD and Sameday historical import without a fixed number: the form no longer asks „Câte AWB-uri”; the import runs from the chosen date until today, as at FAN (without a date, the courier's default window).
  • FAN historical import: the borderou and the payments are read in pages of at most 100 rows; the request with `perPage=500` was refused by FAN with 422 and the import failed with „nu a putut fi finalizat”.
  • FAN historical import without a cap and without a fixed date: the chosen date is only the start; the import goes day by day until today (by default the last 30 days), skips empty days and AWBs already imported, and stops at ~75 s with a message, so that it can be resumed.
3.3.292026-10-08

Fixed

  • The AWB column was missing from the order list. It was registered only on HPOS hooks and at the end of the table; it now also works on classic storage and sits after the Total column.
  • Postal code optional. Removed `required` and the format validator on classic and the flag from the locale for Blocks.
  • County before locality. The county field's priority was lowered below that of the locality, so the order is the natural one: first the county, then the locality.
3.3.282026-10-08

Fixed

  • The method attaches itself to zones. The button in Configurare attaches Fast AWB to the existing zones that do not have it (a new zone placed below was never touched, since the first matching zone wins); the daily check does the same automatically when the method is missing everywhere. Nothing is deleted or reordered.
  • Picker + map on the classic checkout too. The box is also mounted after `ul#shipping_method`, and the choice is mirrored in the `shipping_fastawb_locker_*` fields, from which the classic order is saved.
  • Robust field reading on save. Prefixed keys (`shipping_fastawb_locker_id`) are also accepted; the classic order no longer ends up without a point.
3.3.272026-10-08

Fixed

  • Locality like the county, on the classic checkout. The input is transformed in place into a `select` with the same attributes and classes (a morph, not a parallel node), so it looks like the county; the options come through the `fillSelect` path.
  • Update visible sooner. The release manifest cache was lowered from 30 to 10 minutes; the manual check from admin clears everything on the spot.
3.3.262026-10-08

Fixed

  • Locality halved on the classic checkout. The overlay select is now created only on WooCommerce Blocks; on classic themes the field stays the theme's input with a native `datalist`, with no parallel nodes that broke the layout.
3.3.252026-10-08

Fixed

  • Checkout blocked on load. The `MutationObserver` in `address-fields.js` re-triggered on its own DOM writes; it is now debounced, with a pause while mounting, and the Blocks page hydrates normally and the delivery methods arrive.
  • No empty `fastawb_locker_store` on every visit. The first load no longer sends an empty `locker_id` (it held the Woo session lock with headers sent and no body); reporting goes out only on a real choice or on placement.
  • Session without a cart. The AJAX handler no longer calls `wc_load_cart()` (delivery calculation + calls to the server); it writes directly to `WC_Session_Handler` with dedup and releases the lock before responding.
  • The provider travels with the point. The choice from the map and `setExtensionData` also send `locker_provider`; a Sameday easybox no longer reaches the server as a FANbox.
3.3.242026-10-08

Fixed

  • Deduplication of empty locker reports. Toggling between methods sent the same empty value several times at once; now it goes out only once (the resend at placement stays forced).
3.3.232026-10-08

Added

  • Slow-call log on the configuration page: any request to the server over 4 s (or failed) stays recorded with the path, duration and error. Diagnostics for a hang without access to the server.
3.3.222026-10-08

Changed

  • PHP 7.4+ support (was 8.1). The only modern functions got a polyfill in a new file (`compat.php`), and the single `?->` was rewritten. The batched county sync (0.35 s for 2100 points) is here as well.
3.3.212026-10-07

Fixed

  • Syncing crowded counties no longer blocks the checkout. Writing was row by row with a linear search (O(n²) in PHP + thousands of MySQL requests at 2000+ points) — on hosting with few PHP workers, a county like Bucharest froze everything. It is now an upsert in batches of 500.
3.3.202026-10-07

Fixed

  • Location searches in the county near you, not the one in the form. With a fresh position, the county is deduced from the coordinates (the nearest centre in the catalog); the status also says the county when it differs. Before, a customer in Cluj with Giurgiu selected saw only Giurgiu, 297 km away.
3.3.192026-10-07

Fixed

  • The county stays from the first choice. Writing to the other field was moved after the event (it no longer confuses React), and a safety net reapplies the chosen value if a re-render brings back the old one.
3.3.182026-10-07

Fixed

  • No wrongly predefined county. Woo's default (shop base or geolocation, including the one that arrives after mount) is cleared when there is no address data and the customer has not touched it. Real choices are not touched.
  • Placeholder „Alege județul întâi” on the locality while there is no county.
3.3.172026-10-07

Fixed

  • A second press on location only recentres. If the mode is already active with a map drawn, it no longer refetches and redraws everything (which caused the zoom-out/zoom-in); the map just slides to your position.
3.3.162026-10-07

Changed

  • Locker status on a single short line: „150 puncte · cea mai apropiată la 850 m de tine.” (or just „12 puncte.” without geolocation).
3.3.152026-10-07

Changed

  • The status shows „Cea mai apropiată la X de tine” when the distance is known (after geolocation), instead of the old technical wording.
3.3.142026-10-07

Fixed

  • The map centres on you, not on the point. With a decent position (±2 km) you see the blue „you are here” dot at zoom 15; with a coarse position the centring stays on the nearest point. Geolocation asks for high accuracy and no longer accepts positions older than a minute.
3.3.132026-10-07

Changed

  • The „near me” mode zooms tighter (15) and shows its state. The button becomes „Lockere în apropierea ta” with active-option styling, and the map frames your position together with the points.
3.3.122026-10-07

Fixed

  • The locality dropdown inherits the theme's geometry (padding, font, borders, corners — copied as computed from the county one), not just the classes. Without this, container-bound rules did not apply and the label overlapped. With a neutral fallback when there is no model.
3.3.112026-10-07

Fixed

  • The locality dropdown looks like the county one. Our select copies the theme's classes from the county one, so the floating label no longer overlaps the value. Our own styles remain only for width.
3.3.102026-10-07

Changed

  • The map also includes your position in „Puncte în apropiere”. The blue „you are here” dot is included in the framing together with the lockers, so you see where you are relative to them, not just the county map.
3.3.92026-10-07

Changed

  • Validation tooltips appear only after the customer touches the field. On load, the button is disabled silently, with no banners.
  • Locality is a native `select` on mobile (instead of input + datalist), synced with the Woo field. County and locality start empty (without the shop default) when there is no address data.
  • „Puncte în apropiere” beats the chosen locality: with a fresh position (< 10 min) the points are requested for the whole county and the nearest 150 are shown, not only those in the locality.
3.3.82026-10-07

Changed

  • The Leaflet/OSM attribution is discreet but stays visible (ODbL licence requirement). Small font, translucent background.
3.3.72026-10-07

Changed

  • The phone is required at checkout (the theme's placeholder stays „opțional”, but the place-order button stays disabled without a valid number). Invisible fields do not block the order.
3.3.62026-10-07

Fixed

  • Validation accepts any digit in the address („Horea A.15”). Tokens with a dot are tolerated, and the last safety net is the first digit from anywhere. With no digit at all, the error stays. The same rule in the validator and in the PHP parser.
3.3.52026-10-07

Fixed

  • Street numbers with a leading letter are accepted („Horea A15”). The rule still requires a digit in the token, so texts without digits are still refused. The checkout validator and the PHP parser use the same rule.
3.3.42026-10-07

Fixed

  • Number, block, staircase, floor and apartment are extracted from a single-field address. Customers write „horea nr 55 bloc a19” in address_1, with address_2 empty, and the components did not reach the AWB. Explicit values (meta or address_2) take priority.
3.3.32026-10-07

Fixed

  • The address error no longer appears under the delivery method. The delivery radio buttons contain `address` in their id and were detected as address fields. The message now appears as a red bubble above the address field, and the place-order button is disabled while the address has no number or the phone is invalid.
3.3.22026-10-06

Fixed

  • Checkout with no console errors. A hook name with slashes is rejected by `wp.hooks`, and registering it filled the console with errors. Validation stays on `setCustomValidity`, which natively stops the form from being submitted.
3.3.12026-10-06

Fixed

  • The lockers map did not initialize on checkout. `wp.hooks.add()` does not exist (the API is `addAction`/`addFilter`); the call threw a `TypeError` and stopped the whole checkout initialization. It is now guarded with `typeof` and uses `addAction`.
3.3.02026-10-06

Changed

  • Full rebrand Expedio → Fast AWB. Plugin name, main file (`fastawb.php`), slug (`fastawb`), translation domain, API headers (`X-Fast-AWB-*`), delivery methods, options, tables and CSS/JS classes. On activation, the plugin automatically deactivates the old `expedio/expedio.php` and migrates the data (options, locker table, order meta, shipping zones) without loss.
  • Full rebrand Expedio → Fast AWB. The server accepts the new `X-Fast-AWB-*` API headers and still accepts the old `X-Expedio-*` ones.

Fixed

  • The history import goes up to 500 per run, not 50. The cap was conservative for the beginning; at 50, an account with thousands of shipments needed dozens of manual runs. The limit applies per transaction, not per courier, and the report still says how many are left.
  • The Sameday rate is re-read per existing shipment. The official v3.5 document hid `GET /api/client/awb/{clientInternalReference}` („returns the same response as AWB creation”); tested live with a reference sent by the server (`wc_order_id`): 200 with `awbCost 22.27`, the same figure as the estimate and as `cost_quoted`. It is the current rate, not the base 12.0 from creation — but it only works for shipments created through Fast AWB; those from their own panel have no reference and stay without a cost. The `pricing` entry in the registry and `docs/SAMEDAY_API_COMPLET.md` (new §17) carry the evidence.
  • Onboarding and courier setup no longer dead-end a new client. The license checklist step linked to `/admin/clients`, where a client gets `403`; it now says only the administrator can issue a license. Saving Sameday with wrong credentials returned the 500 page; it is a form error with the reason. `Client ID` fields explain which value each courier wants, the authentication test button is visible (disabled) before the first save, and the FAN history form states the daily-borderou meaning of its date and the 500-per-run limit.
  • The delivery-KPI map states empty instead of drawing empty. With shipments but no mappable counties the panel drew blank outlines on a degenerate scale; it shows the `not_attributed` reason. The empty-state marker follows its kind, a tap opens the same county card as hover (tap was dead), the card carries each average's sample size, the frame is taller with border counties kept inside it, and Reports links to the map while the map links back to the export.
  • The KPI map no longer downloads the 1.5MB locality catalog. Every page view fetched and parsed 12,701 positions before drawing anything, although the server had already joined the coordinates into the locality rows the page carries. Points are built from the rows; the county outlines remain the only geometry download.
  • Imported and single-call AWBs now reach the KPI snapshots. Collection joined AWBs to orders and read the destination from the order, so an AWB without an order row was invisible although it carries its own destination; and nothing scheduled a refresh after an import or a generation (startup only covered order-linked AWBs). Collection covers both row shapes with a tenant-safe predicate, and imports and generations request one deduped refresh job.
3.2.402026-10-05

Added

  • **Sameday account history is now measurable, from the courier's own event feed.** `GET /api/client/status-sync` is swept across real time-frames, read-only (GET only, never a write), and the account's shipments are reconstructed from the events: delivery time in working days, delivery and return rate, failed attempts and final state. The measurements join the existing KPI shape — same rollup, same `county` plus folded-locality key, same thin-sample marking — so Sameday rows now sit next to FAN and DPD instead of being absent. On the real account the sweep covered **3413 windows from 2026-01-01 with zero refusals, returning 3038 events and 309 distinct AWBs** (225 delivered, 7 returned, 33 canceled), and produced `delivery_days` = 1.37 working days over a sample of 126 shipments. `delivery_days` is courier time only — pickup (`statusId 4`) to delivery (`statusId 9`), non-delivery days excluded — matching how FAN and DPD are measured. Shipments without a pickup event contribute no time figure rather than a substituted AWB timestamp, so the sample is stated, not padded.
  • Courier fields we do not interpret are now stored unrenamed in the raw snapshot: `lockerDetails`, `oohDetails`, `tobaccoCheck`, `damageCheck` and anything Sameday adds later. A courier that ships an attribute we did not anticipate does not lose it.
  • New `history_events` capability in the fail-closed registry, backed by the contract of record: `GET /api/client/status-sync`, with the window limit, the `statusId` catalog and the attribution rule written out.
  • False-positive numeric assertions replaced with scoped ones. Eleven checks searched a bare figure as a substring of a whole response, and either rejected correct pages — `22.27` is a latitude in the county outlines, and `409` occurs in them 35 times — or could not fail at all. Each now verifies the behaviour it was written to guard: a figure read from the visible text with a digit boundary instead of a substring, a client's figure read from its own table row, the CSV export parsed and asserted per row, and the public tracking page checked for a price in the text a reader actually sees. A new AST audit keeps the pattern from returning, keyed on each assertion's content rather than its line number, requiring a written reason for every remaining case, and a regression fixture proving that the real county geometry may contain both figures without failing while a hardcoded total, a leaked figure or a hardcoded coordinate still does.
  • Real delivery statistics per locality, for FAN, computed from the courier's events: average delivery time and return rate, grouped by courier + county + locality. They are the first KPI measurable on real events, since FAN is the only courier that gives both the borderou and the event history. Verified live on the account: 322 shipments in 32 days produced 196 localities. - The destination does not come from tracking. `events[].location` is the agency that scanned: AWB `7000163295887` has events in „Dr.Tr.Severin”, but the recipient is in Cujmir, Mehedinți. The locality is read from the borderou (`recipient.address`), and the two sources are joined by AWB. - Event codes are read from the courier's catalog, not guessed from text. Only `S2` is „Livrat”; `S1` is „Expeditie în livrare” and `S3` is „Avizat”, so neither is a delivery. `S46` „Predat punct livrare” is a handover to a pickup point, not a delivery — the returned AWB actually has two of them, before the return, and counted as deliveries they would have shown a lower return rate than the real one. If a code in use is missing from the catalog, the calculation stops instead of counting something else. - The delivery calendar is not documented and cannot be queried either: five candidate endpoints all answer 404, and the description of the Standard service („max. 3 zile lucrătoare”) does not list the days. Duration is therefore measured in „delivery hours”, with non-delivery days subtracted, using an assumption (Monday–Saturday) marked `verified: false` on each row and recorded as an open gap. As long as the calendar is not known, the duration is an approximation, not a measurement by the courier. - The aggregate lives in a table keyed `(courier, county, locality)` refreshed by a job; it is not computed when a page is rendered — the same mistake that AGENTS.md documents for the object cache. Locality matching uses `fold_text()`, not `lower()`: FAN sends „Horezu” and „Cujmir”, and the catalog has them with diacritics.
  • The couriers' locality nomenclature is downloaded into a table, in a weekly job, and no longer sits on the hot path of AWB generation. A failed sync keeps the old list, and the search has a network fallback when the table does not contain the locality.
  • Browser-level UI checks: `app/services/browser_check.py` drives a real headless Chrome over CDP, and the KPI map and charts are verified by what they draw — rendered height, SVG shape counts, and console errors — on both the client and the admin pages. These catch the failures a markup or JSON check cannot: a container present in the page with zero height on screen, or a script that throws before it draws anything.
  • Cache-busting versions on every UI asset. `ui_asset()` in templates derives `?v=` from the file itself, so a fixed script reaches browsers holding the cached copy.
  • Audit check for assertions that search a rendered page for a bare number, which collide with the county geometry that page may carry.

Changed

  • Orders are no longer pushed to the server. The WordPress plugin used to push every order on every WooCommerce save (autosave, status change, address correction). The order now travels inside the AWB request and disappears: the AWB itself carries the recipient, phone, address, county, weight, parcel dimensions, declared value and cash on delivery.
  • The order list showed the tracking status with one request for each displayed AWB, so a page with 23 AWBs sent 23 requests on load and the generate button joined the same queue: each request was delayed by ~49 s on Local, where WordPress has two php-cgi processes. None was slow, all were waiting. The status is now requested on click, in a single request, through the existing batch endpoint.
  • `docs/SAMEDAY_API_COMPLET.md` §11 was rewritten from a sweep of the real account and corrects five documented behaviours that were wrong: the window limit is inclusive; the refusal message lives in `errors.children.endTimestamp.errors[]`, not in the root `message` (`"Validation Failed"`); the ISO-timestamp rejection says `"Format timestamp unix invalid"`, not the message previously quoted; `lockerDetails` and `oohDetails` are objects, not arrays; and the Sameday status is a numeric `statusId` catalog of 31 codes, not a free label with no code. The record also states that `statusId 15` and `111` are both cancellations, that `statusState` says "successfully delivered" on the four COD codes and so must not be used to detect delivery, and that `expeditionStatus.county` is the origin, not the destination.
  • Sameday `tracking` and `generate_label` still refuse, but no longer with a reason that was factually wrong. Both paths exist and were verified (`200`); the refusal is about the response shape and about not creating shipments, not about a missing endpoint.
  • The account-wide sweep is attributed to one client, by the credential's own account, so imported Sameday history cannot leak between shops. Shipments created outside the server are imported too — they belong to the same client — and are marked with `is_own_awb` so provenance stays visible, because excluding them would report 7 shipments for an account that shipped 309.
  • The delivery-KPI page now leads with cost and return rate — the two figures the owner named as the objective — instead of six equal headline numbers, and each of them carries a reference point earned from that shop's own couriers: the cheapest and the dearest measured courier, or the reason no comparison is possible. A courier with no tariff in its import documents is `absent`, never `0`, so it cannot become "the cheapest courier"; a courier under the sample threshold is never a benchmark. There is deliberately **no previous-period comparison**: `delivery_kpi_snapshots` is a keyed table that the refresh job overwrites, so there is no history and any delta would be invented.
  • Empty, thin and absent are now told apart and each says which it is: "nothing measured yet", "measured but the tariff is not in the import documents", and "below the sample threshold". Status carries colour and a word and a symbol, never colour alone.
  • The courier, county and locality rows link to the filtered shipment list. For the links to work, the existing AWB search now also matches the courier code, the county and the destination locality, folding Romanian diacritics in SQL with the same rule `fold_text()` uses in Python — otherwise `Constanta` and `Constanța` would both return nothing, with no error. The admin overview filters the same way.
  • Light theme for the client panel and the admin panel, with a dark/light toggle in the header. The theme follows the operating system by default and an explicit choice persists across pages and sessions in `localStorage`, applied by a small synchronous script in `<head>` so the first paint is already correct instead of flashing the wrong theme on every page load.
  • A county map on the delivery-KPI page: the 42 county outlines are drawn from `app/static/ui/romania-counties.geojson`, keyed by our own official county codes, coloured by the chosen metric, with a hover card showing that county's figures and its sample size. The county table stays underneath, so the same numbers can be read without a mouse.
  • The delivery-KPI map now zooms to locality level: every measured locality with a known position becomes a dot, sized by its shipment count and coloured by the selected metric, with its own figures on hover and a per-locality table beside the map. Positions come from DPD's own locality nomenclature (`POST /location/site/csv/642`, verified live 2026-10-03, 13 751 sites), so nothing on the map is a geometry we invented. A locality with no catalogue entry stays undrawn and is counted as such on the page, because absent is not zero and `0,0` is in the Atlantic. Overlapping dots cluster by screen distance and carry a count, deliberately uncoloured: a cluster is a number of points in an area, not a performance, and colouring it would imply one courier covers the zone. The county map is untouched at low zoom, and no request is made per pin.
  • The UI is one token set instead of dark-only literals. The 34 KB inline `<style>` in `base.html` moved to `app/static/ui/theme.css` and `app.css`: every component resolves its colours from variables, and both themes define the same variables. A colour written inside a component is invisible in the other theme, which is what makes a "dark mode" pass look unfinished — there are now none.
  • Text contrast was measured in a real browser across all 16 panel and admin pages in both themes. Four tokens were failing WCAG AA and are corrected: the primary button had no explicit text colour and inherited near-black from the body (~3:1), and `--muted`, `--faint` and the light `--accent`/`--green` were readable on white but not on the grey chips they actually sit on.
  • Orders are no longer imported into the server. The server kept a row per order: no AWB, no tracking, no cost, just rows and personal data kept for nothing. A shop sees an order in the panel only once it has an AWB, which is the only moment the server needs it.
  • The AWB list is now one table. Previously the imported documents sat in a separate reconstructed table below the main one, so an operator looking for a number had to know *where* to look — and if they did not, the conclusion was that the document did not exist. Generated AWBs, imported FAN/DPD documents and Sameday shipments reconstructed from status events now appear together, each row stating its provenance, because an imported document cannot be reprinted or deleted from here while a generated one can. Cost that the courier does not publish stays absent, not `0` — Sameday has no historical tariff at all, since `awbCost` is a base price without the COD fee or the fuel index (docs/SAMEDAY_API_COMPLET.md §9).
  • The Orders tab is gone from both panels, along with `/panel/orders` and `/admin/orders`. Both now answer `410 Gone` with a page that says where the documents are, rather than `404`: the link was in the sidebar and may be in a bookmark, and a `404` would read as a broken panel.
  • The server panel shows the same tracking status data without any request into WordPress.
  • Generating a Sameday AWB took over half a minute: the locality was searched in all 13,777 of the courier's localities, in 69 pages, on the first request of each process. The documented filters of the contract were enough — 3 pages per county — but an old note in the code considered them unusable. The search now takes under a second.

Fixed

  • **Every UI asset now carries a cache-busting version tied to its content, and the checks that would catch a stale one exist.** A corrected `kpi-map.js` kept shipping to browsers that had already cached it: the server answered correctly, every server-side check was green, and the hover card said "we don't deliver here" for a county with 85 shipments — because a browser cache is not visible to a server. Assets under `app/static/ui/` go out through `ui_asset()` as `?v=<sha1 of the bytes>`, memoised on the stat data so an unchanged file is hashed once per process. - The token is the content's digest, not `path + mtime + size`. The latter described the file rather than its content, so it held the URL still when a deployment restored timestamps, when a checkout landed an older blob over a newer one, or when a build rewrote a file in place — bytes changed, URL did not, and the browser kept the copy it already had. - `kpi-map.js` no longer falls back to a hardcoded `?v=0` for its geometry. A constant is a URL that never moves, which is the bug wearing a fix's clothes. It now derives the token from its own `src`, which `ui_asset()` already versions, so script and geometry always come from one revision. - Leaflet's vendored stylesheet referenced `images/layers.png`, `images/layers-2x.png` and `images/marker-icon.png`, **none of which existed**: a layers control or a classic marker icon asked for a file that was never there. They are vendored now from the same 1.9.4 release as the CSS and JS beside them. This one needed measuring rather than reasoning — a `?v=` on a stylesheet does not reach its own `url()` images (RFC 3986 relative resolution drops the base query), so a parent stylesheet's version cannot cover them and a missing one stays missing. - Six new checks, each proven red against a constant version and green against the real one: no rendered page may link an unversioned `/static/` URL; every `url()` in a shipped stylesheet must resolve to a file we serve; changing an asset's bytes must move the URL and serve the new bytes, measured end to end against a real app; the token must be the content's hash and not a hash of `mtime + size`; the server must answer a versioned URL with the same bytes and `404` a missing one rather than `200` empty; and a negative control that invokes two of those checks with versioning broken and requires them to fail.
  • The Sameday parcel suffix is the parcel position, not a fixed `001`. All 3045 observed `parcelAwbNumber` values are 18 characters ending in three digits, but 2 of 311 end in `002`. Trimming only a literal `001` returned an AWB number that does not exist for a second-parcel shipment and would have counted such a shipment twice in the KPI. Attribution now trims the three position digits.
  • The Sameday status-sync window limit is 7200 seconds inclusive — measured live: 7199 → 200, 7200 → 200, 7201 → 400 — not "smaller than 7200" as the courier's own message reads. The adapter refused `>= 7200`, which was safe but wrong; it now refuses only `> 7200`. A **reversed or zero-length window is refused locally**, because Sameday answers `200` with an empty list for it, exactly as it does for a genuinely empty window, so a sign error would otherwise pass as "no events".
  • A measured KPI could be counted but never aggregated: Sameday history measurements were returned in the counter and dropped from the list, so the page would have shown 7 shipments while the counter said 245. Both now come from the same list, and a regression test fixes the agreement.
  • The county and locality tables under the KPI map rendered every figure left-aligned and proportional, so the columns did not line up and the values shifted sideways on refresh. They now carry the same `num` classes as the other KPI tables, and the sample column says its state as a word.
  • The KPI map threw on the first theme change: the hover layer overwrote `layer.feature`, which Leaflet reads back on every redraw, so the map lost its county colours after the operator switched theme. Nothing announced it — the page was fine until it was touched.
  • `/admin/kpis` answered 500 whenever a client had measured KPIs, because the per-client table linked to `admin.client_edit`, which is not a route (the endpoint is `admin.edit_client`).
  • The locality layer declared no `maxZoom`, and `markerCluster` refuses to build without one — so no locality dots appeared at all.
  • The KPI map is no longer addressed by `id` in one place and by class in another; both panels carry the class the stylesheet sizes.
  • Geometry is fetched by the map script rather than inlined into the admin page: 160 KB of coordinates per render that nothing read, and which made a figure search unanswerable.
  • The server starts its own worker. It was started by hand in a second window, so every fresh server ran without tracking: statuses stopped updating, KPI pages stayed on their first run, and nothing on any page said so — the numbers simply stood still. The worker is now a child process of the server, stopped with it. A file lock (`msvcrt.locking` on Windows, `fcntl.flock` on POSIX) means starting the worker separately cannot produce a second one, and the lock is released by the operating system when the process dies, so a `SIGKILL` cannot leave the next start without tracking. The supervisor waits 1.5 s and reports if the child exited immediately, because a `Popen` that returns does not mean a worker that survived.
3.2.392026-10-02

Fixed

  • The price of a Sameday AWB was invented: the server computed `12.00 + 2.50 per kg` and displayed 14.50 RON for any order, although Sameday has a rate endpoint (`POST /api/awb/estimate-cost`, found in their official SDK and verified live). The `awbCost` value in the creation response is only a base price — 12.0 for a shipment that costs 22.27 with the COD fee and fuel — and can no longer override the estimate. The real price is requested before generation, and the 7 existing Sameday AWBs were re-priced.
3.2.382026-10-02

Fixed

  • The order list read the tracking status with one request for each displayed AWB, so a page with 23 AWBs sent 23 requests on load and the generate button joined the same queue: each request was delayed by ~49 s on Local, where WordPress has two php-cgi processes. None was slow, all were waiting. All statuses are now read in a single request, through the existing batch endpoint.
3.2.372026-10-02

Fixed

  • AWB generation stopped at 15 seconds, although the shipment went through to the courier before the response: on the first request of the day Sameday downloads its locality nomenclature, in dozens of pages, and the AWB took over half a minute. The plugin gave up earlier and reported „Operation timed out” for an AWB that already existed at the courier. Generation now has its own, longer timeout; ordinary requests stay short.
  • Saving the priorities via AJAX never worked: the request did not send `action`, so WordPress did not know which handler to run and answered with body `0`. The message still showed „Salvat pe server.”, because the `finally` block overwrote any error with success. A save that never reached the server looked exactly like a successful one.
  • Manual courier choice threw a fatal error: `update_client_settings` required `array $weights`, and the form sends `null` in manual mode, where the weights are not used. The parameters are now optional, so each group of settings can be saved on its own.
  • The Sameday service chosen in the account did not reach the order: the code read two columns, one for address and one for locker, that did not exist in the database. Saving from the couriers panel succeeded, yet the AWB was refused with „serviciul nu este ales încă”. The columns were added, with the old value migrated into the address service.
3.2.342026-10-02

Fixed

  • `admin.js` was loaded only on the map screens: being declared dependent on Leaflet, which is not registered on Configurare, WordPress dropped it from the queue without any error. The automatic saving of priorities did not run at all on the Configurare page.
3.2.332026-10-02

Added

  • Courier selection, in Configurare next to the priorities: *automatic* mode by the existing score, or *manual* with a courier chosen from those that have credentials and are available. The dropdown does not promise couriers without credentials or disabled ones.
  • In manual mode the chosen courier is tried first, not exclusively — if it cannot generate the AWB, the order moves to the next one, so the shipment is not lost.
3.2.322026-10-02

Added

  • The locker map draws a filled pin per network, in our own shape with a drop shadow, carrying the courier's official logo: the Sameday emblem in red, the FAN Courier emblem in blue. The logos are our own prepared files in `assets/pins/`, with the white background made transparent by removing only the border-connected white — the Sameday emblem has white faces in its centre that are part of the symbol, and a colour-threshold background removal deleted them and left a red ring. The FAN logo's lettering is cut, because at 25 px it is unreadable and it covered the emblem. The map clusters markers per area with a neutral colour and the point count, and separates them when the customer zooms in, because 1508 easyboxes in Bucharest overlap completely at city zoom.
  • Sameday pickup points are offered at checkout next to FANbox, in one picker: the customer chooses a pickup point, not a courier, so the two networks are served from a single `GET /api/client/lockers` response and each point keeps its own network in the order metadata, because the same id may belong to a FANbox or to an easybox and the server needs the network to pick the courier. The shipping method label no longer names FANbox, and an easybox gets a red map marker so the customer can see which network the chosen point belongs to.
  • Sameday pickup points are saved in WordPress in a dedicated table, per county and per network, so checkout does not depend on a server round trip on every county change. The local copy is used only when it covers every network requested: a county synced for FANbox alone used to be served as a complete answer, so the Sameday points were never shown and nothing explained why.
  • `locality_matches()` resolves the courier's nomenclatura instead of comparing text: Sameday names the Bucharest localities „Sectorul 1" … „Sectorul 6" while WooCommerce sends „București", so the 1508 easybox points in the capital matched nothing and stayed invisible. The exception is named and bounded — „București" does not absorb Ilfov, Sectorul 7, or any other town.
  • Sameday easybox points are now read paginated, so all 7302 of them on the account are stored across all 42 counties. The list was read as a single page of 500 and stopped there, which returned a number exactly equal to the page limit: a truncated list with no error. Cluj-Napoca showed 20 easybox points instead of 312, and Bucharest was cut off at the page edge. The list is also cached on the class with a TTL, so a locker request does not download 15 pages from the courier every time.
  • Sameday is configured from the client couriers panel, exactly like FAN Courier and DPD, and can be rewritten at any time: the username and the password are saved per client and an empty password keeps the stored one. Until now Sameday was read only from the server environment, so it could not be configured per shop, could not be changed after the fact, and was excluded from courier selection because it had no per-client credential.
  • The "Shop ID" field is gone from the Sameday courier form: `shopId` does not exist in the official Sameday contract (it appears zero times in the 20-page PDF), so the field could only ever hold a fabricated identifier. The pickup point and the service are now chosen from dropdowns filled live from the courier account (`/api/client/pickup-points` and `/api/client/services`) and validated against those lists before being saved. AWB creation stays refused until a real shipment has been confirmed on the account.
  • Added `docs/SAMEDAY_API_COMPLET.md`, the verified Sameday contract inventory. Three documented endpoints differ from the running API and are recorded as such: `/api/authentication` answers `404` (the working one is `/api/authenticate`), `/api/geolocation/counties` answers `404` (the singular `county` returns the 42 counties), and contact persons are not a separate endpoint but arrive inside each pickup point.
  • The AWB detail drawer now shows every field the courier returned: the cost source (courier tariff or server estimate) and the complete flattened provider response, rendered with escaped text like the reconstructed history table. Costs estimated by the server carry an `est.` badge in the AWB table.
  • Inline SVG navigation icons in the client panel and the global admin, replacing the unicode glyphs. They inherit the link color, so the active violet state keeps working with no font dependency.

Fixed

  • The map was left empty on the first draw, and only filled in after the customer switched the delivery method and back. The map was created after the wait for the logo files, so the first draw returned with the map still null, and the redraw the promise scheduled found a null map and drew nothing. No error was raised, which is why it looked like a styling problem. Creating the map before the async wait fixes it, and the order of those two lines was the whole bug.
  • The WordPress locker cache returned points with no network, wrote every point as `fanbox`, and deleted only the FANbox rows on refresh. All three made an easybox indistinguishable from a FANbox point, so the server received a `fanbox` network with a Sameday `lockerId` and the AWB would have been refused by the courier. The store now reads and writes the network per point, and the refresh is limited to the networks present in the incoming list, so a courier error on one network no longer erases the other's points.
  • The locker cache was served before contacting the server and without checking which networks it covered. A county synced for FANbox alone was answered as if it were complete, so the Sameday points were never shown and the customer saw a list that looked final. The cache is now used only when it covers every requested network.
  • The plugin update no longer fails with `Download failed. Forbidden`. WordPress keeps the update list in a transient for hours and only then downloads, while the signed release link expired after 15 minutes, so the operator saw a valid new version and got a 403 when pressing „Update now”. The plugin now sends the shop's license key with the release request.
  • An easybox with `lockerId` 0 was dropped from the list: the identifier was read with `or`, which is correct for text but turns a numeric zero into a missing value. A point without an id can never become a valid AWB, so it was silently lost from the picker.
  • Filter and form dropdowns no longer render white text on a white popup. The options now have an explicit dark background with `color-scheme: dark`.
  • The release download now also authenticates with the shop's license, in addition to the signed link. A package still needs a valid link or an active license: no license, a suspended license, or a forged token all answer `403`.
3.2.242026-10-01

Added

  • A DPD adapter, built from `docs/DPD_API_COMPLET.md` and from real responses on the account: services, localities, streets, pricing and tracking. The locality and the street are translated to DPD's own numeric ids, because a Romanian address cannot be sent as free text.
  • The DPD courier, its credentials and the client preference, so it can be ranked alongside FanCourier for a real order.
  • A courier credential form in `Curieri disponibili` for DPD, next to the existing FanCourier one: username, password, and the client id of the dispatch site. The panel route accepted only `fancourier`, so a client could not reach DPD from the interface at all and DPD existed only through a script.
  • A `Testează autentificarea` button for DPD, which calls the real API and never prints the password.

Changed

  • Creating a DPD AWB is still refused: `/shipment` answers `Wrong sequential numbers` for every payload, while `/calculate` accepts the same one and prices it. The contract says the shipment id comes from a provided range, and the supplied account has no numbers allocated for dispatch.
  • Romania has no `state` objects at DPD: `/location/state` for country 642 returns an empty list, so the region lives on the site. A Romanian locality is a DPD site: Cluj-Napoca is `642154984`.
  • Five payload shapes were rejected by DPD, each of which would have passed a test that guessed the schema: `recipient.name` is not a field (`clientName` is), `recipient.phone` is not a field (`phone1` is), `clientName` and `privatePerson` are mandatory without a `clientId`, the address is `addressLocation` for pricing and `address` for creation, and the service is `serviceIds` as an array for pricing but `serviceId` as a scalar for creation.
  • DPD answers `200` even when it refuses a request, so the status code proves nothing and the `error` object carries the reason.
  • Printing is refused rather than answered with a URL built from a tracking page, which is not a label.

Fixed

  • A courier can now be configured without an administrator having created its global row first. Both handlers refused the request with "global definition unavailable", so a client who had credentials could not generate an AWB until someone intervened in the database.
  • Two couriers without a saved row no longer share one score in the panel. The score dictionary was keyed by id, and the rows added by the page have no id yet, so the last one overwrote the others and the first card showed a score that belonged to a different courier.
3.2.232026-10-01

Changed

  • Deleting a locality is now a button instead of a checkbox. The column had two marks per row, one to keep and one to remove, and the rule was that removal won; the effect of the second mark was invisible until the list was saved. The button marks the row and can be pressed again to undo it.

Fixed

  • Pressing delete on one locality saved an empty list. The marker input was hidden with `hidden`, and a hidden input is still sent in `FormData`, so every row arrived in `remove[]` while `keep[]` held one fewer. The marker uses `disabled` now, which `FormData` does omit.
  • Saving with an unloaded panel no longer empties the list. Without `keep[]`, every row used to fall and a list of thousands of localities was replaced by an empty one, with no error; the save is refused with a reason instead.
  • Saving a county answered "Județul nu este în catalog" for all 42 counties. `sanitize_key()` lowers the code (`B` becomes `b`) while the catalogue keeps it in capitals, so a strict comparison never matched.
3.2.182026-10-01

Fixed

  • Every county on `Fast AWB -> Localities` answered "Județ invalid" and the panel stayed on "Lista nu a putut fi încărcată". `sanitize_key()` lowers the county code (`CJ` becomes `cj`) while the catalogue keeps it in capitals, so a strict comparison never matched.
3.2.172026-10-01

Fixed

  • Opening a county on `Fast AWB -> Localities` returned a 500 instead of its list. The handler validated the county code with a method that was called but never defined, so PHP threw "Call to undefined method" on every county panel.
3.2.162026-10-01

Added

  • The complete locality catalogue is downloaded once and kept in WordPress, county by county, with a button on `Fast AWB -> Localities` that writes all 42 counties in a single request. The checkout then reads the local copy and makes no network call per county change.
  • A county list that is already saved is left alone by an import, because it may hold corrections made by the shop owner. Passing `rescrie si listele deja salvate` overwrites them, and the response names every county it touched, kept or failed.
  • An edit mark is written whenever the owner saves a locality list, so a later import knows the difference between an imported list and a corrected one.

Fixed

  • A locality that is not in the county list is cleared when the customer leaves the field, so `florestiii` cannot reach the order. Typing is still free: a prefix is kept while the customer writes, because `Ap` is not a locality either, and clearing on every keystroke emptied the field from under the cursor and made `Apahida` impossible to type.
  • Counties whose name carries diacritics had no localities at all. The server sent `Brasov` with the diacritic while FAN keeps localities without it, and an unmatched county name returns an empty list with no error: 24 counties answered and 18 did not, exactly the ones with a diacritic in the name. This affected every shop, not only the import.
3.2.62026-09-30

Added

  • The county and locality fields are now found by reading the address structure, so the plugin works on the classic checkout as well as on WooCommerce Blocks. A field library that hides the real field, such as Select2, is handled too: the value is read and written on the hidden field, where WooCommerce actually reads it, and the styling follows the visible element.
  • A locality field that is a dropdown is filled with the localities of the chosen county, instead of being treated as a text field.

Fixed

  • The county and locality fields no longer grow taller than the rest of the form. The plugin was overriding the field height and the space reserved for the label, on top of the space the theme had already reserved, so the fields ended up at 83px and 121px while their neighbours stayed at 50px and the text fell outside the field. The theme reserves the label space correctly on its own, so the plugin no longer touches the field geometry.
2.7.42026-09-30

Fixed

  • Changing the county now clears the locality for real. The field was looked up in the document, which no longer finds it once mounted, so an old locality from the previous county stayed on the order: pickup points were then asked for in the new county with a locality that does not exist there, and the customer got an empty list.
2.7.32026-09-30

Fixed

  • Typing a locality right after opening the field no longer answers „ no result on this name”. The list is fetched on focus and arrives after the first keystroke, so the search ran against an empty list. The field now waits for that first response and reuses it, instead of asking again per keystroke.
2.7.22026-09-30

Fixed

  • Pickup points load again when the message about the nearest point is shown. The flag said whether the list was sorted by distance, but it was declared inside the block that builds the picker, so reading it outside that block threw and emptied the list.
2.7.12026-09-30

Fixed

  • Pickup points load again. The helper that escapes text was defined after the code that builds the picker, so reading it threw and every request ended as „we cannot load the points”.
2.7.02026-09-30

Added

  • A „Points near you" button asks the browser for the visitor's location and lists the pickup points of the chosen county ordered by distance, with the distance shown on each row. The visitor's position appears on the map, which centres on the nearest point. Permission is requested once, the coordinates stay in the browser, and nothing is sent to the server or written on the order. Refusing the permission leaves the list ordered by locality, and the button says so.
2.6.22026-09-30

Fixed

  • A locality kept from an earlier session is now shown in the box instead of staying hidden. The field value arrived from the checkout store, but the visible box was never told about it, so the customer saw an empty locality while the pickup points for it were already loaded.
2.6.12026-09-30

Fixed

  • The text in the county and locality boxes sits in the middle of the field. WooCommerce Blocks pads its own fields with `!important`, which won over the plugin's rule and pushed the locality text to the bottom.
2.6.02026-09-30

Added

  • Pickup points are stored in a dedicated table (`wp_fastawb_lockers`) instead of `wp_options`. The local copy is filled with the whole county, never with a single locality, and is filtered by county and locality in SQL.

Fixed

  • Pickup points for a locality other than the first one requested now appear. The cache was saved per county but filled with the answer for one locality, so the first request for Cluj was for Floresti, its 32 points became "all of Cluj", and every other locality received an empty list. The old `wp_options` entries are deleted once, when the table is first created.
2.5.292026-09-30

Fixed

  • A chosen locality now reaches the order. The field was written twice, once around React's own value tracking, so the block checkout read the field as still empty and wrote the empty value back over the choice.
2.5.282026-09-30

Fixed

  • Choosing another county clears the locality shown in the box, not only the hidden field. The stale name used to stay on screen next to the new county while the order was sent without a locality.
2.5.272026-09-30

Fixed

  • A chosen locality is no longer erased by the refresh that follows it. The locality list is reloaded only when the county actually changes, so the pickup points are requested with the locality the customer picked instead of an empty value.
2.5.262026-09-30

Fixed

  • The county and locality boxes are rebuilt once instead of once per address re-render, which left a second dropdown stacked on the first one and lost the locality that had been chosen.
  • The label of a replaced address field is found through `for`, `aria-labelledby` and the surrounding box, so the original label is hidden instead of sitting next to the new field.
2.5.252026-09-30

Fixed

  • Pickup points are requested with the chosen locality again. The mounted field is taken out of flow, and the code kept looking for it in the document instead of holding on to it, so the locality went out empty and the courier answered with every point in the county. The previously chosen locality therefore stayed on screen.
2.5.242026-09-30

Fixed

  • Pickup points now follow the chosen locality. The locality was read from the first address block in the document, which may be the hidden billing one, so the request kept the previous locality and the list appeared not to change. It is now read from the field the shopper actually filled, and points are reloaded directly on each choice rather than waiting for a change event that the hidden field does not reliably deliver.
  • The county field no longer shows two arrows. The original state select draws its own arrow over the new search field, so both appeared at once.
  • County and city text is vertically centred. Line height now matches the field height with no vertical padding, so the placeholder and the value sit on the same line instead of one floating above the other.
2.5.232026-09-30

Fixed

  • Pickup points now appear for a chosen county. The watcher attached itself only if the address block was already rendered when the script started, and Blocks draws it afterwards: the observer never attached, so the county and city stayed plain text fields and nothing asked for localities. It now waits for the block, up to ten seconds.
  • The county is read from the real field instead of the first address block in the document, which may be the hidden billing one. A free-text county value is also accepted when it is a code or a name from the catalog, instead of only a code.
2.5.222026-09-30

Fixed

  • The locality list at checkout now appears. The AJAX helper returns the payload WordPress wraps in `success` and `data`, and the list was read from the root of that envelope, so it was always empty: the city field had nothing to show and pickup points were searched without a locality.
  • Choosing a county now reaches the shop. A WooCommerce state option reads `CJ:Cluj`, and writing only `CJ` matched no option at all, so the select stayed empty and emitted no change event. The option is now matched by code and its real value written.
  • The county and city labels no longer overlap the field above them. The original field is taken out of flow and its label is hidden with it, rather than left anchored where the field used to be.
  • Searching the localities page no longer downloads every county. It matched county names and codes only, instead of reading each county's localities, which sent 42 requests to the courier and stored about two megabytes for a single word.
2.5.212026-09-30

Added

  • The county and city fields at checkout can now be searched. A single county carries 438 localities, which rules out a plain `<select>`: on a phone it cannot be scrolled to a value and typing filters nothing. The original field stays in the page and receives the value, so the block still submits the locality, and a filtered list opens over it. Counties get the same search, because scrolling to "Mehedinți" through 42 options is not a choice either. The fields are re-mounted after each block re-render, and the locality list reloads when the county changes.
  • The localities page shows every county on one screen, each in a panel that expands, instead of a dropdown and a list for one county at a time. A list is loaded when its panel opens rather than with the page, so opening the page does not put thousands of rows into the document.

Fixed

  • The plugin no longer asks the server for its release manifest on every admin page load. It is now held in a transient for thirty minutes, like the delivery modes: a shop with a lot of open admin tabs was sending dozens of identical requests a second, and a stopped server was retried on every render instead of being retried when it mattered.
2.5.202026-09-30

Added

  • A localities page under Fast AWB, where the shop owner can correct, remove and add the localities of a county, with a search field. The list comes from the courier and corrections are sent back to the server, because the locality reaches the AWB and a correction kept only in WordPress would fix the checkout list while the label kept the old value. Counties are shared rather than copied into a second class, so a county cannot be missing from one of them.

Changed

  • The AWB block in the orders list is now compact: the AWB number on its own line, the print-label button directly under it, and the cost and courier in a small bordered chip below that. The order sidebar shows the same chip under the print button. Live generation draws the identical layout, so a row no longer changes height when the button is pressed.

Fixed

  • The shipping method title is no longer blank in the zone's method list. The list renders the method's own `title` property, and the class never read its saved settings into it, so the column was empty even though the value was stored correctly; the description was unaffected because it comes from a different property, which is why only the title looked broken.
  • The shipping cost now survives a page reload. It was drawn into the row by JavaScript at generation time and never rendered again from the stored value, so it appeared after generating an AWB and vanished on the next refresh.
2.5.192026-09-29

Fixed

  • A pickup point now reaches the courier as one. The Blocks checkout saved the chosen point but never its provider, and the server requires both for a locker delivery, so it answered `400` and the plugin dropped the rejection into a log line: the order stayed on the server as an address delivery and the AWB was generated there, correctly for the server's copy and wrongly for what the customer paid. The provider is now written on the Blocks path, where it was missing, and a rejected sync leaves the server's own reason on the order instead of passing in silence. An AWB is also no longer generated for an order the server still holds as an address delivery, so a paid FANBox parcel cannot leave for an address with no error. `2.5.19`
2.5.182026-09-29

Fixed

  • The chosen pickup point now reaches the order. The value reached the checkout store correctly and was then dropped: the store is rebuilt on every re-render and starts empty, so five attempts that only changed how the value was written there all failed identically. The choice is now reported to WordPress as soon as it is made and kept in the WooCommerce session, the form's `submit` is listened for as well as the button, and the value is read back from the session when the checkout payload arrives without it. A re-render between choosing a point and paying can no longer drop the choice.
2.5.162026-09-29

Fixed

  • The chosen pickup point now survives the final step of the checkout. The last write before the order was posted was bound to a guessed selector for the place order button; on a real order it never fired, so the order arrived without a pickup point and was reported as one that had not been chosen. The write no longer depends on a selector: any click writes the selection again, which cannot break the flow it is protecting.
2.5.152026-09-29

Added

  • Counties, localities and pickup points are kept in a copy in WordPress, so the checkout does not depend on a live request. A copy is refreshed from the server, never edited locally, because a modified pickup point would be refused by the courier after the customer has paid.
  • A list too old to trust is refused with a clear message instead of being offered as if it were current. Pickup points move and close, and a stale identifier means a paid order that cannot be shipped.
  • Pickup points are now stored on our own database instead of being fetched from the courier on every checkout. The full FANbox list is downloaded periodically and served from a local table, so checkout no longer waits on the courier and no longer stops working when their API is unreachable: a county with 194 points went from 7000 ms to 160 ms.
  • Counties, localities and pickup points are owned by the server, which holds the source.

Fixed

  • The county is chosen from the real catalog instead of being typed. A free text field meant a customer writing "cluj" got "no pickup point selected", a message that pointed at the wrong problem entirely and could not be acted on. The county is also read from the catalog, so a value that is not a real code is no longer accepted as one.
2.5.142026-09-29

Fixed

  • The chosen pickup point is now written to the order. It was added with `update_meta_data()`, which only changes the loaded order object, so the value was gone by the end of the request: it never reached the courier and the operator had no way to see which point the customer had picked. The order is now saved explicitly before the resync.
2.5.132026-09-29

Fixed

  • A chosen pickup point no longer disappears before payment. The checkout store is rebuilt when WooCommerce creates or reloads the draft order, and its extension data is reset with it, so a choice written once was gone by the time the customer paid and the order reached the server without a pickup point. The choice is now kept and rewritten on every state change and again when the order is placed.
2.5.122026-09-29

Fixed

  • A chosen pickup point now survives the checkout and reaches the courier. Two independent faults sat on the same path. The resync after the order was saved reloaded it with `wc_get_order()`, so it read from the database instead of the object in memory, where the pickup point had not been written yet: the server received the order without a pickup point and sent the parcel to the door. The pickup point now also travels through the checkout's own extension data instead of a registered field, so nothing is rendered for the customer and no field has to be hidden.
2.5.112026-09-29

Fixed

  • A locker chosen at the block checkout now reaches the courier. The chosen rate and locker were saved by the plugin after the order had already been sent to the server, so the server kept an address delivery: it created a "Cont Colector" AWB for the door, at the courier's price, while the customer had paid for a FANbox pickup. The order is now sent again once the pickup point is saved, and a locker order that never received a point is held back with a visible reason instead of being sent to the wrong destination.
  • The AWB controls are gone from the order confirmation page, including for a shop administrator placing a test order. The section was rendered from a front-end template, where the capability check passes for an administrator, so the generate, print and delete buttons appeared on the customer's page. The controls now exist only in the admin: the order edit screen and the orders list.
  • An order row no longer changes its own text on refresh. The status was written raw from the courier in one place and translated in the other, so the same AWB read "confirmed" right after generating and "Status: Confirmat" after a refresh. Both paths now use one status dictionary, and the success message clears itself, because it reports an event rather than the order's current state.
2.5.102026-09-29

Fixed

  • The block checkout no longer fails with a critical error while saving an order. Reading the chosen shipping rate called `get_rate_id()` on the order's shipping item, but that method belongs to the shipping method, not to `WC_Order_Item_Shipping`, so the call threw an uncaught `Call to undefined method` and the checkout answered HTTP 500. Because the failure happened while the order was being saved, customers could not place an order at all. The rate id is now composed from the item's own method id, instance id and the variant suffix.
  • The leftover "Punct de ridicare (opțional)" field no longer shows on the checkout. Only the hidden input was wrapped and removed from view, leaving its label behind, so customers saw an empty field with no purpose — in a shop that may not even offer pickup. The whole field, label included, is now hidden. The input itself stays in the form, because that is how the chosen point reaches the server.
2.5.92026-09-29

Fixed

  • A locker chosen on the block checkout is no longer lost, so the AWB now actually goes to the selected FANbox instead of being sent to the delivery address. The chosen shipping rate was read from `shipping_rates` in the request body, but that key is not part of the Store API checkout schema, so the lookup always returned nothing and every block-checkout order was saved as an address delivery. The rate is now read from the order's own shipping item, where WooCommerce really persists it, compared by its title. A customer who saw and picked "Livrare la locker (FANbox)" got a real, paid, correctly created AWB — delivered to the wrong place, with no error anywhere.
  • Customers no longer see Fast AWB's controls on their own order page. The AWB section was rendered on the customer-facing order details page, so shoppers were told "AWB nu a fost generat încă" and shown an operator's generate button. The whole section is now closed to anyone who cannot edit orders, before any markup is emitted.
2.5.82026-09-29

Fixed

  • Printing a label opens the browser print dialog again. Version 2.5.7 released the hidden label document a second after calling `print()`, which cancels the print job before Chrome has built the preview, so no print window appeared at all. The document is now kept alive while the print dialog is open and is released two minutes later, once the operator has finished printing.
  • The hidden document that Chrome prints from is always mounted on `body`, never inside the order table cell. An ancestor with a `transform` or a `filter` makes `position: fixed` resolve against that ancestor instead of the viewport, which would bring an off-screen label frame back onto the orders page.
2.5.72026-09-29

Fixed

  • The "Printează eticheta AWB" button in the orders list now works on the first press. The click handler attached its listener to the button instead of acting on the click, so the first press only bound the handler and printed nothing, and the second press was the one that printed.
  • Printing a label no longer shows an empty preview. The temporary iframe was removed and its object URL revoked a second after `print()` was called, which is before Chrome has finished building the print preview, so the print window came up blank. The object URL is now released long after the preview exists, and a label request that comes back without a PDF is reported instead of printing a zero-byte blank page.
2.5.62026-09-29

Fixed

  • Printing a label no longer leaks the FAN Courier password. The `/login` call sent `username` and `password` as query params, so the password appeared in the URL, and a connection failure returned that whole URL to WordPress in the error message. A network problem on the courier's side could therefore publish a real password in an admin notice and in the client log. Credentials now travel in the POST body, and a network failure answers with a plain message instead of the HTTP library's text.
  • A label request no longer re-authenticates at the courier on every press. The FAN token is now cached at module level, keyed by courier account, so a second press does not make another login call while the first token is still valid.
2.5.52026-09-29

Added

  • The update notice now lists every version published after the one installed in the shop, not only the newest one. A shop going from 2.5.2 to 2.5.4 sees the changes from both 2.5.4 and 2.5.3, so a fix released in between is not silently skipped. The plugin sends its installed version with the manifest request.
  • The release manifest now includes every version published after the one installed in the shop, not only the newest one, and the range is capped at ten versions so an unknown or modified version does not pull the whole changelog into the response.

Fixed

  • Release notes from several versions no longer overwrite each other. The section heading was used as an array key, so two consecutive versions with a `Fixed` section left only the last one visible — precisely the entries a shop that skipped versions needed to read.
2.5.42026-09-29

Fixed

  • The label print button opened an empty print window. The PDF was rendered in a 1×1 pixel iframe with `opacity: 0`, and Chrome does not start the PDF plugin in a frame with no surface: `load` fired, `print()` had nothing to show, and the dialog came up blank with no error anywhere. The server had been sending a valid PDF all along, so it looked like a courier problem. The frame now has real dimensions and is moved off-screen instead of hidden, and if the print does not happen within a second and a half the label opens in a new tab instead of leaving the operator with a blank window.
2.5.32026-09-29

Fixed

  • The label button read "Printește", which is not a Romanian word. The correct form of `a printa` is "Printează", now used in both the PHP-rendered button and the one JavaScript builds after a successful generation.
2.5.22026-09-29

Added

  • `start.bat` at the repository root launches both runtime processes — the web server and the tracking worker — each in its own CMD window, so stopping an agent session no longer takes the local server down with it.

Fixed

  • Generating an AWB from the orders list failed silently. The button created a per-order nonce (`fastawb_generate_awb_<id>`) while the AJAX handler verified a global one (`fastawb_generate_awb`), so every request was rejected before it reached the server. `check_ajax_referer` answers `wp_die(-1, 403)`, which is valid JSON, so `response.json()` did not throw and the UI fell back to "AWB-ul nu a putut fi generat" — with no reason in the admin notice, nothing in the server console and nothing in the WordPress log. The handler now verifies the same per-order nonce the button creates and answers with a JSON message, and the browser reports a non-JSON or failing response as such instead of a generic failure.
2.5.12026-09-28

Fixed

  • The shipment status is shown only on orders that actually have an AWB, and it is read once when the page loads. A row without an AWB rendered a status node, which sent a request for every order in the list and displayed "AWB generated. Status is being checked" under rows that have no AWB.
  • The page no longer re-reads the status every two minutes. The worker already queries the courier on its own schedule, by state: one hour for a new shipment, four in transit, twenty-four when stale, and nothing after delivery. The browser was repeating the same unchanged answer on every row without ever reaching the courier.
2.5.02026-09-28

Added

  • The AWB is now generated without leaving the page. The button shows a spinner while the request runs, then the row fills in with the AWB number, the courier, the cost, a tracking link and the print-label button. No redirect, no reload, and the list keeps its position. A failure shows the server's real reason next to the button instead of a generic notice.

Fixed

  • Generating from the orders list no longer opens the order editor. The list is one form with a button per row, and the order id and nonce travelled in hidden inputs with fixed names, so they were submitted once per row and the last value won. The handler then checked another order's nonce, rejected the request, and redirected. Both values now travel on the pressed button, which sends only its own.
2.4.62026-09-28

Fixed

  • The generate button no longer lands on a blank page. The action was moved into the button's query string, but `admin-post.php` reads the action from the request body, and the orders list form has its own `action` field that won. The request reached no handler at all, so the operator saw an empty page instead of a result. The action travels in the body again, as with the delete button, and the order id stays on the pressed button so each row sends its own.
2.4.52026-09-28

Fixed

  • Every error reaches the admin notice, whatever its kind. A courier can answer with an unexpected payload or a missing field, and an exception outside the three types that were caught became an HTTP 500 with no body: an empty notice with no reason and nothing to fix. Any exception is now caught, and its type is included, so the message stays actionable even when the courier's own is blank. Invalid request data is reported the same way instead of raising past the handler.
2.4.42026-09-28

Fixed

  • The generate button in the orders list acted on the wrong order. The list is a single form holding a button for every row, and the order id travelled in a hidden input with a fixed name, so it was submitted once per row and the last value won. Pressing "Generate AWB" on one order could therefore generate and report success for a different one. The id now travels on the pressed button itself, so only the button that was pressed sends it.
2.4.32026-09-28

Added

  • Checkout asks for a phone number when the order is delivered to an address. The courier needs it for confirmation and cash on delivery, and without it the AWB could not be generated after the customer had already paid. Pickup at a locker does not ask for one, because a pickup point needs no contact with the recipient. The check is on presence only: a landline or any format is accepted, because the server normalises it when generating the AWB.
2.4.22026-09-28

Fixed

  • A phone number is accepted in any format a customer would type it. The courier asks for `07xxxxxxxx`, but `+40 721 234 567`, `0040 721 234 567`, `0721.234.567` and `0721-234-567` are the same number, and they were refused for having a country code or separators. Refusing a number the customer typed correctly leaves them with nothing to fix.
  • The generate button no longer reports success without generating anything. It believed an AWB number left in the order metadata and returned success without checking the server, so an AWB deleted at the courier, or one left over from a reimported order, produced "generated successfully" with nothing created. The state is now checked at the server, and stale metadata is cleared so the button can try again.
2.4.12026-09-28

Fixed

  • The release package for 2.4.0 was never built, so the server had nothing to offer and shops were told they were up to date while the fix did not reach them. The version is rebuilt and the manifest is regenerated with it.
2.4.02026-09-28

Added

  • Parcel length, width and height are AWB settings, editable in the Fast AWB settings panel next to package type, manual weight and cash service. The courier refuses an AWB without dimensions, and until now a new order had no way to provide them: the values were read from order meta that nothing wrote, so every new order failed with "for FAN the weight and parcel dimensions are required". Defaults are 20 × 15 × 10 cm and can be overridden per courier like every other AWB setting.

Fixed

  • The generate button now works from the orders list. It opened a second form inside the list's own form, which browsers ignore, so the request went to the orders screen instead of the handler and WordPress answered "the link you followed has expired" without saying anything about the AWB. It now submits to the handler with its own fields, like the delete button already did.
  • The plugin no longer reads parcel dimensions from order meta; it sends zero when the order carries none.
  • The server applies the configured parcel dimensions when it receives zero, so „not set” is no longer read as „set to zero”.
2.3.52026-09-28

Fixed

  • A failed AWB generation now shows the reason in the admin notice. It used to say only "the AWB could not be generated, check the order notes", while the real reason — that FAN requires a weight and parcel dimensions — was only written in a note nobody thought to open. The server's message now travels back with the redirect and is displayed as-is.
2.3.42026-09-28

Fixed

  • Choosing a pickup point no longer fails with "fastawb/locker is not one of". The checkout field was registered as a select, which WooCommerce validates against the options declared at page load. The FANbox list is only filled in after a county is chosen, so every real pickup point was rejected. The field is a text input now, and the visible list next to the map is rendered by the plugin, with the value copied into the field so it still travels through the Store API.
  • Pickup points load in a fraction of the time. The FANbox network has over 3000 points and took over ten seconds to download, and that happened on every county change. The list is now cached per account on the server for fifteen minutes.
2.3.32026-09-28

Added

  • A pickup point can be chosen from the map. Clicking a marker shows the point and a "Use this locker" button, which selects it in the list, moves the map to it and marks it as chosen. The list and the map no longer have to be matched by eye, and the chosen point is visible in both at once.
2.3.22026-09-28

Fixed

  • The pickup list is filtered by the county the customer already chose. The client sent the parameters in a POST body while the handler read them from `$_GET`, so the county arrived empty, no filter was applied, and the customer was shown all 3231 FANbox points in the country instead of their own county. The request succeeds with a `200`, so nothing looked broken: it just returned the wrong list.
  • The county is read from the state field specifically. Taking the first select in the address block returns the country (`RO`), which matches no county and filters everything away.
  • A request with no county now returns an empty list and a reason, instead of the whole country.
2.3.12026-09-28

Fixed

  • The pickup point list is asked from FANbox. Sameday has no configured credentials and no verified locker contract, so a request that reached it could only ever come back empty, with a message about a courier the customer never chose. The AJAX handler defaulted to Sameday when the provider was missing, which is how a customer asking for FANbox was told about Sameday.
2.3.02026-09-28

Added

  • The pickup point picker now works on the WooCommerce Blocks checkout. A shop on the block interface was getting the delivery rates but no locker list at all: the fields were registered through the classic checkout API, which the block checkout never calls.
  • Pickup points can now be chosen from a map. The FANbox points are drawn on a Leaflet map next to the shipping options, with the list and the map kept in step. Locker details are read back from the server when the AWB is generated, so the browser is not a source for them.

Fixed

  • Pickup points load on the block checkout. `is_checkout()` returns false there, so the assets were never enqueued and neither the script nor the map could run. The page is now detected by its id, the same way WooCommerce does it.
  • The pickup point is sent from the courier that can actually deliver. Sameday has no configured credentials and no verified locker contract, so the list was empty with a message naming a courier that could never answer. Sameday is no longer accepted as a pickup provider at all: the endpoint answers `400` and a missing provider defaults to FANbox, so a request can no longer reach a courier without a locker contract, even by omission.
  • The pickup point picker sits directly under the delivery options, instead of below the payment methods. A field registered for the order is rendered in "Additional order information"; it stays registered there so validation and saving keep working, and only its position is moved.
  • A county already chosen at checkout no longer has to be chosen again. The block checkout sends the county code, and the lookup now recognises it.
2.2.22026-09-28

Fixed

  • Locker delivery asks FANbox for pickup points instead of Sameday. Sameday is not configured on the server, and it has no verified locker contract, so the list could not load from it in the first place.
  • The FANbox pickup point list now loads. The county catalog used wrong codes for seven counties, so the county a customer picked was never recognised and the lookup answered "invalid county". Brașov was catalogued as `BZ`, which is Buzău: WooCommerce sends `BV`. Botoșani, Călărași, Gorj, Giurgiu and Vâlcea had the same class of mismatch, so seven of forty-two counties were broken.
  • The locker list is filtered by county and locality with diacritics normalised on both sides. The courier returns "Bucuresti" while the catalog has "București", so the comparison never matched and the list came back empty with no error to explain why.
2.2.12026-09-28

Changed

  • Checkout now offers the two delivery options as shipping rates, labelled "Livrare prin curier" and "Livrare la locker (FANbox)", instead of the vague "Fast AWB". The customer picks the delivery method where they already choose everything else, instead of in a separate radio that asked the same question twice and could disagree with the chosen rate.
  • The delivery mode is read from the chosen rate, so the order and the AWB always agree on whether it goes to a locker. The pickup point appears when the locker rate is selected, and reloads on every checkout re-render.

Fixed

  • "Free shipping" in the Fast AWB zone is disabled during setup. It offered a third rate with the same zero price as courier delivery, leaving the customer choosing between identical options. It is disabled rather than deleted, because a shop may use it for free-shipping-over-a-threshold.
  • Disabling a competing method actually persists. The state lives in the `woocommerce_shipping_zone_methods` row, not on the in-memory method object, so a plain property assignment reported success while changing nothing. This is the same class of bug as the AWB deletion that needed an explicit `save()`.
2.2.02026-09-28

Added

  • Checkout offers two delivery options: courier delivery to an address, and pickup at a locker. Locker delivery uses FANbox and is offered only when the server confirms a courier that can actually deliver to a pickup point. When no courier qualifies, the option is hidden instead of promising something the AWB generation would later refuse.
  • The Fast AWB settings page diagnoses the shipping setup. A shop with no shipping zone carrying the Fast AWB method sees an explanation, the manual WooCommerce steps, and a button that creates the zone. The setup is idempotent and never deletes or modifies zones that already exist.
  • `GET /api/client/delivery-modes` reports which delivery modes a shop can support, based on courier credentials and verified capabilities.

Fixed

  • A shop with no shipping zone could never show a delivery option. This was also the reason `needs_shipping()` returned false and orders were not synchronized: the root cause of both was the missing zone, not a filter.
  • Locker delivery no longer comes from a hardcoded list of courier codes in the API router. It is a registered capability with a contract source, matching the rest of the capability registry. FAN supports it, with evidence from `/reports/pickup-points` and the CollectPoint service; Sameday has no verified contract and therefore does not offer lockers.
2.1.102026-09-28

Fixed

  • The release notes no longer sit in a narrow column. The notice is rendered on every admin screen, but the plugin stylesheet was only loaded on the Fast AWB pages and on Plugins, so the notes appeared unstyled on the Dashboard. They now use the full width, with slightly larger text and line height, and continuation lines align under the text rather than under the bullet.
  • Release notes in the WordPress update notice are readable. A changelog entry is one sentence wrapped across several lines, and every wrapped line used to become its own bullet, so a single fix appeared as a list of five short, repeatedly interrupted lines. Wrapped lines are now joined into one paragraph with one bullet, and the leading `-` is consumed as the marker instead of being printed in the text.
2.1.92026-09-28

Fixed

  • An AWB that was already deleted could no longer be removed from the order. The button sent the server the old AWB id, the server answered `404`, and the plugin read that as a failed deletion: it kept the metadata and wrote "the AWB could not be deleted". A `404` now means the shipment is gone from the courier, so the shop's copy is cleared and the action is reported as done. The order note says the AWB no longer existed, instead of claiming FAN deleted it again.
2.1.82026-09-28

Added

  • AWB generation now falls back to the next courier when the first one fails. Courier selection returns a ranked list instead of a single winner, and the server tries each candidate in score order. A single failing courier no longer costs the client the shipment.
  • Courier selection ignores couriers the client has no credentials for. A high score for a courier that cannot be reached was never an option, only a lost order.

Changed

  • WooCommerce only syncs orders that can actually reach a courier. Virtual-only orders and orders in `cancelled`, `failed` or `trash` are no longer copied to the server, where they could never produce an AWB.
  • The order payload no longer carries the full cart. `items_json` is not populated from the shop; the server needs weight and value, not product names, and this removes customer purchase data from the server database.

Fixed

  • Deleting an AWB in WordPress reported success while the AWB stayed in the shop. `delete_meta_data()` only changed the loaded order object; without a `save()` nothing reached the database, so the AWB number, courier, cost, status and label reappeared on the next page load. The order is now saved, and the public tracking link and its token are cleared with the rest of the AWB metadata, instead of leaving a URL that answers `404` on a deleted shipment.
  • A failed tariff lookup no longer invalidates an AWB that was already created at the courier. Previously an HTTP 422 from the internal-tariff endpoint threw away a real AWB and, on retry, created a second one. The price now falls back to the courier's own value from the creation response, or to the internal formula marked as an estimate.
  • An unhandled exception while pricing an AWB returned an opaque HTTP 500. It is now a `502` carrying the real reason and every courier that was tried.
2.1.72026-09-27

Added

  • The WordPress plugin requests a public link after a successful AWB generation and stores the URL in order meta, so a shop can send the customer one address. A link that cannot be created does not invalidate the AWB.
  • Public tracking page at `GET /t/<token>`, rendered by the server from the AWB and its persisted status events. The token is random, not the AWB number, and the link can be rotated or revoked without touching the shipment. Responses carry `X-Robots-Tag: noindex`, `Referrer-Policy: no-referrer` and `Cache-Control: no-store`. Prices never appear on a public page.
  • `POST /api/tracking-links` creates or rotates a public link for an AWB and `DELETE /api/tracking-links/<token>` revokes it. Both are tenant-scoped: the client comes from the license, and an AWB owned by another client answers `404`, never `403`.
  • The client panel shows the installed version and its release notes at `/panel/versiune`, linked from the sidebar. A version without a changelog entry says so instead of showing an invented summary.

Changed

  • The reconstructed historical AWB table is now the default view of imported shipments. The complete raw provider snapshot remains the source of truth.
  • Courier contract inventories for DPD and FAN are kept in `docs/`.

Fixed

  • Generating an AWB for an order whose stored server id no longer exists now resynchronizes the order once and retries, instead of failing silently. The real error is also written to the order notes, so a failure says what went wrong instead of only "AWB-ul nu a putut fi generat".
  • The "Verifică actualizarea în Plugins" button is now a real link with an `href`. It previously depended on JavaScript that was never enqueued on the Plugins screen, so pressing it did nothing.
  • "View version details" no longer answers "Plugin not found". The updater answers the `plugins_api` request with the server manifest, because Fast AWB is not published in the WordPress.org directory.
  • Release notes now stretch the full width of the update notice. The admin stylesheet is also enqueued on the Plugins screen, which previously showed the notes unstyled.
  • Optional plugin setting: when enabled, an order is marked `completed` right after its AWB is generated successfully. It is off by default, it runs only after the AWB is stored, and it never touches an order that is already cancelled, refunded or failed. The setting is local to the shop and is not sent to the server.
  • The update notice in WordPress shows what changed in the new version, from this changelog.
  • The live tracking status now renders under the AWB number, in the column that already exists, on both the orders list and the order screen. The browser reads the status the worker already persisted and stops refreshing a shipment that reached a final status.
  • The tracking measurement panel never rendered on the orders list. `admin_notices` passes no argument, so the hook suffix read from the method parameter was always empty and the panel returned early. The current screen is now read from `get_current_screen()`, with a `$pagenow` fallback.
  • Live AWB status and the bulk measurement panel now load in WordPress. The plugin assets were changed without a version bump, so the browser could keep using a cached `admin.js`.
  • Liveness and readiness endpoints: `/health` checks the process only, `/ready` verifies database access and returns `503` when the database is unreachable.
  • Alembic migrations through Flask-Migrate. `DATABASE_URL` selects SQLite or PostgreSQL by configuration, and the initial migration reproduces the full schema.
  • Database-backed job queue with controlled retry, backoff between attempts and a dead-letter queue, plus a separate worker process (`python -m app.worker`).
  • Persisted AWB status history (`awb_status_events`), so delivery time and SLA are measured from real events instead of inferred from the current status.
  • Reporting KPIs over 7, 30 and 90 day windows: AWB count, cost, deliveries, return rate, SLA compliance, average delivery time and a per-courier breakdown.
  • Report export as CSV and PDF, both scoped to the active tenant.
  • AWB table with server-side filtering and pagination, a detail drawer, manual status actions protected by CSRF, and a client onboarding diagnostic page.
  • Courier capability registry that is fail-closed: an operation without a verified contract is refused explicitly rather than guessed.
  • Standardized tracking normalization across provider response shapes.
  • Provider tariff lookup before AWB generation, with estimated-versus-final provenance stored on the AWB.
  • Structured JSON logging with request correlation and secret redaction.
  • SQLite backup and restore helpers that preserve the live database before a restore.
  • This changelog is parsed server-side and carried in the release manifest.
  • The client panel shows the same tracking status information.
  • `GET /api/orders/<id>/tracking` returns the last persisted tracking event for the authenticated tenant. A foreign order and a missing order both answer `404`, so a `404` never reveals that another tenant's order exists.
  • Automatic tracking sync from the background worker. Poll interval follows the shipment state: 1h for a new AWB, 4h in transit, and never again once the shipment is delivered or returned.
  • Night mode for tracking: between 18:00 and 08:00 Romania time the interval doubles. Polling slows down but never stops, so a parcel handed over at 22:00 still shows up.
  • Tracking requests are batched: 50 AWBs per courier request instead of 50 separate calls, which is what keeps a multi-tenant setup cheap.
  • Each AWB is scheduled at a deterministic, spread-out moment, so a thousand AWBs created in the same minute do not all become due in the same minute.
  • A queued job could be claimed twice by two workers: the claim was a plain SELECT with no commit. It is now a conditional UPDATE committed immediately.
  • A failed job was rescheduled with the current time, ignoring the moment it was supposed to run at, so the retry backoff existed only as a number. Retry now honors the scheduled time and adds jitter.
  • An unknown job type was marked `succeeded` without doing anything, hiding a missing handler. It now fails explicitly and stays visible.
  • A stale status event could roll back an AWB's current status. The current status now follows the most recent event by time, not by write order.
  • A stray parenthesis in the legacy schema migration blocked the migration path on databases missing the courier preferences table.
  • The requests dependency check failed after installing a newer `chardet`; the version is pinned to one compatible with `requests`.

Security

  • API role separation: clients can no longer reach global courier management, and courier API keys, secrets and shop IDs are no longer returned in API responses.
  • Sameday tracking no longer returns a hardcoded `in_transit` status. An unverified courier is refused with a clear error instead of showing invented shipment data.
  • Tracking requests are tenant-scoped: the client comes from the database, never from the job payload, so a job cannot read another shop's shipments.
  • CSRF protection enabled for the admin and panel blueprints. The machine-to-machine API stays exempt by design.
  • Rate limiting on AWB generation, returning `429` with `Retry-After`.
  • Idempotent AWB generation: a repeated request returns the existing AWB instead of calling the courier again.
  • Strict tenant ownership: order identity is `(client_id, wc_order_id)`, and ownership is never re-assigned from a request payload.
  • Fail-closed migration for legacy orders with no tenant, instead of silent re-assignment to whichever client asks first.
  • First-run admin creation requires an explicitly configured password; no default password is invented.
  • Log sanitization applied centrally, with structured logging redacting sensitive keys.
  • Login error messages render as text instead of being interpolated as HTML.
2.1.62026-09-25

Added

  • Exhaustive FAN history import with complete provider payloads preserved, including unknown and future provider fields.
  • Reconstructed transport document per imported AWB, rendered as a semantic table, with the complete raw snapshot available alongside it.
  • Verified courier contract inventories in `docs/`, `docs/DPD_API_COMPLET.md` and `docs/FANCOURIER_API_COMPLET.md`, recording what is confirmed, undeclared and missing instead of inferring fields from a single account.

Security

  • FAN binary artifacts and raw envelopes are stored as bytes, not reduced to text.
  • DPD history and import support stays disabled until a real account-specific request and response are verified.
2.1.02026-09-24

Added

  • WordPress update integration through the standard plugin update mechanism.
  • Per-client FAN Courier configuration from the client portal and from the admin's selected-client context.
  • FAN username, password and client ID stored server-side; the password is encrypted and never displayed.
  • Server-side FAN authentication test that does not print the token.
  • Server-side release: manifest, controlled ZIP, SHA-256 and license-protected download.

Security

  • FAN credentials are never stored in WordPress and never enter the plugin package.
  • The release ZIP excludes `.env`, databases, the server directory and Postman files.
  • The compromised Postman token is not used.
2.0.02026-09-24

Added

  • WooCommerce settings page for server URL, license and client weights.
  • Client portal with server-side authentication and strict data isolation.
  • Operational client dashboard: orders, AWB documents, deliveries, returns and costs.
  • Filters and operational summaries on the orders page.
  • Client reports for trends, deliveries, returns and costs.
  • Per-client courier selection strategy with weights that must sum to 100%.
  • API contract protected by license and isolated per client.
  • Sameday integration retained in the server.
  • FAN Courier contract prepared for future server integration; credentials stay out of WordPress.
  • Sitemap and visible structure for the new modules.

Changed

  • The legacy `awb-generator.php` plugin architecture was replaced by `fastawb.php`.
  • The WordPress plugin is a thin client.
  • Business logic stays in Flask.
  • Consistent dark, responsive and accessible design across client and admin portals.
  • The admin dashboard became a global control center, and courier management is read-only there.
  • Admin settings show real server state.
  • Admin logs show real selection records and support pagination.
  • AWBs surface tracking, cost, courier and status in the interface.
  • Client and server checks cover data isolation and the main flows.

Security

  • License keys and server configuration stay in WordPress only for shop integration.
  • Secrets and `.env` files are never committed.

Și mai departe?

Vezi la ce lucrăm acum și ce urmează.

Ce urmează