# Changelog

> Release history of the Product Feeds suite, aggregated across all its modules.

Current version: **1.2.0**

The suite ships as several packages that are released together. Each release below lists what changed in every module that has an entry for it, in that module's own words. A module's own date is shown when it differs from the release date.

## 1.2.0 — 2026-10-25

### Qoliber_ProductFeeds

#### Security

- The profile grid's Feed URL column renders as text and the URL is percent-encoded. A
  filename pattern carrying markup ran script in the session of every admin who opened
  the grid.
- Filename patterns are limited to letters, digits, dots, hyphens, underscores and the
  documented placeholders, so the feed URL handed to a channel is always valid. A profile
  keeps the pattern it is already stored with while that pattern is left unchanged: it is
  the URL registered with the channel, and refusing it made every later edit of the
  profile fail. Generation keeps only the file name of such a pattern, inside the feeds
  directory.

#### Added

- Product conditions offer every attribute a condition can be built on, not only those
  flagged for promo rules, plus a "Product Feed Conditions" group: Visibility, Enable
  Product, Product Type, Stock Status, Quantity and Final Price. A visibility or status
  condition replaces the default "enabled and visible" filter, so marketplace feeds can
  export "Not Visible Individually" products.
- `AdapterAwareProfileInterface` carries a profile's feed adapter and its configuration.
  It is separate from `ProfileInterface`, which is unchanged: adding methods to that
  `@api` interface would break every class implementing it.
- REST: `GET` and `PUT /V1/product-feeds/profiles/:profileId/adapter` read and replace a
  profile's feed adapter and its configuration (`AdapterSettingsRepositoryInterface`,
  `AdapterSettingsInterface`), with the ACL of profile view and save. The profile routes
  cannot carry these fields: Magento reads a body through `ProfileInterface`'s accessors,
  so it refused `adapter_code` and `adapter_config` and left them out of every response.
  A `PUT` is validated as the admin form validates the profile, the adapter's own rules
  included; an unknown profile answers 404.
- `RunStatusWriter` records a generation run's outcome column by column.
- `TemplateSyntaxValidatorInterface` (`@api`): a profile that renders its template is
  refused on save when the template is new or changed and cannot be rendered, with the
  reason, line and column. The core module's default accepts every template; the
  Generator module checks against Tsuku. A profile stored with a template that no longer
  parses still saves unchanged, so it can be deactivated or edited, and fails its runs
  with the same message. A profile without a template is not checked: over REST its
  adapter is set after it is created.
- The template editor highlights `@elseif` and, inside conditions, `and`, `or`, `not`,
  `in`, `&&` and `||`; `@contains`, `@split` and `@delim` are shown as functions.
- Enforce Magento2 coding standards and PHP 8.1–8.5 compatibility with PHPCS errors and
  warnings enabled; a five-version unit test matrix; PHPStan level 8.

#### Fixed

- The "Product Feed Conditions" menu entry created a condition with no attribute and a
  class Magento's collection filter rejected, so every generation using it failed with
  "Undefined condition type".
- Cache unmapped categories, including bulk-preload misses.
- Reject failed HTTP or malformed taxonomy responses before replacing cached data.
- Reject the admin store as a feed storefront, including repository and API saves.
- `PUT /V1/product-feeds/profiles` of a profile that renders through an adapter is held to
  that adapter's rules. The profile built from the request body has no adapter, so the
  rules never ran: an OpenAI profile could be given a customer-group price, parent
  products or a non-`.jsonl` filename the admin form refuses, and every following run
  failed on it. The stored adapter was never lost; the repository now reads it back for a
  profile that arrives without one, and returns it with the saved profile.
- A feed adapter configuration that is not valid JSON is refused on save when the profile
  renders through that adapter; it saved cleanly and failed every run. A profile that
  renders its template is not held to a configuration it never reads.
- Normalize filenames in the repository so adapters can select the format first.
- A refused save of a new profile came back to an empty form: the form reads the posted
  values back under the profile id in the URL, and the redirect named id 0. Everything
  entered, the template included, is kept now.
- Declares `magento/module-customer`, whose customer group source the profile form uses.

#### Changed

- The syntax reference only offers syntax the template engine implements. `{a ? b : c}`
  printed literally and `{{` printed as `{{`; the inline condition is
  `@?{condition "yes" : "no"}`. Operators insert into the editor when clicked. It offers
  Tsuku 1.4's `@elseif(condition)`, the operators `and`, `or`, `not`, `in` and `not in`,
  `@contains(haystack, needle)`, `@split(value, ",")` and `@@` (a literal `@`, a syntax
  error before 1.4); the tooltip of `in` explains that against text it matches a
  substring and that `@split` gives an exact list. Under "Dropdown options" it lists
  `{product.options.color.value}`, `.label` and `.admin`: a dropdown's option id, its
  store view label (what `{product.color}` prints) and its admin label.
