Tutorial:Mod changelog format: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Added example and info easily found in source code, added more todos
m Protected "Tutorial:Mod changelog format": Moved to lua-api.factorio.com ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="stub"><p>'''The mod structure have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/auxiliary/changelog-format.html https://lua-api.factorio.com/latest/auxiliary/changelog-format.html]


TODO
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
mod portal doesnt parse changelog like this
completely empty lines are ignored?
 
* Parsing errors can be found in the [[log file]] in the [[user data directory]].
 
<!-- maybe https://forums.factorio.com/67140 -->
<!-- maybe link to vs code extension that has changelog hinting from jarg -->
 
== Important general format ==
 
* Do not use tabs
** Indentation is done with two spaces
* Do not leave whitespace at the end of lines
 
Usually, text editors can enforce this automatically, it is recommended to set this up.
 
== Example ==
It may be simpler to copy this example into your changelog and modify it than to start from scratch.
<pre>---------------------------------------------------------------------------------------------------
Version: 1.1.60
Date: 06. 06. 2022
  Features:
    - This is an entry in the "Features" category.
    - This is another entry in the "Features" category.
  Balancing:
    - This is a multiline entry in the "Balancing" category.
      There is some extra information here because it is needed for the example.
      Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  Bugfixes:
    - Fixed that item requests didn't subtract items picked up from ground when reviving ghosts. (https://forums.factorio.com/102329)
    - Fixed burner inserter would not fuel itself when drop target was full. (https://forums.factorio.com/102449)
---------------------------------------------------------------------------------------------------
Version: 1.1.66
Date: 19. 08. 2022
  Major Features:
    - Initial release.
</pre>
 
== Formatting rules ==
[[#Important general format]] applies everywhere and will lead to confusing error messages if not followed.
 
=== Version start (?) Sections start? ===
Must start with exactly <code>---------------------------------------------------------------------------------------------------</code> followed by a newline.
 
The next line must be a [[#Version]] line.
=== Version ===
Must start with exactly <code>Version: </code>, note the space after the colon. The remaining part of the line will be parsed as the version TODOthe section is about. TODO version format
TODO duplication?
TODO must be given
=== Date ===
Must start with exactly <code>Date: </code>, note the space after the colon. The remaining part of the line will be parsed as the dateTODO the version was released. TODO data format
TODO duplication?
=== Category ===
 
Must start with exactly two spaces. The remaining part of the line will be parsed as the category. Must end with a colon (reminder, no whitespace at end of line!). This colon is removed for the purpose of display. TODO names and sorting
 
=== Entry ===
 
Must start with exactly four spaces followed by exactly <code>- </code> (note the space after the dash) for a single line entry. For a multiline entry, lines after the first line must start with exactly six spaces.
TODO

Latest revision as of 15:14, 15 December 2025

The mod structure have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/auxiliary/changelog-format.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.