Skip to content

Pinned versions

The upgrade-safety policy requires every dependency to be pinned to a specific version. This file records the versions currently used in production / staging / dev; update it on every upgrade.

The product version line is described under Version line.

Version line

  • 0.1.0 is the first release of this repository; it continues an earlier, privately developed line (last release 1.15.1) with the same features and data. After it, plain semver: the release job tags a version only when it is above every tag in this repository. 1.0.0 follows 0.10.3.
  • This repository's 1.x tags and images are not the private line's: that line's 1.x releases live in its own archive repository and image package.
  • Extensions on the 1.x line declare requires_core as >=<lowest 1.x they support>,<2 (Manifest). An extension whose range ends at <1 is paused on 1.0.0 until it publishes a release with the new bound.
  • Deploys pin a version tag, never latest.

Core stack

Component Version Source Upgrade cadence
ERPNext v16.60.0 (deploy/prod/frappe-refs.env is the single source: the image build and the CI bench reuse it; the Dockerfile ARG defaults are pinned in line by the scripts/ci tests) https://github.com/frappe/erpnext Rolls with v16 stable; the daily ci.yml runs a regression against the version-16 head
Frappe Framework v16.60.2 (FRAPPE_REF, same as above) https://github.com/frappe/frappe Same as above
Frappe HR (hrms) v16.60.0 (HRMS_REF, same as above) https://github.com/frappe/hrms Same as above. Baked into the image and installed on the CI site; a store's site gets it only with bench --site <site> install-app hrms (attendance, shifts, leave)
Frappe CRM (crm) v16.0.3 (CRM_REF, same as above) https://github.com/frappe/crm Same as above. Baked into the image with its front end built, and installed on every site: ffl_core requires it (ffl_core/crm/). A site made before 0.6.4 gets it on its first deploy (deploy/prod/auto_deploy.sh installs it before the migrate). On a CRM upgrade: ffl_core/tests/test_crm_composer_contract.py (in make test) checks the composer anchors Draft reply relies on; then in a browser, with a test provider: Reply on a received mail → Draft reply puts the draft above the quote and keeps what was typed, CRM's Send sends it; close the composer → Draft reply opens the dialog; Insert price in the open composer inserts at the cursor, with it closed it copies. A broken anchor shows as the dialog every time, never as text in the wrong place
Anthropic Python SDK (anthropic) 2.4.0, pinned in apps/ffl_integrations/pyproject.toml https://pypi.org/project/anthropic/ Baked into the image for extensions that call Claude with the store's own key (an extension may only ship pure-Python wheels; the SDK needs the compiled jiter). Bump deliberately, with the extensions that import it
~~POS Awesome~~ Removed Upstream stopped updating in 2024-02; no longer used -
POS UI ERPNext built-in /app/point-of-sale Moves with ERPNext No extra upgrade risk
frappe_docker main (upgrade by re-cloning) https://github.com/frappe/frappe_docker Follows main
MariaDB 10.6 docker image Follows the ERPNext recommendation
Redis 6 docker image Follows the ERPNext recommendation
Python (in the container) 3.14 Shipped with frappe_docker (frappe v16 requires-python >=3.14) -
Node (in the container) 24 Shipped with frappe_docker (frappe v16 engines.node >=24) -

Local dev bench

make dev-bench-init initializes from the head of the version-16 branch (FRAPPE_BRANCH, default version-16), which is usually newer than the tags production runs; afterwards frappe/erpnext inside the bench are plain git checkouts and do not follow upstream automatically. The versions production runs are pinned in deploy/prod/frappe-refs.env (FRAPPE_REF, ERPNEXT_REF and HRMS_REF, which can differ). make dev-site-create fetches hrms (version-16 head, like the rest of the dev bench) if the bench lacks it and installs it on the dev site.

  • make dev-upgrade moves the bench to the latest version-16 head (fetch, checkout, pull, reinstall the venv, migrate; it works the same way inside a worktree). It does not align the bench with the versions pinned in deploy/prod/frappe-refs.env.
  • make ci-upgrade-test = dev-upgrade + test, so it permanently upgrades and migrates the dev bench and its site to the version-16 head; it does not restore the previous versions afterwards. Use a throwaway worktree bench (make dev-bench-clone) for it, and make dev-down-volumes plus deleting the worktree to discard it. CI runs it against a throwaway bench.

Custom app compatibility

App Compatible ERPNext Compatible Frappe
ffl_core v16 v16
ffl_integrations v16 v16
ffl_woo_sync v16 v16

