# Changelog of Croatia Supermarket Prices: Grocery Price Lists by Barcode (`yappman/croatia-grocery-prices`) Actor

- **URL**: https://apify.com/yappman/croatia-grocery-prices/changelog.md
- **Full Actor documentation**: https://apify.com/yappman/croatia-grocery-prices.md

## Changelog

### Unreleased

- A store list with a header and no products (KTC published one for its sorted-first store on 25 Nov 2026, so KTC returned "no usable rows") is passed over, and the next store is read instead: at most 3 empty lists for one store number, so at most 4 stores. An empty list is never charged. `RUN_SUMMARY` shows `emptyListsSkipped` per chain.
- KTC no longer has a robots.txt: its address answers 301 and sends the visitor to its 404 page, so KTC was skipped with "a redirect, rejected". For `robots.txt` ONLY, the Actor now follows up to 5 redirects, each to https on the chain's own host (no other host, scheme or port), and reads a missing file (a 404 or 410, or a web page reached by a redirect) as "no robots rules", as RFC 9309 does for an unavailable file. The reason is kept in `RUN_SUMMARY` (`robotsNotes`). The list page, store pages and price files still reject every redirect. Nothing is added to get past a measure: a missing robots.txt is not a refusal or a block, a 401, 403, 429 or 503 on any hop still stops the chain, and a robots file that exists is still obeyed.
- Lidl's base-price column (the text "MPC na 2.5.2025: ...") is returned as `basePrice`, the term in the Croatian rule; `anchorPrice` is filled only from a column that is called an anchor ("sidrena") price. This replaces the 0.1.4 handling of that column.
- Lists published as `.gz` or `.zip` (one file, no paths, size-capped) are read, and a file name that holds the rule's timestamp (`GGGGMMDD_SSMM`) is accepted as well as the chain's own date text.
- README: Article 5 of the rule, what the base price is, and the 11:00 note.
- A list published as both `x.csv` and `x.csv.gz` is read once (the plain file). A single list named for all sales points (`ZA_SVA_PRODAJNA_MJESTA`) is read once as store 1, whatever `stores` or `town` was asked; stores 2 and 3 are then skipped with a note.
- A `.zip` is refused unless it is stored or deflated, holds exactly one plain file, and does not hold another archive.
- Known limits: a file name is matched on its publication date (the timestamp `GGGGMMDD_SSMM` or the chain's date text), so a list published the evening before and still valid is not found for the next day. Lidl's reference price moves from `anchorPrice` (0.1.4) to `basePrice`: buyers who read `anchorPrice` for Lidl will see it empty.

### 0.1.4 (24 Nov 2026)

- Lidl: the chain changed its price-list header (a `_ROBE` suffix on the names, two barcode columns with the same value). The Actor reads the new header, so Lidl rows are returned again.
- Lidl's base-price column now holds the text "MPC na 2.5.2025: ..." (the price on the anchor date). It is returned as `anchorPrice`, and `basePrice` is empty for Lidl.
- A store list whose header cannot be read is skipped with the column names it found (names only, never values), so a later header change is quick to diagnose.

### 0.1.3

- README: one Croatian keyword line.

### 0.1.2

- Launch build: README tidy and the input prefill for the Apify QA run.