- The template editor takes the full form width; the syntax reference adapts its columns
  to the field instead of overflowing in narrower admin themes; fieldset titles are styled.
- Requires Magento Framework 103.0.8 (Magento 2.4.8), like the Generator and Exporter, and
  conflicts with Generator, Exporter and Scheduler below 1.2. Composer could otherwise
  install this release beside their 1.1 versions, which fail with it: Generator 1.1 saves
  a run's status through the repository, whose validation now refuses profiles 1.1
  accepted, and cannot map the conditions this release's conditions editor creates
  ("Undefined condition type"). On Magento 2.4.7 and earlier Composer keeps the whole
  suite on 1.1.

#### Upgrade notes

- The suite requires `qoliber/tsuku` ^1.4.1 (through the Generator and Template modules).
- A malformed condition (`=` for `==`, arithmetic, a dangling `and`, an unclosed block)
  or an unknown function in a condition now fails with its line and column instead of
  rendering a wrong branch: on save when the template is new or changed, otherwise at
  generation and in the preview.
- Conditions with `and`, `or`, `in` and `!` evaluate as written; Tsuku 1.3 evaluated only
  the first comparison of an `and`, and `or` and `in` conditions were always false.
- A row that ends in an inline `@if … @end` keeps its line break (Tsuku 1.3 merged such
  CSV rows); the JSON Product Catalog library template's closing `]` moves to its own
  line.

### Qoliber_ProductFeedsGenerator

#### Added

- Every product attribute a template references is loaded and added to each row under its
  code, as a plain string: dropdowns print their label in the profile's store view, Yes/No
  attributes print `1` or `0` (so `@if` is false for "No"). The option id, store label and
  admin label of every dropdown in the row are under `product.options.<code>.value`,
  `.label` and `.admin` — the id and admin label are the same in every store view, so use
  them in template logic. A variant without a value of its own carries its parent's.
  Text is printed exactly as stored: only option ids are read as a comma-separated list.
  Template loops with an index variable (`@for(products as item, i)`) and camel-case codes
  are recognised. Adapters name their attributes through `ProfileAttributeProviderInterface`.
- Template functions can be added through DI: implement `TemplateFunctionInterface` and
  register it on `FeedRenderer`'s `functions` argument.
- Block directives can be added through DI: implement `TemplateDirectiveInterface` and
  register it on `FeedRenderer`'s `directives` argument. `@name(arguments) … @end` (or
  `@name … @end`) calls it with the block's rendered content and the resolved
  arguments, in runs and previews alike. A name that is not an identifier, is a
  built-in directive, or is the name of a template function (which the directive would
  replace) is refused when the renderer is built. So is a DI function name a template
  can never call: one that is not an identifier, is a built-in directive, or starts with
  `else`, `end` or `default`, which the template reads as that directive (`@endsWith(x)`
  is `@end` followed by text).
- Templates are checked before they are stored. `TemplateSyntaxValidator`, this module's
  preference for the core `TemplateSyntaxValidatorInterface`, parses a template with the
  renderer's own functions and directives and requires the one `@for(products as …)`
  loop outside other blocks that the feed is streamed from; nothing is rendered. A
  profile or library template saved with a new or changed template it refuses is not
  saved, and the message (translated) carries Tsuku's line, column and condition. Runs
  and previews check the stored template first, so a template saved before the check
  fails with the same message, before the catalog is read.
- Product conditions on product type, quantity, stock status and final price.
- A streaming adapter registry and correlated generation and delivery events.

#### Fixed

- A product condition that cannot be translated to SQL fails the run with its attribute
  named. Magento's pipeline silently dropped it — under an ANY group, the whole group — so
  the feed widened to the entire catalog.
