- ``Units::getReadableName``: now returns the *untranslated* name
- ``Units::getReadableName``: now returns the *untranslated* name
- ``Burrows::setAssignedUnit``: now properly handles inactive burrows
- ``Burrows::setAssignedUnit``: now properly handles inactive burrows
- ``Gui::getMousePos``: now takes an optional ``allow_out_of_bounds`` parameter so coordinates can be returned for mouse positions outside of the game map (i.e. in the blank space around the map)
- ``Gui::getMousePos``: now takes an optional ``allow_out_of_bounds`` parameter so coordinates can be returned for mouse positions outside of the game map (i.e. in the blank space around the map)
- ``Buildings::completebuild``: used to link a newly created building into the world
## Lua
## Lua
- ``dfhack.gui.revealInDwarfmodeMap``: gained ``highlight`` parameter to control setting the tile highlight on the zoom target
- ``dfhack.gui.revealInDwarfmodeMap``: gained ``highlight`` parameter to control setting the tile highlight on the zoom target
- ``dfhack.maps.getWalkableGroup``: get the walkability group of a tile
- ``dfhack.maps.getWalkableGroup``: get the walkability group of a tile
- ``dfhack.gui.getMousePos``: support new optional ``allow_out_of_bounds`` parameter
- ``dfhack.gui.getMousePos``: support new optional ``allow_out_of_bounds`` parameter
- ``gui.FRAME_THIN``: a panel frame suitable for floating tooltips
- ``gui.FRAME_THIN``: a panel frame suitable for floating tooltips
- ``dfhack.buildings.completebuild``: expose new module API
## Removed
## Removed
@ -130,12 +132,11 @@ Template for new versions:
- unavailable tools are no longer listed in the tag indices in the online docs
- unavailable tools are no longer listed in the tag indices in the online docs
## API
## API
- added ``Buildings::completebuild``, used to link a newly created building into the world
- added ``Items::getCapacity``, returns the capacity of an item as a container (reverse-engineered), needed for `combine`
- added ``Items::getCapacity``, returns the capacity of an item as a container (reverse-engineered), needed for `combine`
## Lua
## Lua
- added ``GRAY`` color aliases for ``GREY`` colors
- added ``GRAY`` color aliases for ``GREY`` colors
- added ``dfhack.items.completebuild`` and ``dfhack.items.getCapacity`` to expose new module APIs
- added ``dfhack.items.getCapacity`` to expose the new module API
- ``utils.search_text``: text search routine (generalized from internal ``widgets.FilteredList`` logic)
- ``utils.search_text``: text search routine (generalized from internal ``widgets.FilteredList`` logic)