All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.3.1 - 2023-11-07
- Fixed
types
field missing on the package.jsonexports
. - Fixed the package breaking some web bundler builds.
4.3.0 - 2023-08-12
- Added support for decoding more types of schematic tile configuration.
4.2.2 - 2023-07-18
- Fix the generated types not exporting the
MindustryVersion
type.
4.2.1 - 2022-11-24
- Fixed constructor blocks not being parsed
4.2.0 - 2022-11-14
- v7 environment blocks
- Renamed
BlockForge
toConstructor
- Moved
Constructor
fromexperimental
topayload
- Renamed
BlockLoader
toPayloadLoader
- Moved
BlockLoader
fromexperimental
topayload
- Renamed
BlockUnloader
toPayloadUnloader
- Moved
BlockUnloader
fromexperimental
topayload
- Renamed
ThermalPump
toImpulsePump
- The
CommandCenter
block is now deprecated and won't be rendered anymore. - The
ResupplyPoint
block is now deprecated and won't be rendered anymore.
4.1.7 - 2022-05-7
- Added support for block name aliases
- Added support for ores
4.1.6 - 2022-04-19
- Added support for mindustry's environment blocks
4.1.5 - 2022-03-30
- Fixed error when parsing schematics with labels
4.1.4 2022-02-27
- Fixed error during rendering when using the cjs version of the package.
4.1.3 - 2022-02-20
- Fixed broken imports for esm and cjs formats.
4.1.2 - 2022-01-29
- Fixed missing
type
field in package.json
4.1.1 - 2022-01-29
- Fix
prePublish
script not building esm modules
4.1.0 - 2021-09-22
- Compatibility with browser environments
- ESM module exports
- Fixed the decoding of non ascii character strings
schematic.toImagerBuffer()
was deprecated, please useschematic.render()
instead.
4.0.4 - 2021-09-22
- Fixed rendered conveyors connecting to all nearby blocks
4.0.3 - 2021-09-20
- Fixed decoding of non ascii characters
4.0.2 - 2021-09-16
- Removed import helpers from
tslib
4.0.1 - 2021-09-10
- Schematic power metrics
4.0.0 - 2021-09-04
- Support for Mindustry v7 blocks
outputDirection
property on blocks- A
payload
namespace for payload transport blocks
- The
BlockProperties
interface no longer exists (incorporated into theBlock
class) - The
SchematicDecoder
class was removed
- Blocks now use an enum to determine their output
- The
Block
class no longer receives an object with options as a parameter PayloadConveyor
andPayloadRouter
were moved to thepayload
namespace
3.0.1 - 2021-05-03
- dist directory not included on package, causing it to fail
- Package contents not updated on previous version
3.0.0 - 2021-05-03
- Start and end of rendered bridges
- Option to read a raw schematic buffer
- Top details of water turrets
- A
Block.fromCode
method to get a block by its id
- Error when rendering bridges with a
null
config
- Blocks are now namespaced under their respective functions
- Blocks are now exposed as classes instead of singletons
- The
mindustry
namespace no longer contains the classes of blocks
Example of use:
// old
import { Conduit, BridgeConduit, Conveyor } from 'mindustry-schematic-parser'
// new
import { Blocks } from 'mindustry-schematic-parser'
const {
liquid: { Conduit, BridgeConduit },
distribution: { Conveyor },
} = Blocks
- Added schematic rendering options
2.0.1 - 2021-03-15
- Fixed crash when rendering adjacent bridges
- Fixed bridge connecting to unexisting bridges
- Fixed rendering of interplanetary accelerator
2.0.0 - 2021-03-15
- schematic generation version
- Schematics now use named constructor parameters
- Fixed block sprite rendering
1.2.2 - 2021-03-15
- Assets not delivered with package
1.2.1 - 2021-03-15
- Conveyor and conduit connection rendering
- Parser crash when dealing with logic blocks
1.2.0 - 2021-03-15
- Support for schematic preview generation
- List of game items
- List of game liquids
- Mindustry related content is now under the
mindustry
namespace - Arc related content is now under the
arc
namespace
1.1.2 - 2021-03-11
- Fixed types not being distributed with the package
- The distribution folder is now
dist
1.1.1 - 2021-03-11
- Default empty schematic description
- Blocks now have a coherent inheritance
- The use of
SchematicDecoder
was deprecated, useSchematic.decode
instead
- Fixed buffer offset overflow when the tags of the schematic were too long
1.1.0 - 2021-03-10
- Added CHANGELOG.md to project
- Added schematic tag edition feature
1.0.2 - 2021-03-08
- Changed compilation target from
ES2020
toES5
1.0.1 - 2021-03-08
- Added README.md to project
- First release