- Product conditions are exact. Magento's condition SQL is a rough pre-filter that core
  rules re-check in PHP; the feed used it as the final filter. Now:
  - values are compared as the profile's store view has them — a product disabled or
    hidden in that store view no longer matches "Enabled" or "Visible in Catalog", and a
    value saved only in the store view counts;
  - a variant is judged on the value the feed prints for it: when its store-view value is
    empty it prints its parent's, so the condition checks the parent's too;
  - a multiselect matches when it holds the chosen option anywhere in its list ("is one of
    Cotton" found 2 of 28 products, "contains 3" also matched options 13 and 33);
  - "SKU is ABC" matches ABC only, not ABC-RED;
  - "If ALL/ANY of these conditions are FALSE" negates nested groups correctly ("none of
    [red OR blue]" used to become "not red OR not blue" — every coloured product);
  - an empty "Conditions Combination" is ignored instead of failing the run and blaming a
    valid condition next to it; an empty "is one of" list matches nothing instead of
    failing with an SQL error.
- Configurable and grouped products are judged per variant. A parent carries no quantity,
  colour or variant price of its own, so "Quantity > 0" or "Color is Red" dropped every
  configurable family, and "Final Price < 50" kept a whole family whose cheapest variant
  qualified. A family is now selected when it or any variant qualifies, and each variant
  is exported only when it qualifies itself — category, type and visibility are taken from
  the parent, any other attribute the variant has no value for is inherited from it. A
  parent row (when "include parent" is on) is only written for a family with at least one
  exported variant.
- Stock and quantity conditions read the same stock as the availability the feed prints
  (the MSI stock assigned to the website), instead of the default stock.
- Run bookkeeping no longer goes through the validating repository: a profile that stopped
  satisfying a rule could not record that its runs failed, and the grid kept showing the
  last success. Recording a run also no longer overwrites admin edits made during it.
- Control characters XML cannot carry are removed from feed values and invalid UTF-8 is
  repaired; either used to make a whole XML feed malformed or blank a field.
- Option labels (brand, colour, size, variant attributes) come from the profile's store
  view, not the admin store, and are loaded once per attribute instead of per row; the
  shared attribute object is returned to its store afterwards.
- A variant without its own brand carries its parent's.
- Prices are rounded to the target currency's digits even when no conversion happens.
- The Download button streams the feed from disk instead of reading it into memory.
- Templates saved through the admin (stored with CRLF line endings) no longer produce an
  empty record after every row of a delimited feed; templates render with LF throughout.
- The preview shows why a template cannot be rendered, with line and column, instead of
  "An error occurred while generating the preview."
- Attributes are found in loops written `@for (products as item)`, with whitespace before
  the parenthesis, which Tsuku 1.4 reads like `@for(products as item)`.
- Plugins on core classes are typed and split per intercepted class, and pass Magento's
  plugin integrity checks.
- Resolve website and customer-group prices, including nested bundle selections, without
  customer-session mutation; convert base-currency amounts to the profile currency and
  reject missing rates; omit converted sale prices that round to the regular price.
- Deduplicate expanded child SKUs across pages; load required attributes on child
  collections; preserve URL fragments when appending tracking parameters.
- Release acquired locks after acquisition errors; isolate reporting failures and
  preserve original exceptions.
- A profile naming a feed adapter no installed module registers is refused on save, with
  the same "Unknown feed adapter" a run reports. Only the admin form's select kept such a
  code out, so one sent through the API saved cleanly and failed every run. A profile
  keeps the code it is stored with while that code is left unchanged, so one whose
  adapter's module was disabled can still be edited or deactivated.

#### Changed

- `FeedGeneratorInterface::generate()` returns the published file when delivery fails, as
  in 1.1.0; the profile's last status (`delivery_failed`, `partial_delivery`) and error
  message carry the outcome. The admin Generate actions report the failure as an error,
  `productfeeds:generate` exits non-zero, and cron sends the failure notification.

- Stock is read from the stock index of the store's website when MSI is installed, and
  from the legacy stock status otherwise — one query per page of products, as the
  storefront shows it. MSI is not required.
- The catalog is walked per product-type group in primary-key order with keyset paging,
  instead of re-sorting the whole filtered catalog for every page.
- Requires Magento Framework 103.0.8 and Bundle 101.0.8; declares the EAV and Rule modules
  it uses.
- Requires `qoliber/tsuku` ^1.4.1: conditions with `and`/`&&`, `or`/`||`, `not`/`!`,
  parentheses, `in` and `not in`; `@elseif`; `@contains` and `@split`; `@@` for a literal
  `@`; whitespace control, so directive-only lines print nothing and templates can be
  indented; working custom directives. From 1.4.1: a template function that throws inside
  a condition makes that condition false, as it already printed nothing in the output,
  instead of stopping the whole run; `@substr`, `@replace` and `@strtotime` accept the
  numbers a row carries (an integer SKU printed nothing); `\"` inside a quoted string is
  a quote.

#### Upgrade notes

- Requires `qoliber/tsuku` ^1.4.1.
- **Dropdowns are plain text in the row.** `{product.<code>}` prints the option label in
  the profile's store view. Templates written for a custom plugin that put option objects
  into the row, such as `{product.delivery.value}` or `@match(product.delivery.value)`,
  print nothing after the upgrade, and `@match` falls through to `@default`, without an
  error. Use `{product.options.<code>.value}` (option id; ids separated by commas for a
  multiselect), `.label` (store view label) and `.admin` (admin label), and remove the
  plugin. The editor's syntax reference lists them under "Dropdown options".
- A template function added through DI whose name a template can never call now stops the
  renderer from being built, with the reason. Before, it was registered and never ran;
  rename it.
- A malformed condition (`=` for `==`, arithmetic such as `i < @length(items) - 1`, a
  dangling `and`, an unclosed block) or an unknown function in a condition now fails with
  its line and column instead of rendering a wrong branch: when the template is saved, if
  it is new or changed, and otherwise at generation and in the preview. A profile stored
  with such a template can still be saved unchanged, to deactivate or edit it; its runs
  fail with the reason until the template is corrected.
- Conditions using `and`, `or`, `in`, `!` or a lone function call now evaluate as written.
  Tsuku 1.3 evaluated only the first comparison of an `and`, `or` and `in` conditions were
  always false, and a lone function call was false; check templates whose output depended
  on those results.
- A row that ends in an inline `@if … @end` keeps its line break; Tsuku 1.3 swallowed it
  and merged CSV rows. A template that added an extra blank line to work around that now
  prints the blank line. Indentation in front of directive-only lines no longer reaches
  the output.
- The JSON Product Catalog library template's closing `]` moves to its own line (still
  valid JSON). The other shipped templates render byte-identically.

### Qoliber_ProductFeedsTemplate

#### Added

- "Load from Library" on the profile's Template tab copies a library template into the
  editor and sets the output format. A file name ending in the old format's extension is
  renamed to match, because the repository appends a missing extension and
  `google.xml` would otherwise be saved as `google.xml.csv`, moving the feed URL. It asks
  before replacing existing work or renaming the file, and is offered only to admins
  allowed to manage feed templates, since loading goes through that permission.
- Library templates are checked when saved with new or changed text, in the admin and
  through the API: one the template engine cannot render — a malformed condition, an
  unknown function in a condition, no `@for(products as …)` loop — is refused with its
  line and column. A template stored by an earlier release saves unchanged. The check is
  the core `TemplateSyntaxValidatorInterface`, implemented by the Generator module.

#### Fixed

- Demo profiles use the default store view rather than store 1, and are skipped when there
  is no storefront; installing on a database whose store 1 was deleted failed
  `setup:upgrade`.
- Render decimal amounts without thousands separators in all shipped templates, and
  migrate system templates and byte-identical profile copies while preserving
  customized templates.
- A refused save of a new template came back to an empty form; what was entered is kept.
- The template editor takes the full form width, as on a profile's Template tab; it was
  squeezed beside its label (416px of an 880px field at a 1024px window).

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8), like the rest of the 1.2 line, and
  `qoliber/product-feeds` ^1.2; declares `magento/module-config`, whose Yes/No source the
  template grid uses.
