Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Tags: factoriolib/flib

Tags

v0.12.8

Toggle v0.12.8's commit message

v0.12.7

Toggle v0.12.7's commit message

v0.12.6

Toggle v0.12.6's commit message
Bugfixes:

  - [gui-lite] Fixed that drag_target was not restored to GUI elem definitions after being used in gui.add

v0.12.5

Toggle v0.12.5's commit message
Features:

  - `dictionary-lite` and `gui-lite` modules are now compatible with the core `event_handler`
Bugfixes:
  - [bounding-box] Fixed `bounding_box.from_dimensions()` returning a 0x0 area at left_top (#49)
  - Fixed `selected` button styles having an extra vertical offset when clicked

v0.12.4

Toggle v0.12.4's commit message
Changes:

  - flib_selected_frame_action_button and flib_selected_tool_button styles now have a vertical offset
  - Improved slot style coloring to be more consistent
  - Updated table module to use more generics for callback return values
Bugfixes:
  - Fixed missing clicked graphical sets on slot styles
  - Fixed missing return types in table module callback functions
  - Fixed that long mod names would cut off in the dictionary-lite progress window

v0.12.3

Toggle v0.12.3's commit message
Bugfixes:

  - Fixed a crash when calling `bounding_box.rotate()`
  - The base mod dependency is no longer optional - it was causing the game to download flib versions that it could not run

v0.12.2

Toggle v0.12.2's commit message
Changes:

  - [queue] If the queue is empty, returns nil instead of throwing an error
  - [queue] Renamed functions to be much more clear, updated types to use generics
  - Updated types to work with recent FMTK releases
Bugfixes:
  - [dictionary-lite] Fixed an occasional crash related to Lua memory management internals

v0.12.1

Toggle v0.12.1's commit message
Bugfixes:

  - [dictionary-lite] Fixed a crash when re-requesting a missed translation batch

v0.12.0

Toggle v0.12.0's commit message
Features:

  - Added 'bounding-box' module
    - A cleaned up version of the 'area' module that treats bounding boxes as immutable and does not use metatables
    - Since the cleanup was a breaking change, a new module was created
  - Added 'dictionary-lite' module
    - Takes advantage of new Factorio API features to drastically simplify the process
    - Increases translation speed in singleplayer by a factor of 10
  - Added 'format' module with various string formatting functions
  - Added 'gui-lite' module
    - Removes redundant features, simplifies the building process, and enhances type-checking and autocomplete
  - Added 'migration.handle_on_configuration_changed()'
  - Added 'position' module with various position manipulation functions
Changes:
  - Changed preferred require syntax to '/' instead of '.'
  - Deprecated 'area' module in favor of the 'bounding-box' module
  - Deprecated 'dictionary' module in favor of the 'dictionary-lite' module
  - Deprecated 'event' module - type checking did not work and it didn't provide much over using 'script' directly
  - Deprecated 'gui' module in favor of the 'gui-lite' module
  - Deprecated 'misc' module in favor of the 'format' and 'position' modules
  - Removed 'queue.load()' and queue metatables
  - Updated type definitions to use generics where possible
Bugfixes:
  - [dictionary] Fixed translations getting stuck on Factorio 1.1.73+

v0.11.2

Toggle v0.11.2's commit message
Bugfixes:

  - [dictionary] Fixed a crash when a player left the game under certain circumstances