Skip to content

Commit

Permalink
Release 0.9.0b0
Browse files Browse the repository at this point in the history
  • Loading branch information
SmylerMC committed Jun 6, 2024
1 parent fa416d0 commit 9d5f552
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### 0.9.0b0
* Drop Python 3.8 support, Python 3.9 is now the minimum supported version
* All methods and field are now proper snake_case.
Old names can still be used but are deprecated and will eventually be removed.
* Blocks can now be accessed from regions using bracket notation:
`block = region[x, y, z]`, `region[x, y, z] = block`
* The built-in `in` keywork can now be used to test whether a region contains a block:
`burning = BlockState("minecraft:fire") in region`
* Added `Region.replace()` to replace all occurrences of a block in a region with a different one
* Litemapy is now aware of litematic subversions
* Type hints are now provided with annotations instead of Sphinx docstrings

### 0.8.1b0
* Massively improve saving performance by using Numpy to count non-air blocks (by @llGaetanll).
* Obsolete region palette entries are now pruned.
Expand Down
2 changes: 1 addition & 1 deletion litemapy/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
MC_DATA_VERSION = 2975 # Minecraft 1.18.2 (https://minecraft.wiki/w/Data_version)
DEFAULT_NAME = "Unnamed" # Default name given to schematics and regions if unspecified
LITEMAPY_NAME = "Litemapy" # Used to identify schematic created with Litemapy in metadata
LITEMAPY_VERSION = "0.8.1b0" # Unique version string
LITEMAPY_VERSION = "0.9.0b0" # Unique version string

0 comments on commit 9d5f552

Please sign in to comment.