- Requires `qoliber/tsuku` ^1.4.1.

#### Upgrade notes

- Requires `qoliber/tsuku` ^1.4.1. The shipped templates are unchanged and render
  byte-identically, except the JSON Product Catalog, whose closing `]` moves to its own
  line (still valid JSON): Tsuku 1.4 keeps the line break after an `@end` that follows
  content.
- A malformed condition or an unknown function in a condition now fails with its line and
  column instead of rendering a wrong branch — on save when the template is new or
  changed, otherwise when a profile using it is generated or previewed. Conditions with
  `and`, `or`, `in` and `!` evaluate as written (Tsuku 1.3 evaluated only the first
  comparison of an `and`; `or` and `in` conditions were always false). A row ending in an
  inline `@if … @end` keeps its line break.

### Qoliber_ProductFeedsScheduler

#### Fixed

- Console commands receive their dependencies as proxies. Magento builds every command
  while assembling the command list, including during `setup:install` before a website
  exists, and the eager feed generator aborted fresh installs with "The default website
  isn't defined" on stores with tax rewrites.
- Evaluate all profiles against the same scheduled UTC instant, scoped to each store
  timezone.
- Honor explicit cron steps of one, including `5/1` and `5/01`.
- Declares `magento/module-email`, which renders and sends the failure notification.
- A feed that was generated but not delivered is reported: cron sends the failure
  notification and `productfeeds:generate` prints the failure and exits non-zero. The
  generator returns the published file in that case, as it did in 1.1.0.

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8), as the Generator it runs already
  did, and `qoliber/product-feeds` and `qoliber/product-feeds-generator` ^1.2.

### Qoliber_ProductFeedsExporter

#### Security

- SFTP verifies the server's host key before sending credentials. Magento's `Io\Sftp`
  logged in while connecting and never checked who it was talking to. Pin the key in the
  new "Host Key Fingerprint" field — Test Connection reports it and fills an empty field —
  or leave it empty to trust the key seen on the first delivery and refuse any later change.
  Several fingerprints may be pinned, separated by spaces, commas or new lines, and a key
  of any pinned type is accepted: a server whose default ed25519 key is not pinned is asked
  for its ECDSA and RSA keys, on fresh connections that send no credentials unless the key
  matched.
