Skip to content

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.

  • Search results have the shape of the product list. v2 search/ returns products/ items: price is the same object with a currency, the JSON fields are parsed, and include works as on products/. 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-alerts 0.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-todo 0.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.

Fixes that change what a client or an operator sees. None needs a setting except where the Upgrade section says so.

  • customer/signup/ sets the account state (is_active, created_at, updated_at) on the server and no longer reads it from the request body. With EMAIL_DOUBLE_OPTIN a new account stays inactive until the e-mail is confirmed; without it ACCOUNTS_CUSTOMER_IS_ACTIVE_WITHOUT_DOUBLE_OPTIN decides.
  • GET customer/<uid>/addresses/files/ requires the owner’s token, like POST.
  • Wishlist writes (POST, DELETE, PATCH wishlist/product/?uid= and the merge in POST 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_channels gets no tokens and the callback redirects with error=user_not_active or user_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 with error=email_missing. Provider requests time out after ACCOUNTS_SOCIAL_LOGIN_TIMEOUT seconds (default 10) and redirect with error=provider_unavailable; all three used to be server errors.
  • The log line of an OAuth error redirect names the error code only.
  • 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 the CLIENT_IP_* settings nothing changes. Requires entirius-django-utils>=2.4.2.
  • v2 cart changes follow the ownership rule of cart reads. PATCH carts/{id}/items/, addresses/, discounts/, shipping/, payment/, DELETE carts/{id}/ and the target of POST 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 checkout docs/configuration.md.
  • returns 4.0.1: attachment types are configurable (RETURNS_ALLOWED_ATTACHMENT_EXTENSIONS) and checked before the file is stored; any other file answers 400 4017. 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 POST is throttled per customer (scope reviews_create, 20/hour by default; 429 with Retry-After). Ratings are checked against the scale: rate from MIN_RATE (default 1) to MAX_RATE, at most one rate per rating_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_attachments switches attachments off per channel. CONTACT_FORMS_V1_ENABLED = False turns 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 in PIM_ALLOWED_FILE_EXTENSIONS (default pdf, 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.
  • 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 ipaddress standard library decides, shared address space 100.64.0.0/10 counts 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_HOSTS and 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/hour by default) and answer through the Django cache.
  • sitemap 4.0.3: DomainSitemap.idx accepts 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.
  • matrix 5.1.1. v2 search/ has a typed OpenAPI response (SearchResponse). v2 products/ and search/ list each category in the requested language. JSON and JSON_T9N attributes carry value_json and value is null: read value_json, since value used 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, then en, then the idx, for names without a translation.
  • Prices: a price range no longer carries a negative percent_off. v1 products/?fetch_full_data=true returns price: null for a verified-customer price unless the caller is verified. Cached views skip the cache for requests with an Authorization header (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_key never duplicates inside a channel: create sets slug(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_keys fills 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, position and parent_category_idx for a lazy tree, search on 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-in RedisCache. The enrichment adapter lists main pictures, answers picture thumbnails by SHA1, filters by attribute and applies decimal, boolean, text and length values. clear_product_attribute removes 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_banner and load_legal_pages load the defaults safely; the cookie banner has German and Spanish texts. Use load_legal_pages, never plain loaddata legal_pages.
  • Cart language. Every v2 cart response states language_code. PATCH carts/{id}/items/ takes language_code alone. 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’s languages can 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), mails in the order detail and POST …/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_email always sends one multipart message, text and HTML. The admin API previews a type from sample data. EMAIL_MEDIA_BASE_URL sets absolute picture URLs.
  • Back-in-stock alerts (entirius-django-stock-alerts 0.1.0, domain orders). Public routes under api/stock-alerts/v2/ save and cancel a request (honeypot, throttles, scope stock_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) with automatic_applications is refused: the cart never offers it, so POST discount-rules/ answers 400 and the Django admin form refuses it. A stored automatic gift rule can be saved or switched off. Rules report not_offerable_reason, and system checks W003 and W004 warn. 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 409 DELIVERY_POINT_NOT_SELECTED; the storefront sends the point with PATCH carts/{id}/shipping/.
  • Test payments. The provider test_gateway is an online gateway that calls no provider and moves no money. It needs CHECKOUT_TEST_GATEWAY = True and ENVIRONMENT one of development, 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-todo 0.1.0, domain leads, queue todo_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 under api/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=False keeps 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 (channel or install), one-click unsubscribe (RFC 8058) with COMMUNICATOR_UNSUBSCRIBE_BASE_URL, address status, spam complaints, a preflight that checks the legal footer, reply classes with a plan per class, referral requests for a wrong_person reply, a cross-channel approval inbox and sending health. MailboxConfig and the singular <channel_idx>/mailbox/ routes are gone: use mailboxes/. 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 replaces Stage.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 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.

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.

  • enrichment 2.5.1. The comfy kind 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 a comfy worker runs on the bulk lane. ENRICHMENT_COMFY_SPAWN_LIMIT is gone: the worker’s batch option replaces it. The CSV import stores its staged file with the .csv extension.
  • accounts 6.1.1. fill-accounts-product-representation-from-pim without --pim_shop_idx fills 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_view answers 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_cycles is now test_cycles, gravity_range is load_rating, dock_delivery is delivery_time). A database seeded earlier keeps its old profile until it is seeded again.
  1. Migrate. manage.py migrate: new migrations in email, communicator, leads, todo, stock-alerts and others.
  2. Fill the read model once. Run manage.py fill-read-model on 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.
  3. Deploy a current storefront together with the service. A storefront from commit 807a264 on (0.1.0 and later) reads the new search/ shape. An older one shows search results without prices and pictures.
  4. Channel languages. Every language a storefront serves must be on the checkout channel’s languages list; the default language always counts. Otherwise its carts fall back to the channel’s default language. Notes: checkout configuration.
  5. Product url_keys. Run manage.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.
  6. Test gateway. Leave CHECKOUT_TEST_GATEWAY unset in production. System check W003 warns when it is on outside the test environments.
  7. 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.
  8. 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_EXTENSIONS or RETURNS_ALLOWED_ATTACHMENT_EXTENSIONS.
  9. Search clients. Any client of v2 search/ outside the storefront reads products/ items now. A client of JSON or JSON_T9N attributes reads value_json.
  10. Admin CMS. Set VUE_APP_CHANNEL in the build of the admin CMS; 3.9.1 no longer falls back to a literal channel id.
  11. To switch back-in-stock alerts on: add django_stock_alerts to LOCAL_APPS after django_matrix, run manage.py migrate, start a worker on the queue stock_alerts, add the beat entries django_stock_alerts.check (300 s) and django_stock_alerts.retention (daily), set STOCK_ALERTS_PRODUCT_URL and STOCK_ALERTS_CANCEL_URL per channel and EMAIL_MEDIA_BASE_URL, create a storefront token with the scope stock_alerts.subscribe, and run manage.py loaddata stock_alerts_agreement; a system check warns while that agreement is unpublished. A service that leaves the app out of LOCAL_APPS changes nothing. Notes: stock-alerts changelog.
ComponentVersionReleases
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:

ModulePreviousNow
entirius-django-matrix4.5.15.1.2
entirius-django-pim3.6.13.11.1
entirius-django-checkout10.1.110.2.0
entirius-django-email4.3.04.4.1
entirius-django-enrichment2.3.02.5.1
entirius-django-communicator0.4.10.5.1
entirius-django-leads0.4.00.5.1
entirius-django-notifications0.2.00.3.0
entirius-django-todonone0.1.0 (new)
entirius-django-stock-alertsnone0.1.0 (new)
entirius-django-accounts6.1.06.1.2
entirius-django-agreements3.1.03.2.1
entirius-django-munin2.3.12.3.3
entirius-django-utils2.4.32.4.4
entirius-django-lookup0.4.00.4.2
entirius-django-siteintel0.3.00.3.2
entirius-django-atlas2.1.02.1.1
entirius-django-suppliers2.1.02.1.1
entirius-django-pricefighter1.1.01.1.2
entirius-django-pricemanager4.3.04.3.2
entirius-django-contact-forms4.1.24.2.1
entirius-django-contentdb5.3.15.3.4
entirius-django-deliverypoints2.2.02.2.2
entirius-django-sitemap4.0.24.0.3
entirius-django-returns4.0.04.0.1
entirius-django-reviews3.0.03.0.1
entirius-django-qms4.1.14.1.2
entirius-django-faq2.1.02.1.2
entirius-django-vault3.0.03.0.1
entirius-django-regon-api3.0.03.0.1
entirius-django-captcha2.0.02.0.1
entirius-django-baselinker2.0.12.0.2
entirius-django-getresponse3.0.03.0.1
entirius-django-accounts-export-to-magento-api2.0.02.0.1
entirius-django-checkout-export-to-magento-api2.1.02.1.1
entirius-django-checkout-import-from-magento-api2.0.02.0.1
entirius-django-pim-export-to-magento-api2.1.02.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.

Versioning and Upgrades