RAZI Library


Reusable Architecture & Zero-friction Infrastructure Raziphel's shared foundation for Factorio 2.1 mods. RAZI Library provides dependable prototype editing, recipe and technology helpers, layered icons, settings utilities, validation tools, and runtime event orchestration in one lightweight dependency.

Internal
10 days ago
2.1
1.60K

Changelog

Version: 1.3.2
Date: 22. 10. 2026
  Graphics:
    - Updated the RaziLib thumbnail to match the new Raziel dragon mascot branding.
  Bugfixes:
    - Validation helpers now inspect legacy and normal/expensive recipe variants without modifying them.
    - Report a useful error when a validated entry is missing its name.
  Packaging:
    - Exclude development examples, tests, source art and repository files from mod ZIPs.
    - Reject prohibited executable/script extensions during CI archive validation.
    - Hold automatic Mod Portal publishing behind an explicit enable switch until its API token is repaired.
  Compatibility:
    - Preserve the shared RaziLib API and passive behavior for existing consumer mods.
Version: 1.3.1
Date: 21. 10. 2026
  Stability:
    - Reverted experimental automatic settings ownership and settings-stage provider registration after in-game sorting problems.
    - Restored RaziLib's passive, opt-in settings utility behavior, keeping settings prototypes under each consumer mod's control.
    - Retained the 1.3.0 technology science-pack fix and public module API without introducing global settings changes.
Version: 1.3.0
Date: 21. 10. 2026
  Bugfixes:
    - Fixed Technology:add_pack() changing positional {name, count} science ingredients into named ingredients and losing the intended research cost.
    - Existing technology science packs now retain their original positional or named structure when upgraded, while their amounts increase correctly.
    - Corrected the recipe output inspection test fixture, which previously contradicted an earlier test's recipe changes.
  Graphics:
    - Added the new Razi's Realm dragon mascot thumbnail with simplified RaziLib branding.
  Testing:
    - Added regression coverage for both research science ingredient formats and repeated science-pack upgrades.
  Compatibility:
    - Existing RaziLib APIs remain intact; no gameplay changes or mandatory Space Age dependency.
    - Settings utilities remain opt-in and do not automatically claim other mods' settings or change their order.
Version: 1.2.0
Date: 15. 10. 2026
  Reusable Factorio technology-graph and prototype inspection:
    - Add iterative ancestry and deterministic cycle detection without recursive-stack exhaustion.
    - Add cycle-safe, nonduplicating prerequisite edits and sorted native recipe-unlock indexes.
    - Add read-only recipe output matching (normal, expensive and legacy forms).
    - Add stable ordered collection deduplication for lab and science input lists.
    - Document public APIs and test missing nodes, circular graphs, long research chains, and duplicate effects.
    - No gameplay changes, global event handlers or dependency on Space Age.
Version: 1.1.0
Date: 13-10-2026
  Features:
    - Added reusable science-pack, lab-input, and Space Age connection helpers.
    - Added recipe inspection plus technology lookup, dependency, pack, prerequisite, and unlock queries.
  Changes:
    - Expanded the public module map and regression suite for Razi Protocol integration.
Version: 1.0.0
Date: 01-08-2026
  Features:
    - Initial RAZI Library release.
    - Safe instance-based prototype, recipe, technology, item, entity, and module wrappers.
    - Ingredient, result, unlock, prerequisite, icon, settings, collection, and locale helpers.
    - Runtime event aggregation, persistent namespaces, and safe remote-interface calls.
    - Reusable validation assertions and a standalone Lua test suite.
    - Native Factorio 2.1 multi-category recipes, product probabilities, quality controls, and migration helpers.