- A saved FTP or SFTP password is only sent to the host, port and user it was saved for,
  and never over a weaker transport: with SSL turned off on an FTPS destination, or with
  the pinned host key changed or removed. Any of these with the password left masked is
  refused by Test Connection and Save, which before handed the stored password to whatever
  host the form named. Pinning a key where none was pinned keeps it.
- A password typed into a destination that then fails to save is not kept in the admin
  session. The form comes back asking for it again; it was re-shown as the mask, which on
  the next save stood for the old password, so the save reported success with it.
- The destinations grid no longer sends each row's stored configuration, encrypted
  password included, to the browser.

#### Added

- `DestinationConfigValidatorInterface`, `ConnectionDetailsInterface` and
  `ProfileAwareDestinationInterface` let a delivery type validate its settings on save,
  report connection details, and refuse feeds from profiles it cannot take.
- `SftpConnector` and `SftpSettings` are `@api`, for delivery types built on the verified
  SFTP connection.
- Emit per-destination delivery results with generation run IDs.
- "Upload Directly onto the Feed File", an FTP and SFTP destination setting, off by default.
  Off, the published feed is only ever replaced by an atomic rename of a complete copy, and
  a server that refuses temporary files or renames fails the delivery and keeps the previous
  feed. On, the feed is uploaded directly onto the published file and nothing else is
  tried: an upload that breaks off then leaves a partial feed for the channel to fetch. For
  servers that refuse temporary files or renames, or have room for only one copy of the
  feed.

#### Fixed

- FTP, SFTP and local deliveries write to a temporary name and rename it into place, so an
  interrupted transfer never replaces the last complete feed with a truncated one. The
  replace is atomic where the server offers it (SFTP `posix-rename@openssh.com` or v5, RNTO
  on POSIX FTP servers). Elsewhere the published feed is moved aside until the new one is
  in place and put back if that fails, never deleted first. With "Upload Directly onto the
  Feed File" off, nothing is ever uploaded onto the published name: a delivery that cannot
  rename a complete copy onto it fails, with the previous feed kept. The error says what the
  server refused (temporary files, or renames) and names the setting, or that its reply did
  not show why: a transfer that breaks off, a lost reply, a dropped connection, a full disk,
  and every FTP refusal, since PHP's FTP functions drop the reply code. A rename whose reply
  is lost may still have happened, so moving the published feed aside that seems to fail is
  renamed straight back, and where the previous feed cannot be confirmed back under its
  name, the error says to check it and names the backup it is kept under. No temporary or
  probe file is left behind.
- A feed file that has gone missing fails FTP and SFTP delivery before anything is sent.
  Magento's FTP client uploaded a string that is not a readable file as the content itself,
  so the channel got the file's path as the feed; phpseclib opened, and so emptied, the
  remote file before it looked for the local one. The local feed is now opened first and
  handed to both as an open file.
- A local destination's path is validated when the destination is saved, not first at
  the next delivery.
- Email delivery refuses a feed whose attachment would exceed 20 MiB once base64-encoded —
  a feed of about 15 MiB — before reading it, instead of exhausting memory on a feed that
  generated fine, or sending one that 25 MB mail servers refuse.
- Honor configured SFTP ports; catch delivery engine errors; continue deliveries after
  reporting-event listener failures without changing completed transport outcomes.

#### Upgrade notes

- A server that refuses temporary files or renames (dot-files refused, uploads accepted only
  under the registered feed name, renames disabled) got the feed uploaded straight onto
  its name in 1.1.0. From this release its delivery fails, keeping the previous feed, until
  "Upload Directly onto the Feed File" is turned on for the destination, over SFTP as over
  FTP. The delivery error names the setting.

#### Changed

- The delivery observer and the Test Connection button no longer name adapter-specific
  destination types; modules wire their own through the new interfaces and the button's
  `fieldsetMap` configuration.
- SFTP uses `phpseclib/phpseclib` directly; it is now declared. Requires Magento Framework
  103.0.8 and declares the Symfony Mime dependency used by email delivery.
- Declares `magento/module-config`, whose Yes/No source the destination grid uses.

### Qoliber_ProductFeedsTaxonomyGoogle

#### Fixed

- Clear the in-memory taxonomy on synchronization so a running worker reloads an updated
  bundled file.
- Use Magento's filesystem driver to read the bundled taxonomy.
- Keep optional constructor defaults compatible with Magento's compiled PHP metadata.

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8) and `qoliber/product-feeds` ^1.2.

### Qoliber_ProductFeedsTaxonomyFacebook

#### Fixed

- Refresh the shared Google taxonomy cache when Facebook taxonomy synchronization runs.

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8), and `qoliber/product-feeds` and
  `qoliber/product-feeds-taxonomy-google` ^1.2.

### Qoliber_ProductFeedsTaxonomyAllegro

#### Fixed

- Reject failed child requests, malformed nodes, and repeated category IDs before
  replacing the cache.

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8) and `qoliber/product-feeds` ^1.2;
  declares `magento/module-config`, which the encrypted credential fields use.

