Platform 5.0
Platform 5.0 is a major release for one reason: v2 search/ of the matrix module (entirius-django-matrix, now 5.1.1)
answers its products in the shape of products/ results. A client that reads the old flat search fields (price as a
number, gross, final_gross, main_image and badges as strings) shows search results without prices and
pictures. The storefront reads the new shape from commit 807a264 on, and so does entirius-pwa-storefront 0.1.0.
The release also adds two modules (tasks and back-in-stock alerts), the sales CRM, a language on the v2 cart, and a
round of fixes that change what clients see. Read Upgrade before the deploy; the versions are in
Versions.
Highlights
Section titled “Highlights”- Search results have the shape of the product list. v2
search/returnsproducts/items:priceis the same object with acurrency, the JSON fields are parsed, andincludeworks as onproducts/. Deploy a current storefront with the backend. Details: Search and Catalog. - Back-in-stock alerts. A shopper asks for one e-mail when a sold-out variant can be bought again. The new
entirius-django-stock-alerts0.1.0 checks the stock, sends the alerts in waves and records the consent. It stays off until you enable it. Details: Shopping and Checkout. - Tasks and the sales CRM.
entirius-django-todo0.1.0 gives a person something to do by a date, about any object. leads and communicator 0.5.0 add mailboxes per owner, do-not-contact scopes, one-click unsubscribe, address verification and bulk approval. Details: CRM. - The cart has a language. v2 carts carry
language_code; method names, cart messages, the order and its e-mails follow it. Order confirmation and cancellation e-mails come with it, and every e-mail type uses one layout. Details: Shopping and Checkout. - Retention 0 means keep everything. In atlas, suppliers, enrichment and pricefighter a retention of 0 days now turns pruning off. atlas and suppliers used to delete every row for it. Details: Upgrade.
Security
Section titled “Security”Fixes that change what a client or an operator sees. None needs a setting except where the Upgrade section says so.
Accounts
Section titled “Accounts”customer/signup/sets the account state (is_active,created_at,updated_at) on the server and no longer reads it from the request body. WithEMAIL_DOUBLE_OPTINa new account stays inactive until the e-mail is confirmed; without itACCOUNTS_CUSTOMER_IS_ACTIVE_WITHOUT_DOUBLE_OPTINdecides.GET customer/<uid>/addresses/files/requires the owner’s token, likePOST.- Wishlist writes (
POST,DELETE,PATCH wishlist/product/?uid=and the merge inPOST wishlist/) accept a customer’s wishlist only with that customer’s token. A guest wishlist stays usable by whoever holds its uid. - Social login applies the account checks that fit a provider sign-in: an inactive Django user or a customer with the
channel in
blacklist_channelsgets no tokens and the callback redirects witherror=user_not_activeoruser_not_allowed_in_channel. Google login requires an e-mail Google reports as verified (error=email_not_verified). A provider profile without an e-mail redirects witherror=email_missing. Provider requests time out afterACCOUNTS_SOCIAL_LOGIN_TIMEOUTseconds (default 10) and redirect witherror=provider_unavailable; all three used to be server errors. - The log line of an OAuth error redirect names the error code only.
Access
Section titled “Access”- The failed-login guard reads the client address through
django_utils.api.client_ip, the rule of the accounts throttles. A storefront that logs its customers in from its own server no longer makes them share one per-address counter. Without theCLIENT_IP_*settings nothing changes. Requiresentirius-django-utils>=2.4.2.
Checkout
Section titled “Checkout”- v2 cart changes follow the ownership rule of cart reads.
PATCH carts/{id}/items/,addresses/,discounts/,shipping/,payment/,DELETE carts/{id}/and the target ofPOST carts/{id}/merge/reach a customer’s cart only with that customer’s JWT. A guest cart works with its id as before; any other caller gets 404. - Discount codes are rate limited and the list is bounded: 30 a minute per client and cart for codes the cart does
not hold yet, and 120 a minute per client across carts for pay and discount codes. Over the limit the answer is
429; one request carries at most 10 codes (
MAX_DISCOUNT_CODES_PER_REQUEST, 400 above it). The settings are listed in the checkoutdocs/configuration.md.
Returns, Reviews and Contact Forms
Section titled “Returns, Reviews and Contact Forms”- returns 4.0.1: attachment types are configurable (
RETURNS_ALLOWED_ATTACHMENT_EXTENSIONS) and checked before the file is stored; any other file answers 4004017. Staff downloads answer as downloads (attachment,nosniff), and the customer route serves only the caller’s own returns (403 otherwise, also for a guest order). - reviews 3.0.1: the review
POSTis throttled per customer (scopereviews_create,20/hourby default; 429 withRetry-After). Ratings are checked against the scale:ratefromMIN_RATE(default 1) toMAX_RATE, at most one rate perrating_name; anything else is a 400. - contact-forms 4.2.0: allowed attachment types are configurable (
FORMS_ALLOWED_ATTACHMENT_EXTENSIONS) and checked with count and size before anything is stored;Channel.accepts_attachmentsswitches attachments off per channel.CONTACT_FORMS_V1_ENABLED = Falseturns the v1 submit endpoints off (404).
- Picture uploads accept only the types in
PIM_ALLOWED_PICTURE_MIME_TYPES(default JPEG, PNG, WebP, GIF, AVIF), decided on the file content. Product file uploads accept only the extensions inPIM_ALLOWED_FILE_EXTENSIONS(defaultpdf, txt, csv, jpg, jpeg, png, gif, webp, doc, docx, xls, xlsx, odt, ods, zip, mp4). Any other type is a 400 naming the allowed types and nothing is stored. A shop that uploads SVG or other types adds them to the settings. Files already stored are not touched.
Outgoing Requests
Section titled “Outgoing Requests”- lookup 0.4.2, siteintel 0.3.1, atlas 2.1.1 and suppliers 2.1.1 refuse every address that is not publicly reachable:
the
ipaddressstandard library decides, shared address space100.64.0.0/10counts as internal, an IPv4-mapped IPv6 address is judged by its IPv4 address, and an address that does not parse is refused. The*_BLOCK_PRIVATE_HOSTSand allowed-hosts settings work as before. - suppliers 2.1.1: image and feed downloads check the host of every redirect (at most 3, http and https only) and
stop at the size limit while reading (
SUPPLIER_MAX_IMAGE_BYTES,SUPPLIER_MAX_FEED_BYTES). A URL that redirects to a private address or through more than 3 redirects fails like an unreachable one. - captcha 2.0.1 and baselinker 2.0.2: requests have a timeout (
CAPTCHA_VERIFY_TIMEOUT, default 5 s;BASELINKER_TIMEOUT_S, default 30 s). A captcha timeout counts as a failed verification. - vault 3.0.1: card lookups go through the customer, and the provider gets the client address from
django_utils.api.client_ip.get_client_ip. - regon-api 3.0.1: the lookup checks the identifier first (a NIP has 10 digits, a REGON 9 or 14; spaces and dashes
are removed) and answers 400 without a registry call otherwise. The routes are throttled per client address
(
regon_lookup_ip,30/hourby default) and answer through the Django cache.
- sitemap 4.0.3:
DomainSitemap.idxaccepts slug characters only, and generation writes only inside the sitemap roots. - Pillow 13 or later is required in pim, contentdb, faq and lookup, with the fixes upstream ships.
Changes
Section titled “Changes”Search and Catalog
Section titled “Search and Catalog”- matrix 5.1.1. v2
search/has a typed OpenAPI response (SearchResponse). v2products/andsearch/list each category in the requested language. JSON and JSON_T9N attributes carryvalue_jsonandvalueisnull: readvalue_json, sincevalueused to hold the Python representation of the stored object. A product’s categories keep their PIM assignment order. v1 is unchanged. - Fills stay correct and cheaper. A fill of one variant no longer rewrites the configurable parent’s price from
that variant alone, and a fill of the parent keeps the search text and filterable attributes of its variants. A fill
of one product reads only its own row and its parents’ rows: on a 300-row channel one product fill took 4.5 s and
takes 0.16 s now. v2
options/falls back to the channel’s default language, thenen, then the idx, for names without a translation. - Prices: a price range no longer carries a negative
percent_off. v1products/?fetch_full_data=truereturnsprice: nullfor a verified-customer price unless the caller is verified. Cached views skip the cache for requests with anAuthorizationheader (USE_CACHED_VIEWS=True). pricemanager 4.3.1 returns only a product’s own price rows when it is also a bundle component, so a price change reaches its product page. - pim 3.11.0.
url_keynever duplicates inside a channel: create setsslug(name)-slug(sku)per language, a given key another product of the channel already has is a 400, and keys that arrive by copy or inheritance are suffixed when taken.pim_fill_url_keysfills missing keys. A cleared DECIMAL attribute means “no value”, and a non-finite number is a 400 instead of a 500. Notes: pim changelog. - pim 3.7.0 to 3.10.0: category lists carry
subcategory_count,positionandparent_category_idxfor a lazy tree,searchon categories matches the names of the channel’s languages and the idx, and the counts are correlated subqueries (a page of 20 took 24 queries, now 4). Gap recompute and signal dispatch work with Django’s built-inRedisCache. The enrichment adapter lists main pictures, answers picture thumbnails by SHA1, filters by attribute and applies decimal, boolean, text and length values.clear_product_attributeremoves a stored value. - lookup 0.4.2 and deliverypoints 2.2.1: geocoding puts the house number before the street for the countries in
DELIVERYPOINTS_STREET_NUMBER_FIRST_COUNTRIES(default US, CA, GB, IE, AU, NZ). - contentdb 5.3.4: PATCH on a draft through the v1 admin API follows the update permission and keeps the fields it
does not send (both answered 500). A phone link (
tel:) survives the sanitiser. - agreements 3.2.0:
publish_cookie_bannerandload_legal_pagesload the defaults safely; the cookie banner has German and Spanish texts. Useload_legal_pages, never plainloaddata legal_pages.
Shopping and Checkout
Section titled “Shopping and Checkout”- Cart language. Every v2 cart response states
language_code.PATCH carts/{id}/items/takeslanguage_codealone. Shipping and payment method lists answer in the?language=the storefront sends when the channel has it. A language the channel lacks is not stored: the cart falls back to the channel default. The channel’slanguagescan be edited in the Django admin. See Upgrade. - Order e-mails. Order confirmation and cancellation e-mails (extra
email; PL and EN; copy models editable in the admin API),mailsin the order detail andPOST …/orders/{uid}/mails/{kind}/resend/(throttled per user). Erasure blanks the recipient of the order’s e-mails. - email 4.4.0. Every e-mail type extends one shared layout (
base/layout.html|txt: table layout with inline styles,color-scheme, the recipient’s<html lang>, a preheader). Wording, template paths and copy models are unchanged.send_emailalways sends one multipart message, text and HTML. The admin API previews a type from sample data.EMAIL_MEDIA_BASE_URLsets absolute picture URLs. - Back-in-stock alerts (
entirius-django-stock-alerts0.1.0, domainorders). Public routes underapi/stock-alerts/v2/save and cancel a request (honeypot, throttles, scopestock_alerts.subscribe); the admin API shows demand per variant, requests, a CSV export and a cancel. A beat task checks the stock of waited-for variants every 5 minutes and sends the alerts in waves, oldest request first. Consent and its withdrawal go into agreements; retention expires waiting requests and anonymises closed ones. The e-mails are in email 4.4.0. - Gifts. A gift rule (
gratis_stepped,gratis_by_sku_in_cart) withautomatic_applicationsis refused: the cart never offers it, soPOST discount-rules/answers 400 and the Django admin form refuses it. A stored automatic gift rule can be saved or switched off. Rules reportnot_offerable_reason, and system checksW003andW004warn. An automatic gift rule no longer keeps other discounts out of the cart. - Orders. An order whose payment entry the revalidation refuses is a 409
PAYMENT_OPTION_NOT_SELECTED(v1 403) instead of a 500. An order for a pickup point with no point named is a 409DELIVERY_POINT_NOT_SELECTED; the storefront sends the point withPATCH carts/{id}/shipping/. - Test payments. The provider
test_gatewayis an online gateway that calls no provider and moves no money. It needsCHECKOUT_TEST_GATEWAY = TrueandENVIRONMENTone ofdevelopment,local,test. - contact-forms 4.2.0: the v2 public submit and the admin notification config answer validation errors in the v2
format (
VALIDATION_ERROR,debug_id,details[]), as the public booking routes do.
- Tasks (
entirius-django-todo0.1.0, domainleads, queuetodo_default). Tasks with a kind, a due date, an owner and an outcome, about any object by an opaque reference. A today list, an idempotent create, and a due reminder in the bell through notifications 0.3.0. Routes underapi/todo/v2/. - notifications 0.3.0. A notification can address one staff user (
recipient_user_id); the inbox returns role-wide rows plus the caller’s own.escalate=Falsekeeps a notification in the bell only. - communicator 0.5.0. Several mailboxes per user, with a brand, a signature, CC and BCC; a mail leaves from the
owner’s mailbox of its brand, else the channel default. Do-not-contact entries have a scope (
channelorinstall), one-click unsubscribe (RFC 8058) withCOMMUNICATOR_UNSUBSCRIBE_BASE_URL, address status, spam complaints, a preflight that checks the legal footer, reply classes with a plan per class, referral requests for awrong_personreply, a cross-channel approval inbox and sending health.MailboxConfigand the singular<channel_idx>/mailbox/routes are gone: usemailboxes/. Changing a mailbox’s server, port, user or security mode needs the password again. - leads 0.5.0. Deals as a second level next to the company stages, with their own API, attributes and tasks;
custom attributes, scoring and rule conditions; company owners and
mine_first; a channel journal of every activity; an import that reads the file’s own headers; archiving of a closed deal; and an outreach gate that answers for the recipient. A reversed date range in the funnel report and in history is a 400. The event to stage map replacesStage.on_reply, a breaking change for API clients of that field. - The admin CMS shows the CRM screens from leads and communicator 0.5.0 on. Release order: communicator before leads.
Admin CMS
Section titled “Admin CMS”Admin CMS 3.9.1 on top of the 3.9.0 of platform 4.3.
- A gift rule cannot be set to apply automatically; the rule page warns about a rule shoppers cannot get, and the list shows a “Not offered” badge.
- The channel comes from the backend, never from a literal id. The e-mail API, the contact forms list, the Leads store,
the orders grid and Promo use
VUE_APP_CHANNEL, which is now required, or the channels the backend returns. - CRM boards and cards: deal values in the UI language, compact cards, one “Change stage” menu, and a phone layout where action rows share the full width.
Storefront
Section titled “Storefront”entirius-pwa-storefront 0.1.0 is its first full release. The core ships its page shell, product page, listing,
cart, checkout and forms as theme templates, with the tools for theme authors, and a shop image built in two stages
(about 450 MB instead of 1.5 GB). The back-in-stock form appears with the channel’s API_STOCK_ALERTS_KEY; the cart
follows the visitor’s language; a shop that uses the video section adds https://www.youtube-nocookie.com to
CSP.frame-src. Images are on ghcr.io; the npm packages follow later. Notes:
storefront changelog.
Integrations and Operations
Section titled “Integrations and Operations”- enrichment 2.5.1. The
comfykind runs a ComfyUI workflow on every main picture once per file, with a result list, verdict totals, a CSV export and a window to start in; every task of acomfyworker runs on the bulk lane.ENRICHMENT_COMFY_SPAWN_LIMITis gone: the worker’sbatchoption replaces it. The CSV import stores its staged file with the.csvextension. - accounts 6.1.1.
fill-accounts-product-representation-from-pimwithout--pim_shop_idxfills every shop from its own PIM products. Rows an earlier all-shops run wrote stay until you remove them by hand. - munin 2.3.2 reads module versions from the installed distribution, so most modules no longer report
version: "". Nine integration apps (vault, baselinker, getresponse, captcha, regon-api and the four Magento bridges) are listed in the module registry, with readable labels. - pricefighter 1.1.1: the default decision view drops the “hold, no competitor” row of a market that has no competitor observation of its own.
- utils 2.4.4:
api_viewanswers 500 in JSON for an unsupported return type. - The AI studio demo profile (
fixtures/common/profile_demo.json) describes “Example Furnishings”, a fictitious furniture maker; three fact ids changed (vacuum_cyclesis nowtest_cycles,gravity_rangeisload_rating,dock_deliveryisdelivery_time). A database seeded earlier keeps its old profile until it is seeded again.
Upgrade
Section titled “Upgrade”- Migrate.
manage.py migrate: new migrations in email, communicator, leads, todo, stock-alerts and others. - Fill the read model once. Run
manage.py fill-read-modelon every environment after the upgrade. matrix 5.x stops new wrong rows of a per-product fill but does not repair the ones 4.5.1 wrote; without the fill the storefront keeps showing wrong “From” prices. Notes: matrix changelog. - Deploy a current storefront together with the service. A storefront from commit
807a264on (0.1.0 and later) reads the newsearch/shape. An older one shows search results without prices and pictures. - Channel languages. Every language a storefront serves must be on the checkout channel’s
languageslist; the default language always counts. Otherwise its carts fall back to the channel’s default language. Notes: checkout configuration. - Product
url_keys. Runmanage.py pim_fill_url_keys(dry run first, then--apply) to fill the keys that are missing. It also lists duplicate keys already stored and leaves them alone. - Test gateway. Leave
CHECKOUT_TEST_GATEWAYunset in production. System checkW003warns when it is on outside the test environments. - Retention 0. A retention setting of 0 days now keeps everything in atlas, suppliers, enrichment and
pricefighter. It reverses what the documentation of atlas and suppliers described for
--days 0: the prune commands used to delete every row for it, and now print that pruning is off. A deployment that relied on 0 to empty a table needs another route, such as a delete in the shell or SQL. - Upload types. A shop that uploads other types than the new defaults in PIM, contact forms or returns adds them
to
PIM_ALLOWED_PICTURE_MIME_TYPES,PIM_ALLOWED_FILE_EXTENSIONS,FORMS_ALLOWED_ATTACHMENT_EXTENSIONSorRETURNS_ALLOWED_ATTACHMENT_EXTENSIONS. - Search clients. Any client of v2
search/outside the storefront readsproducts/items now. A client of JSON or JSON_T9N attributes readsvalue_json. - Admin CMS. Set
VUE_APP_CHANNELin the build of the admin CMS; 3.9.1 no longer falls back to a literal channel id. - To switch back-in-stock alerts on: add
django_stock_alertstoLOCAL_APPSafterdjango_matrix, runmanage.py migrate, start a worker on the queuestock_alerts, add the beat entriesdjango_stock_alerts.check(300 s) anddjango_stock_alerts.retention(daily), setSTOCK_ALERTS_PRODUCT_URLandSTOCK_ALERTS_CANCEL_URLper channel andEMAIL_MEDIA_BASE_URL, create a storefront token with the scopestock_alerts.subscribe, and runmanage.py loaddata stock_alerts_agreement; a system check warns while that agreement is unpublished. A service that leaves the app out ofLOCAL_APPSchanges nothing. Notes: stock-alerts changelog.
Versions
Section titled “Versions”| Component | Version | Releases |
|---|---|---|
| Platform | 5.0.1 | entirius-service-volkanos |
| Backend service | 5.0.1 | entirius-service-volkanos |
| Admin CMS | 3.9.1 | entirius-pwa-cms |
| Access module | 1.1.1 | entirius-django-access |
The storefront entirius-pwa-storefront is at 0.1.0, its first full release.
The service lock pins these module releases, new in this platform:
| Module | Previous | Now |
|---|---|---|
entirius-django-matrix | 4.5.1 | 5.1.2 |
entirius-django-pim | 3.6.1 | 3.11.1 |
entirius-django-checkout | 10.1.1 | 10.2.0 |
entirius-django-email | 4.3.0 | 4.4.1 |
entirius-django-enrichment | 2.3.0 | 2.5.1 |
entirius-django-communicator | 0.4.1 | 0.5.1 |
entirius-django-leads | 0.4.0 | 0.5.1 |
entirius-django-notifications | 0.2.0 | 0.3.0 |
entirius-django-todo | none | 0.1.0 (new) |
entirius-django-stock-alerts | none | 0.1.0 (new) |
entirius-django-accounts | 6.1.0 | 6.1.2 |
entirius-django-agreements | 3.1.0 | 3.2.1 |
entirius-django-munin | 2.3.1 | 2.3.3 |
entirius-django-utils | 2.4.3 | 2.4.4 |
entirius-django-lookup | 0.4.0 | 0.4.2 |
entirius-django-siteintel | 0.3.0 | 0.3.2 |
entirius-django-atlas | 2.1.0 | 2.1.1 |
entirius-django-suppliers | 2.1.0 | 2.1.1 |
entirius-django-pricefighter | 1.1.0 | 1.1.2 |
entirius-django-pricemanager | 4.3.0 | 4.3.2 |
entirius-django-contact-forms | 4.1.2 | 4.2.1 |
entirius-django-contentdb | 5.3.1 | 5.3.4 |
entirius-django-deliverypoints | 2.2.0 | 2.2.2 |
entirius-django-sitemap | 4.0.2 | 4.0.3 |
entirius-django-returns | 4.0.0 | 4.0.1 |
entirius-django-reviews | 3.0.0 | 3.0.1 |
entirius-django-qms | 4.1.1 | 4.1.2 |
entirius-django-faq | 2.1.0 | 2.1.2 |
entirius-django-vault | 3.0.0 | 3.0.1 |
entirius-django-regon-api | 3.0.0 | 3.0.1 |
entirius-django-captcha | 2.0.0 | 2.0.1 |
entirius-django-baselinker | 2.0.1 | 2.0.2 |
entirius-django-getresponse | 3.0.0 | 3.0.1 |
entirius-django-accounts-export-to-magento-api | 2.0.0 | 2.0.1 |
entirius-django-checkout-export-to-magento-api | 2.1.0 | 2.1.1 |
entirius-django-checkout-import-from-magento-api | 2.0.0 | 2.0.1 |
entirius-django-pim-export-to-magento-api | 2.1.0 | 2.1.1 |
Every other module has the version the lock of the service pins: Module Catalog.
Update of 2026-11-29 (patch). Fuzzy search (MATRIX_FUZZY_SEARCH) no longer answers 500 on a service without
the lookup module: a matrix migration now creates the PostgreSQL extension pg_trgm, which only the migrations of
lookup used to create. Run manage.py migrate; the database role needs the right to create the extension, which the
database owner has (pg_trgm is a trusted extension from PostgreSQL 13). The examples of channel identifiers in the
CMS API and Storefront API references read example-store. The table above shows the
module versions of this update.