You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b919971
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/changelog.txt
+146-5Lines changed: 146 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -55,24 +55,169 @@ Template for new versions:
55
55
# Future
56
56
57
57
## New Tools
58
+
- `stockflow`: (reinstated) queue manager jobs based on free space in stockpiles
59
+
- `smooth-movement`: smoothly animate creature, item, and vehicle movement in the fortress viewport
60
+
- `export-world-map`: Export world map data for GIS and other external tools.
58
61
59
62
## New Features
63
+
- `autodump`: new ``undestroy`` option reverts pending item destruction while the game is still paused
64
+
- `buildingplan`: new "Do now" option marks the jobs of subsequently placed buildings as high priority
65
+
- `getplants`: new ``--dry-run`` option counts affected plants without designating, and new ``--brewable``/``--edible``/``--oil``/``--cloth``/``--dye`` trait filters restrict the selection by plant use
66
+
- `labormanager`: the `autolabor` plugin now provides a second command that manages labors through the work detail system instead of writing the labor matrix; use ``<cmd> mode legacy|modern`` or the work details overlay to switch
67
+
- `labormanager`: track job posting age and show a "task starvation" notification in the DFHack warning panel when any posting sits unclaimed for over a day
68
+
- `sort`: the stress/happiness icons in the top bar are now clickable, opening a list of the citizens in that stress category; selecting a citizen centers the map on them
69
+
- `stocks`: the overlay's ``collapse all`` hotkey now toggles, expanding all categories again when everything is collapsed
70
+
- `stockpiles`: the overlay now also attaches to the minecart hauling stop conditions panel, offering import/export of route stop conditions
71
+
- `suspendmanager`: suspend deconstruction jobs that would collapse connected machinery, such as waterwheels supporting other components
72
+
- ``quickfix``: repair ``plotinfo.site_id`` on load when DF leaves it unassigned on reclaimed fortresses
73
+
74
+
## Fixes
75
+
- Plugin commands that throw uncaught C++ exceptions now report an error instead of crashing the game
76
+
- Fixed broken weather lookup in ``World::ReadCurrentWeather``
77
+
- Fixed ``dfhack.items.createItem`` making glob items of an incorrect size
78
+
- Fixed a possible hang or assertion failure when pressing a hotkey while a DFHack GUI window was open but unfocused
79
+
- Fixed persistent site data API (``dfhack.persistent.saveSiteData``/``getSiteData``) failing on newly reclaimed fortresses until the first save
80
+
- Fixed out-of-bounds color table access in ``Screen`` module when Lua pens use ``COLOR_RESET``
81
+
- ``Units::teleport``: update unit occupancy on the full 3x3 footprint of EQUIPMENT units (e.g. wagons) instead of only their center tile
82
+
- ``Units::teleport``: only clear tile unit occupancy flags when no other unit of the same kind remains on the tile
83
+
- `3dveins`: fix crash when a tile's biome cannot be resolved
84
+
- `3dveins`: fix failure on embarks that cross midmap tiles
85
+
- `aquifer`: make ``--skip-top`` and top-relative ``--levels`` take effect for the ``drain``, ``convert``, and ``add`` actions instead of being silently ignored
86
+
- `aquifer`: make ``--help``/``-h`` actually print help instead of running a map-wide ``list``
87
+
- `autochop`: fix crash when a burrow-based command names a burrow that doesn't exist
88
+
- `autodump`: ``destroy`` no longer leaves the contents of destroyed containers in limbo or crashes when destroying unit-held items
89
+
- `buildingplan`: fix roller material estimate asking for one chain per tile instead of one chain total
90
+
- `buildingplan`: fix "Unlink all" only unlinking some mechanisms (or crashing) when freeing mechanisms from the building
91
+
- `burrow`: fix ``tiles clear`` and other tile operations silently failing because burrow block z-coordinates were stored incorrectly in the ``Burrows`` module
92
+
- `export-world-map`: fix crash exporting site data for a site whose owner has an undefined race
93
+
- `gui/quickfort`: show smoothing designations immediately after applying a blueprint
94
+
- `overlay`: overlay hotkeys no longer steal typed characters while the game is capturing text input, e.g. when renaming a building
95
+
- `sort`: fix the Places/Workshops and task searches missing workshops by their current display names (e.g. "Stoneworker's Workshop", "Screw Press")
96
+
- `stocks`: overlay now resets scroll position when collapsing categories so the item list is no longer left blank and unscrollable
97
+
- `strangemood`: updated to match behavior of current DF version
98
+
- `tiletypes`: remove plants (including trees) rooted on a tile that is painted into something that cannot host them, so cleared ground no longer regrows floating trees
99
+
- `timestream`: deal properly with units who have breathing difficulties
100
+
- `timestream`: pass the validated numeric value to the fps setter so ``set fps`` with unusual numeric strings (e.g. ``60.9``) can't be silently misapplied
101
+
- `stocks`: overlay now resets scroll position when collapsing categories so the item list is no longer left blank and unscrollable
102
+
- `strangemood`: fix crash when ``--id`` is given a non-numeric unit id
103
+
- `suspendmanager`: fix out-of-bounds parameter read when ``set`` is given too few arguments
104
+
105
+
## Misc Improvements
106
+
- Added ``Coord2d`` and ``Coord3d`` C++ templates, providing a standard set operations for 2-tuples and 3-tuples of any numeric type
107
+
- Renamed the ``stockpiles`` tool tag to ``stockpile`` so it no longer collides with the `stockpiles` plugin in `gui/launcher`
60
108
61
-
## Fixes
109
+
## Documentation
110
+
- Document ``autodump-destroy-here``. Remove mention of ``autodump destroy`` able to revert destruction.
111
+
112
+
## API
113
+
- Added ``Maps::getSiteTypeName`` to print the sites classification as a string (e.g. "mountain halls")
114
+
- Added ``Maps::addRegionBiomeOffset`` to shift world region coordinate by region_details biome reference
115
+
- Added ``Maps::describeSurroundings`` to get surroundings classification from savagery and evilness
116
+
- Added ``Maps::getCurrentWeather`` to determine the current weather on the map.
117
+
- Added ``Maps::forEachTile`` with ``Maps::TileFilter``/``Maps::TileActions`` to scan a cuboid of tiles, matching tiles by tiletype, tiletype attributes, and designation/occupancy bits, and counting, rewriting tiletypes, editing designation/occupancy bits, spawning constructions, or invoking a callback on matching tiles
118
+
- Added ``MiscUtils::print_range`` to print ranges with prefix, separator, and suffix
119
+
- Added ``Units::breathes`` and ``Units::getBreathingState``
120
+
- Deprecated ``World::ReadCurrentWeather`` in favor of ``Maps::getCurrentWeather``
121
+
122
+
## Lua
123
+
- Added ``dfhack.maps.forEachTile`` to scan a cuboid of tiles with a declarative filter and apply actions (count, set tiletype or per-tiletype replacements, set designation/occupancy fields, spawn constructions, Lua callback) in a single native call
62
124
- ``widgets.Slider`` and ``widgets.RangeSlider``: fix sliders allowing values outside their number of stops (``num_stops``) when clicked or dragged with the mouse
125
+
126
+
## Removed
127
+
128
+
# 53.16-r1.1
129
+
130
+
## New Tools
131
+
132
+
## New Features
133
+
134
+
## Fixes
135
+
- `stockpiles` will no longer incorrectly size the "rough gem" and "cut gem" vectors, which avoids a crash when viewing stockpile settings. This potentially affects anything that uses blueprints to create a stockpile, including `gui/quantum`
136
+
137
+
## Misc Improvements
138
+
139
+
## Documentation
140
+
141
+
## API
142
+
143
+
## Lua
144
+
145
+
## Removed
146
+
147
+
# 53.16-r1
148
+
149
+
## New Tools
150
+
151
+
## New Features
152
+
153
+
## Fixes
154
+
- ``TextArea`` widget corrected to use ``COLOR_BLACK`` instead of ``COLOR_RESET`` as default background color
155
+
156
+
## Misc Improvements
157
+
- a safety check was added to ``Screen::doSetTile_char`` for out of bound pen color values
158
+
159
+
## Documentation
160
+
161
+
## API
162
+
163
+
## Lua
164
+
165
+
## Removed
166
+
167
+
# 53.15-r3
168
+
169
+
## New Tools
170
+
171
+
## New Features
172
+
173
+
## Fixes
174
+
- `buildingplan`: restore planner UI elements: hollow constructions, only engraved slabs, only empty cages, weapon count
175
+
176
+
## Misc Improvements
177
+
- `EventManager`: add safety check to potentially avoid a DFHack crash when DF's ``reports`` table is out of order
178
+
179
+
## Documentation
180
+
181
+
## API
182
+
- ``DFSDL``: added ``obtain_library_handle`` and ``obtain_image_library_handle`` so that a plugin can obtain DFHack's already-open handle to these libs instead of having to do it itself.
183
+
- ``Screen``: new functions ``paintMapPortTile`` and ``readMapPortTile`` to write and read world and region map tiles.
184
+
- ``Materials``: ``MaterialInfo`` constants ``NUM_BUILTIN``, ``GROUP_SIZE``, ``CREATURE_BASE``, ``FIGURE_BASE``, ``PLANT_BASE``, and ``END_BASE`` removed. New plugins should use appropriate members of the ``df::builtin_mats`` enum.
185
+
186
+
## Lua
187
+
- Added ``Screen::paintMapPortTile`` as ``dfhack.screen.paintMapPortTile``
188
+
- Added ``Screen::readMapPortTile`` as ``dfhack.screen.readMapPortTile``
189
+
- Deprecated ``gui.materials.CREATURE_BASE`` and ``gui.materials.PLANT_BASE`` - scripts should instead use ``df.builtin_mats.CREATURE_1`` and ``df.builtin_mats.PLANT_1``, respectively.
190
+
191
+
## Removed
192
+
193
+
# 53.15-r2
194
+
195
+
## New Tools
196
+
197
+
## New Features
198
+
- `stocks`: add button/hotkey for expanding all categories on stocks interface
199
+
- `buildingplan`: add a ``Pull`` button next to linked levers on a building's "Show linked buildings" tab so you can queue a high-priority pull-lever job (or cancel a queued one) without navigating to the lever
200
+
201
+
## Fixes
202
+
- `autoclothing`: correct defect in validating material specification on command line
63
203
- `autolabor`: Fix running 1 tick less frequently than intended.
0 commit comments