### Qoliber_ProductFeedsTaxonomyAmazon

#### Fixed

- Reject failed or malformed authentication and product-type responses before replacing
  the cache.

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8) and `qoliber/product-feeds` ^1.2;
  declares `magento/module-config`, which the encrypted credential fields use.

### Qoliber_ProductFeedsTaxonomyEbay

#### Fixed

- The tree's root node is no longer stored as a category: eBay names it "Root" with id 0,
  which made "Root" mappable and prefixed every path with "Root > ".
- Category mappings and cached categories stored under 1.1.0 lose the "Root > " prefix,
  which was written into feeds as is. The provider fix alone only changed what the next
  synchronization stores. A data patch strips the prefix, and removes mappings to "Root"
  itself, so those products fall back to the mapping of another of their categories.
- Reject failed responses, missing trees, and incomplete non-leaf categories before
  replacing the cache.

#### Changed

- Requires Magento Framework 103.0.8 (Magento 2.4.8) and `qoliber/product-feeds` ^1.2;
  declares `magento/module-config`, which the encrypted credential field uses.

## 1.1.0 — 2026-08-30

### Qoliber_ProductFeeds

#### Fixed

- Output format, filename pattern and store view are validated wherever a
  profile is saved, alongside the checks already moved out of the controller.
- Profile validation is applied wherever a profile is saved. The REST routes map
  POST and PUT straight at the repository while the cron check, the email check
  and the filename normalisation lived in the admin controller, so an
  authenticated API caller could store a profile the admin would have refused —
  one whose cron expression the scheduler can never fire, or whose notification
  address bounces every alert a merchant relies on to learn a feed broke.
- Category mapping picks the deepest matching category instead of the last one
  that happened to match. A product sits in several categories and their order
  is not meaningful, so feeds were sending the broad department where a
  marketplace ranks on the specific shelf.

#### Changed

- Category depth is read once per generation run and reused.

### Qoliber_ProductFeedsGenerator

#### Fixed

- The path a run locks on is the path it publishes to. Both were resolved
  separately, and a pattern containing `{datetime}` resolves against the clock,
  so two resolutions either side of a second wrote to a file nothing had locked.
- Variant stock is loaded in one query per parent. Children are not in the paged
  parent collection, so each one fell back to a single registry lookup — the N+1
  batching exists to remove, worst on the variant-heavy catalogs that need it
  most.
- A failed generation no longer replaces a good feed with a partial file. The
  writer opened the final public path in truncating mode, so a run that threw
  part way left a truncated document at the URL a marketplace polls, and the
  channel ingested it as the whole catalog. The feed is now built under a
  temporary name and moved into place only once it is complete; a failed run
  leaves the previous feed untouched.
- Two profiles sharing a filename pattern no longer overwrite each other.
  Generation holds a lock on the file it writes as well as on the profile.
- Variants marked "Not Visible Individually" link to the parent product page.
  They were given their own url_key, which resolves to no reachable page, and a
  marketplace disapproves an item for a broken destination.
- Standalone simple products export their colour and size. Both attributes were
  loaded and required by the apparel templates, and both were always blank.
- Category names are read for the profile's store view. They were loaded with no
  store and cached by id alone, so the first store generated in a process
  decided the names every later store saw.

#### Added

- `@delim`, an escaping function for line-oriented delimited feeds, used by the
  tab-, pipe- and semicolon-delimited templates.

#### Changed

- Generation walks the catalog in batches. `batch_size` has been a column on the
  profile since the first release and nothing read it: the resolver loaded every
  matching product as a full model before writing the first row, which is what
  exhausted memory on a large catalog. Paging runs under a total order, since
  LIMIT/OFFSET without one silently skips or repeats products.
- Stock status is loaded once per batch instead of once per SKU.

### Qoliber_ProductFeedsTemplate

#### Fixed

- Shipped XML templates escape the values they insert. SKUs, product URLs, image
  URLs and taxonomy ids went in raw, and a product URL alone is enough to break
  the document: UTM parameters are joined with an ampersand, so any profile with
  UTM set produced invalid XML that a marketplace rejects wholesale.
- Tab-, pipe- and semicolon-delimited templates escape names and descriptions. A
  delimiter or newline in a product name shifted every later column of that row.
  These formats cannot quote, so the separators are removed from the value.
- The Generic CSV and Tab-Delimited templates emit one line per product. Both
  ran every product together onto a single line — with clean data too — because
  a row-terminating conditional swallowed the newline. Neither had a render test.
- System templates cannot be rewritten or deleted through the REST API. The
  admin controllers refused them, but the repository did not, and every profile
  on the installation renders through these templates.

#### Changed

