Factorio-draftsman

Latest version: v1.1.1

Safety actively analyzes 613777 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.1

* Updated `factorio-data` to version `1.1.103`
* Merged RosieBaish's pull request:
* Added an `extend()` function to `EntityList` along with notes about it's performance
* Fixed issue 101 (finally)

1.1.0

* Added a number of missing prototype objects that are blueprintable:
* `SimpleEntityWithOwner`
* `SimpleEntityWithForce`
* `PlayerPort`
* Fixed an issue where color settings were not recognized in the settings stage (103)
* Fixed issue loading IndustrialRevolution modpack (regression) (98)

1.0.6

* Updated `factorio-data` to version `1.1.88`
* Updated `compatibility/defines.lua` to `1.1.88`
* Merged arpheno's pull request:
* Fixed `Pump` so that it now correctly exports it's `direction`
* Merged SIGSTACKFAULT's pull requests:
* Fix type annotation of `Tile.__init__()`
* Fix type annotation of `BlueprintBook.insert()`
* `draftsman-update` is now (finally) able to load mods from folder directories instead of just zip archives
* `draftsman-update` will now prefer mods in folders instead of zip archives if one of each type present and they have the exact same ID and version (I think this matches Factorio, create an issue if it's not)
* Added `--report` command to `draftsman-update` that prints out a list of currently active mods and their versions (to aid in bug reports)
* Fixed Lua `defines` table not being defined by the time `factorio-data/core` runs (85)
* Fixed UTF-8 BOM tokens not being properly stripped from all mod Lua files, resulting in issues when sending to Lupa (84)
* Changed the Lua load process a whole lot for `draftsman-update`, hopefully behaving more predictably and causing no regressions

1.0.5

* Added `get_blueprintable_from_JSON()` and patched `get_blueprintable_from_string()` so that it no longer converts the string twice (accidentally)
* Fixed issue where integer `playback_volume` values on programmable speakers wasn't getting coerced to a float and failing validation (72)
* Fixed Blueprintable objects not being correctly initialized from their constructor when JSON dicts were passed as an argument (75)
* Fixed `OverlappingObjectsWarning` being incorrectly emitted when `Gates` overlap `StraightRails` (they now are only emitted if they're not perpendicular to each other) (76)
* Fixed `ConstantCombinator` not recognizing the `is_on` member (77)

1.0.4

* Updated `factorio-data` to version `1.1.80`
* Updated `compatibility/defines.lua` to `1.1.80`
* Merged louga31's pull request:
* Fix recipes so that they correctly read either internal format
* Fixed an issue where not all entities were being assigned to `entities.flippable` (61)
* Fixed mod dependency loading (hopefully) so that it should actually handle recursive requires across an arbitrary number of different mods (70)
* Fixed an issue where required Lua files with a single prepended dot or slash would break the path resolution (70)

1.0.3

* Updated `factorio-data` to version `1.1.76` (latest stable)
* Updated `compatibility/defines.lua` to `1.1.76` (latest stable)
* Merged penguincounter's pull request:
* Fixed logistics requester and buffer chest signatures not having the correct `circuit_mode_of_operation` key
* Added a `dump_format()` method to entities that outputs a user friendly description of all of the possible key/value entries in the exported blueprint dict
* Still needs to be done for Blueprintable; ideally there would be a `Exportable` parent class that would implement the madness
* Also need to investigate faster validation options since schema is pretty slow; maybe we can unify and improve speed at the same time
* Added a `get_format()` method intended to get a readable formatted string (that can easily be autogenerated at the top of each entity in the documentation! Not yet but soon)
* Changed `_exports` dict to be both more user readable and only defined on a per class basis instead of a per instance basis (so memory usage should be down)
* Prepped `env.py` for when Lupa version 2.0 goes live (which will resolve 50)
* Fixed `"Mining_Drones_Harder"` mod not loading because of stray "__MACOSX" folder defined alongside (55)
* Fixed `"FactorioExtended-Plus-Logistics"` not loading due to internal file titled `__init__.lua` (56)
* Fixed `env.extract_entities().categorize_entities()` to `get` flags instead of assuming they exist (`"flags"` set is common but optional)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.