Skip to content

Latest commit

 

History

History
227 lines (162 loc) · 13.8 KB

CHANGELOG.md

File metadata and controls

227 lines (162 loc) · 13.8 KB

Changelog

v0.17.0 (2024-08-10)

Feature

Fix

  • Contrib.commands failed to parse data sources with empty path (3663d96)
  • Make nbt_type argument of Data.cast optional (beca595)
  • Type checking failing for expandable compound types (3b8c57e)
  • Improve source reuse optimization (6f1aef7)

v0.16.1 (2024-06-23)

Fix

  • Remove scientific notation formatting for small scale numbers (e72080d)

v0.16.0 (2024-02-23)

Feature

  • Overloaded len function for data sources (792657b)
  • Add string data source indexing and slicing (4b5fa58)

Fix

  • Add store result inlining rule (006750b)
  • Lazy sources should discard previous value when reused (2101335)

v0.15.0 (2024-02-16)

Feature

  • Data comparison operator (749dd79)
  • Add and/or operator support for sources/lazy sources (f8013e9)
  • Improved if..elif..else with multibranch (1746226)
  • Add source branching and comparison operators (f8d8ec4)

Fix

  • Strip run execute from commands (c8648f2)

v0.14.0 (2024-02-05)

Feature

  • Source lazy values and data source operator handlers (6832b91)
  • Type checking (b031303)
  • Literal casting (9874ca9)
  • Separate data source interfaces for each nbt type (dbe9a74)
  • Support dicts, lists, arrays and union types (1097f5f)

Fix

  • Only cast numeric nbt types (86d49b1)

v0.13.1 (2024-01-24)

Fix

v0.13.0 (2024-01-23)

Feature

  • Specify data source types using square brackets (b7b96fb)

Fix

  • Reuse temporary score names (0eb9556)
  • Make api not dependent of Context object (72afafe)
  • Reduce number of temporaries used for score and data operations (8756e50)

v0.12.2 (2023-01-08)

Fix

  • Fix inheritance of expression nodes and dataclasses.replace (bd6ac3d)

v0.12.1 (2022-12-31)

Fix

  • Preserve key/default logic of builtin min/max functions (c127114)

v0.12.0 (2022-12-30)

Feature

  • Support literal floating numbers on score multiplication/division (eea20d4)

Fix

  • Make wrapped min/max functions behave more like the builtin ones (7e3b400)
  • Remove commands that multiply/divide by 1, add/subtract by 0 (6d8cf88)

v0.11.2 (2022-12-27)

Fix

  • Import all subpackages in init for conveniency (7c2ed2c)

v0.11.1 (2022-12-27)

Fix

  • Generate negative score constants in init function (9ec47cb)

v0.11.0 (2022-11-19)

Feature

  • Implicitly convert sources into text components (d27870e)
  • Add component method to convert sources into text components (a22caf9)

v0.10.0 (2022-11-15)

Feature

  • Require bolt_expressions.contrib.commands by default (f748ee3)
  • Add bolt_expressions.contrib.commands (e40ae95)

v0.9.0 (2022-11-07)

Feature

  • Let custom objectives be added to init function (99483fb)

v0.8.3 (2022-11-07)

Fix

  • Generate init function only when needed (01f3193)
  • Prevent init function from having unused objectives (4b6a490)
  • Prevent init function from having duplicated/unused constants (05a2638)

v0.8.2 (2022-08-28)

Fix

  • DataSource._copy doesn't support subclasses. (21d1db3)

v0.8.1 (2022-08-24)

Fix

  • Let dicts be used as filter keys in DataSource paths (f10cbdf)

v0.8.0 (2022-07-27)

Feature

  • Api method to cast expressions to any nbt type (eb3d532)

Fix

  • Better nbt type handling (9f63995)
  • Scaling/casting between data sources doesn't work (5074414)

v0.7.0 (2022-06-15)

Feature

  • Scale nbt data with multiplication/division (ebf9420)
  • Directly create score sources using the Scoreboard API (4d42c97)
  • Create multiple score sources at once (4eca574)

v0.6.1 (2022-04-30)

Fix

  • Use bolt package instead of mecha.contrib.bolt in api.py (ace4b1a)

Documentation

  • Changes related to the new bolt package. (6ceac3b)
  • Fix tutorial codeblocks not using mcfunction lang (aff3d90)

v0.6.0 (2022-04-14)

Feature

  • Add expression node methods (97b5a44)

v0.5.0 (2022-04-02)

Feature

  • objective_prefix config, optional prefixed flag when creating an objective. (6c43d51)
  • holder and obj property aliases for score sources. (e6bfdb8)

Documentation

  • Fix docs for now (8a0f02a)
  • Add generated commands to tutorial.md (8711845)

v0.4.5 (2022-03-31)

Fix

  • Init function would be prepended to load tag even if Expression.init was called (34080fe)

Documentation

v0.4.4 (2022-03-31)

Fix

  • Expression.init() creates function with incorrect init path (665edcc)

v0.4.3 (2022-03-31)

Fix

v0.4.2 (2022-03-31)

Fix

  • Forcing a release to build new docs ffs (e30adf7)

Documentation

  • Fix workflow (3.10 versus "3.10") (9cbc582)
  • Auto build and deploy docs (3f8bf8e)
  • Old usage on README.md fixed (60808b1)
  • Added tutorial and cleaned README.md (b786052)

v0.4.1 (2022-03-31)

Fix

  • Scoreboard.objective now works and is preferred (e292d99)

v0.4.0 (2022-03-31)

Feature

  • Ctx.inject is now implicit (f29406f)

v0.3.0 (2022-03-31)

Feature

  • New NBT DataSource feature (9660bbb)
  • Objectives and constants now properly init on load (9838212)

Fix

  • Tests now properly index ensuring that github passes all tests (77aafd1)
  • Rmin and rmax now function correctly (3410fee)
  • More missing callbacks (c6451e8)

v0.2.1 (2022-03-28)

Fix

  • Missing callback reference (084a0f5)
  • min and max now functions without ducking (777f71b)

v0.2.0 (2022-03-28)

Feature

  • Paint it black: 0.2.0 (4abaf39)
  • Added min and max functionality (ducked currently) (d359ade)
  • SmartGenerator (f1d0bab)

Fix

  • Pyproject.toml version var mismatch (1ce816d)
  • Fix github workflows (c65c1af)
  • Make less temp vars (043605f)