- A data patch republishes the corrected templates to existing installations,
  which still hold the old text. Templates a merchant created are untouched.
- The delimited templates use `@delim` from the generator's renderer, so they
  must be rendered through it rather than through a bare Tsuku instance.

### Qoliber_ProductFeedsScheduler

#### Fixed

- Schedules are read in the profile's store timezone. Store views are how one
  installation serves several countries, and every profile was matched against
  the default scope's timezone — so "generate at 03:00" fired at the wrong hour
  for every store but one.
- Day-of-month and day-of-week follow cron semantics. They were AND'ed, so
  "0 3 1 * 1" meant the 1st only when it also fell on a Monday instead of the
  1st and every Monday — a weekly schedule quietly firing a couple of times a
  year, with the expression accepted either way.
- A step on a starting value runs to the end of its range: "5/15" fires at 5,
  20, 35 and 50, not at minute 5 alone.

### Qoliber_ProductFeedsExporter

#### Fixed

- A new destination's empty id is no longer used as an array offset, which PHP
  8.5 rejects, so the destination form loads on the versions this package
  declares support for.

### Qoliber_ProductFeedsTaxonomyGoogle

#### Changed

- Packaging metadata only; the taxonomy provider itself is unchanged. The
  authors block and the PHP constraint spacing failed the house composer gate,
  which meant this module could not be released at all, and the changelog
  itself has never reached a published tag. Released alongside the rest of the
  suite so both actually ship.

### Qoliber_ProductFeedsTaxonomyFacebook

#### Changed

- Packaging metadata only; the taxonomy provider itself is unchanged. The
  authors block and the PHP constraint spacing failed the house composer gate,
  which meant this module could not be released at all, and the changelog
  itself has never reached a published tag. Released alongside the rest of the
  suite so both actually ship.

### Qoliber_ProductFeedsTaxonomyAllegro

#### Changed

- Packaging metadata only; the taxonomy provider itself is unchanged. The
  authors block and the PHP constraint spacing failed the house composer gate,
  which meant this module could not be released at all, and the changelog
  itself has never reached a published tag. Released alongside the rest of the
  suite so both actually ship.

### Qoliber_ProductFeedsTaxonomyAmazon

#### Changed

- Packaging metadata only; the taxonomy provider itself is unchanged. The
  authors block and the PHP constraint spacing failed the house composer gate,
  which meant this module could not be released at all, and the changelog
  itself has never reached a published tag. Released alongside the rest of the
  suite so both actually ship.

### Qoliber_ProductFeedsTaxonomyEbay

#### Changed

- Packaging metadata only; the taxonomy provider itself is unchanged. The
  authors block and the PHP constraint spacing failed the house composer gate,
  which meant this module could not be released at all, and the changelog
  itself has never reached a published tag. Released alongside the rest of the
  suite so both actually ship.

## 1.0.1 — 2026-08-29

### Qoliber_ProductFeeds

#### Fixed

- Grid collections are registered in global `di.xml` instead of
  `etc/adminhtml/di.xml`. An area-level declaration replaced the shared
  CollectionFactory's collection list rather than merging into it, which
  dropped every collection Magento core registers and broke unrelated admin
  grids with "Not registered handle `<name>_listing_data_source`".
- The profile form now renders the Output Format field, so the matching file
  extension is appended to the filename pattern as intended.
- Custom cron schedules work: the Cron Expression field is no longer dropped by
  the tabbed layout, the frequency switcher targets the right component, and the
  Disabled option uses a real value instead of an empty one that no switcher
  rule could match. Frequency resolution moved into ScheduleFrequencyResolver so
  saving and redisplay share one definition.
- The Feed URL column resolves each profile's own store. In the admin,
  StoreManager::getStore() with no argument returns the admin store, so on a
  multi-store installation every row showed the default media host — and that
  column is the URL a merchant hands to the sales channel. The store id is now
  read per profile, because the store column renders first and overwrites
  `store_id` in the row with an HTML store hierarchy.
- Product conditions are saved. Condition inputs are collected by the profile
  form, the serialized tree is written correctly, the edit form loads existing
  conditions, and chooser widgets on conditions added without a page reload can
  post back.

### Qoliber_ProductFeedsGenerator

#### Changed

- Tests no longer skip themselves when a product fixture is unavailable, so a
  broken test environment fails visibly instead of reporting a pass.

### Qoliber_ProductFeedsTemplate

#### Fixed

- Grid collections are registered in global `di.xml`; the module's
  `etc/adminhtml/di.xml` is removed. The area-level registration was breaking
  unrelated admin grids.
- The Platform source offers every platform the shipped templates use. Nine of
  the twelve system templates displayed a blank Platform and could not be
  re-selected when edited.

### Qoliber_ProductFeedsExporter

#### Added