External API versions

API Version Purpose
WooCommerce REST v3 Product / order sync
FastBound TBD A&D / 4473 / NICS
Payroc TBD Card payments
ATF EZ Check TBD FFL verification

Upgrade log

Date Component From -> To Decided by Notes
2026-05-04 Project initialization - -> v15 stable - Starting point
2026-05-04 POS UI choice POS Awesome -> ERPNext built-in POS - Upstream stopped updating + the upgrade-safety policy
2026-05-04 Upgrade to v16 stable v15 -> v16 - Owner decision: follow the latest release
2026-09-08 Frappe + ERPNext v16.24.0 / v16.25.0 -> v16.33.1 / v16.34.2 Owner decision Local make ci-upgrade-test (which now upgrades Frappe as well) 6689/0; the 9 cases that were red in the daily regression were ffl_woo_sync tests whose global get_value stub intercepted new framework-internal queries; the stub now answers only application doctypes
2026-10-06 Frappe + ERPNext v16.33.1 / v16.34.2 -> v16.50.0 / v16.50.0 Owner decision On the old develop, local make test 7256/0/1 (two passes); on develop with v16.50 unchanged there were 13 errors, 12 of them the POS Profile select-or-read gate added in 16.50 (get_stock_availability is called in-process when a POS Invoice is submitted), which Sales User cannot pass. Fix: pos_compat.ensure_cashier_pos_profile_select adds only select (Custom DocPerm, granted once per role, without widening owner-only rules) to the roles in COUNTER_ROLES that lack it, and check_pos_profile_perm_drift reports differences between the frozen rows and ERPNext's native rows (with persistent de-duplication). Frappe 16.50 moved navigation into Sidebar records: ffl_core / ffl_integrations now ship the Gun Shop / Settings Sidebars with the app, and extension modules write Sidebars through mirror_gun_shop_sidebar. CI: bench init --python now receives setup-python's absolute path (uv had been picking a managed CPython 3.12); upgrade-from-base now builds the old site in a throwaway bench with the base refs first, then switches to the new refs. Final local result 7280/0/0 (the migrated site twice, plus one site created fresh by the CI procedure)
2026-10-17 Frappe + ERPNext v16.50.0 / v16.50.0 -> v16.52.0 / v16.51.1 Owner decision A worktree bench built on v16.50.0, switched to the new tags and migrated cleanly. The first make test on it had 1 failure and 154 errors, all from one cause: ERPNext 16.51 moved Default Warehouse from Stock Settings to Company (patch move_warehouse_defaults_to_company carries the value over), and warehouses.default_stock_warehouse read the old field. It now reads Company.default_warehouse. Two test-isolation problems the nightly run was also hitting were fixed: test_check_money_order now clears a Check/Money Order row another fixture pointed at Cash, and tests/pos_opening.todays_pos_opening opens a shift on the profile it is asked for. The NegativeTradeInTicket override still matches is_negative_grand_total_allowed in accounts_controller. Upstream's POS Closing change-amount fix does not touch the cash drawer, which computes its own expected cash. Final local result 8839/0/0 plus JS 464/0
2026-10-28 ERPNext stock permissions v16.51.1, unchanged Owner decision ERPNext v16 stock DocPerms let Sales User only read POS Invoice and give it nothing on POS Opening Entry, POS Closing Entry or Sales Invoice (Sales Manager: no write on POS Invoice), so a login without Accounts User could not finish a sale (checkout 403, no shift could be opened, and the closing's consolidation job creates the Sales Invoice as the closing user). Every real login used to hold Accounts User, so it went unnoticed. Fix in our setup code, never in ERPNext: pos_compat.REGISTER_GRANTS adds the least Custom DocPerm rows for Sales User and Sales Manager (no cancel, amend or Journal / Payment Entry; Sales Invoice gets create / write / submit because the consolidation runs under the closing user, but no cancel or delete), once per doctype and role (a delete grant on POS Invoice comes with an on_trash guard: cancelled invoices are deleted by managers only), never widening an owner-only rule or restoring a row an administrator removed. check_perm_drift covers the doctypes. On every ERPNext bump git diff the permissions of POS Invoice, POS Opening Entry, POS Closing Entry and Sales Invoice, and run test_counter_register_perms
2026-11-11 ERPNext stock permissions v16.51.1, unchanged Owner decision A serial number or barcode typed into the register search goes through point_of_sale.search_by_term, which reads Item Price with frappe.get_list as the session user; ERPNext ships Item Price read for Sales Master Manager and Purchase Master Manager only, so a Sales User login got a permission error (a name search reads prices with a raw query and worked). Fix: pos_compat.REGISTER_GRANTS adds Item Price read for Sales User (select is not enough: the price field is dropped), same once-only rules as the other register grants; check_perm_drift covers Item Price. On every ERPNext bump add Item Price to the permissions you git diff
2026-11-15 Frappe + ERPNext + HRMS + CRM v16.52.0 / v16.51.1 / v16.52.0 / v16.0.1 -> v16.56.0 / v16.55.0 / v16.53.2 / v16.0.3 Owner decision A worktree site built on the old pins, switched to the new tags and migrated cleanly. The first make test on it had 1 failure and 8 errors (the daily regression's list). Two were product behaviour: ERPNext 16.55 holds every selling line to the item's Max Discount whatever form the discount takes (it used to check only the percentage), so a member price past it made the whole ticket fail to save; membership_benefits.price_line now stops a member price at that floor (the line notice says so, and a floor no better than the regular price gives no member price), and pos_ticket.build_ticket is refused past it like open_ticket. Supplier creation (consignment, receive_goods) no longer falls back to the group-type root Supplier Group, which 16.55 refuses. The rest were fixtures: a POS Profile write-off account must now be Profit and Loss; a POS Invoice keeping its own date (Edit Posting Date and Time, or an amendment) saves only in a shift that started that day and at or after its start; Items no longer copy their Item Group's tax rows (the resolver walks the group, and still breaks on a dangling template link, so tax._prune_dangling_template_links stays); the Edit Order tests and one CRM test now pass a second run on the same site. NegativeTradeInTicket still matches is_negative_grand_total_allowed; the get_pos_reserved_serial_nos copy is unchanged upstream; no DocPerm changes on the watched doctypes. Serial No now refuses a form save that changes status, company, customer, batch or purchase rate (only the stock ledger may); our code writes those with db.set_value
2026-11-23 Frappe + ERPNext + HRMS v16.56.0 / v16.55.0 / v16.53.2 -> v16.60.2 / v16.60.0 / v16.60.0 (CRM stays v16.0.3) Owner decision A worktree site built on the old pins, switched to the new tags and migrated cleanly; the first make test on it was already green (10909/0/0, JS 542/0), because the tests run as Administrator. ERPNext 16.60 adds permission gates to many whitelisted methods, and three hit code we call in-process: serial_no.get_pos_reserved_serial_nos now wants POS Invoice read and select on the warehouse, and our override in api/pos_serial (still needed: upstream still counts consolidated tickets) now applies the same gates instead of staying open (Sales User has both; a Sales Manager runs the register with Sales User); get_item_details.get_item_tax_map wants select on the Item Tax Template, which a Guest webhook or a role without it lacks, so member pricing, the trade-in tax floor, Create Order's tax rates and the Sales Report call ERPNext's own ungated _get_item_tax_map (the same computation; ERPNext's controllers switched to it too); stock_reconciliation.get_difference_account wants Stock Reconciliation read, which only Stock Manager has, so a System Manager without it could not run Inventory Import or the FastBound opening-stock import: inventory_import.check_posting now reads the Temporary account itself. Other upstream changes we checked and need nothing: a POS return now refunds the sale amount when change was given (make_return_doc), the cash drawer computes its own expected cash; Customer and Supplier forms open on a new Overview tab, with Details and Items tabs; Frappe stores session ids hashed (patch hash_session_ids converts them in place, so nobody is signed out, and delete_session(raw sid) still works for the PIN switch); Frappe now ships Studio and Flow (new roles Studio User / Flow User, nobody holds them; after_migrate tries to start the Flow daemon and only warns when it cannot); upgraded sites keep the classic dashboards and charts, a new site gets the new ones. No DocPerm changes on POS Invoice, POS Opening / Closing Entry, Sales Invoice, Item Price, POS Profile or Serial No; the POS page JS we wrap is unchanged; NegativeTradeInTicket still matches is_negative_grand_total_allowed; no new patch rewrites Serial and Batch Bundle / Entry, Stock Ledger Entry, Sales Invoice or POS Invoice data. Every frappe / erpnext / hrms / crm import and hook target in the three apps and the five first-party extensions resolves on the new pins. Frappe now depends on onnxruntime, litellm, rapidocr and frappe-flow, so the image is larger