All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.1.1 - 2023-06-28
- Fixed with Twist format being rejected
3.1.0 - 2023-06-27
- Added support for Twist
UseFormatType.FT_TWIST
for Twist decks
3.0.1 - 2023-06-05
- Fixed sideboardCards being required in deckDefinition
3.0.0 - 2023-06-05
- Added support for sideboards
DeckDefinition now accepts an optional sideboardCards paramter of the shape[dbfId, count, ownerDbfId]
- Added
DeckCard
type
UseDeckCard[]
overDeckList
in your code
2.2.1 - 2021-03-25
- Added support for the Classic format
UseFormatType.FT_CLASSIC
for decks in the classic format
2.1.0 - 2019-02-05
- Export FormatType constants
UseFormatType.FT_WILD
orFormatType.FT_STANDARD
in place of magical constants when checking a decks format
2.0.0 - 2018-02-09
- Added browser bundles
- Added ES module bundles
- Added Typescript typings
- Always return canonical deckstrings and deck definitions
A canonical deckstring/deck definition has all heroes and cards sorted by dbf id in ascending order
- Removed test code in npm package
1.1.0 - 2017-07-27
- Switched deckstrings.js to UMD build
1.0.1 - 2017-07-27
- Fixed unnecessary dependency
1.0.0 - 2017-07-27
- Hoisted builds using Rollup
0.2.0 - 2017-05-31
- Tests (using Mocha and Chai)
- encode: Skip counts with 0
- encode: Verify parameters more strictly
- decode: Fix invalid deckstring version message
0.1.1 - 2017-05-25
- Changelog (http://keepachangelog.com/)
- Fix a decoding bug