- Mass delete for export destinations. The grid offered the action but no
  controller existed, so it returned a 404. Deletion runs in a transaction, so a
  failure part-way cannot leave the grid half-cleared.

#### Fixed

- Grid collections are registered in global `di.xml` instead of
  `etc/adminhtml/di.xml`, which was breaking unrelated admin grids.
- Destination configuration round-trips. Editing a destination showed empty
  connection fields and Test Connection submitted nothing.
- The FTP and SFTP password fields render at all. Both declared the element
  template `ui/form/element/password`, which Magento ships for the storefront
  only — in the admin it resolves to nothing, so the input was absent from the
  page and neither destination type could be given a password without writing
  the row directly to the database. The module now ships an adminhtml password
  template, so the field appears and masks what is typed.
- Destinations linked to a feed profile stay visible after saving. The form's
  multiselect renders its option values as strings while the linked ids were
  injected as integers, so Knockout matched nothing and the Export Destinations
  tab looked empty. Saving the profile again then posted an empty selection,
  which removes every link — delivery stopped silently, with nothing reported.
- The masked password placeholder is never stored as the password. A new
  destination, or an existing one with nothing stored, previously saved the
  placeholder verbatim as its credential.

## 1.0.0 — 2026-05-29

### Qoliber_ProductFeeds

#### Added

- Feed profile management: grids, tabbed edit form, product conditions (Magento rule tree) and per-store scheduling.
- Category mapping to marketplace taxonomies with autocomplete search and a taxonomy cache table.
- Execution log grid recording every generation run.
- REST API for feed profiles (`/V1/product-feeds/profiles`).

### Qoliber_ProductFeedsGenerator

#### Added

- Feed generation engine rendering profiles through Tsuku templates.
- Preview action showing the first 10 products without writing a file.
- Generate Now and mass-generate admin actions, plus feed download.

### Qoliber_ProductFeedsTemplate

#### Added

- Template library with reusable feed templates per platform and output format.
- System templates for Google Shopping, generic CSV, tab-delimited and JSON output.
- REST API for feed templates (`/V1/product-feeds/templates`).

### Qoliber_ProductFeedsScheduler

#### Added

- Cron job running due feed profiles on their configured schedule.
- `productfeeds:generate` and `productfeeds:taxonomy:sync` CLI commands.
- Error notification email on failed generation runs.

### Qoliber_ProductFeedsExporter

#### Added

- Export destinations: local directory, FTP, SFTP and email delivery.
- Test Connection action validating destination credentials before saving.
- Automatic delivery of generated feeds via the `qoliber_productfeeds_feed_generated` observer.
- Feed delivery email template.

### Qoliber_ProductFeedsOpenAi

Released 2026-10-25.

- Add a streaming OpenAI JSONL adapter with attribute mapping and strict stable-schema validation.
  An item OpenAI cannot take is skipped and logged rather than failing the snapshot; overlong
  titles and descriptions are shortened to OpenAI's limits.
- A sale price that is not below the price is left out, as OpenAI's schema does not use it,
  instead of the item being rejected — so mapping `sale_price` or `price` to `final_price`
  keeps full-price and discounted products alike.
- Text that is not valid UTF-8 is published with the broken bytes replaced; an item that still
  cannot be encoded is skipped with its reason, never the whole snapshot.
- Load mapped attributes through the generator's attribute providers, only for OpenAI profiles.
- Price fields map only to the prices converted to the feed currency.
- Add gzip SFTP full-snapshot delivery with strict host-key pinning, atomic replacement of the
  published snapshot, and credential-safe errors. Several onboarding fingerprints may be pinned,
  one per key type. An OpenAI destination with no host, an invalid port, or a missing or
  malformed fingerprint is refused when saved, not at the first delivery.
- Persist generation and per-destination upload reports linked by run ID, with a status CLI.
- Integrate profile mapping and destination configuration into existing admin forms.
- Add unit and Magento integration coverage for schema validation, pricing, publication, delivery, and reports.

### Qoliber_ProductFeedsTaxonomyGoogle

#### Added

- Google product taxonomy provider sourced from the bundled taxonomy file.
- Search used by category mapping autocomplete.

### Qoliber_ProductFeedsTaxonomyFacebook

#### Added

- Facebook/Meta taxonomy provider mapping from the Google taxonomy.

### Qoliber_ProductFeedsTaxonomyAllegro

#### Added

- Allegro taxonomy provider backed by the Allegro API.
- Admin configuration for Allegro API credentials and environment.

### Qoliber_ProductFeedsTaxonomyAmazon

#### Added

- Amazon taxonomy provider backed by the SP-API.
- Admin configuration for SP-API credentials, refresh token and marketplace.

### Qoliber_ProductFeedsTaxonomyEbay

#### Added

- eBay taxonomy provider backed by the eBay Taxonomy API.
- Admin configuration for eBay API credentials and marketplace.
