Skip to content

Releases: MysteryBlokHed/databind

Databind 0.7.1

01 Sep 23:08
295107e
Compare
Choose a tag to compare

A small fix to the Cargo.toml documentation link

Documentation is available on Read The Docs.

To install the latest version of Databind, run cargo install databind --locked.
To install the latest patch of Databind 0.7, run cargo install databind --version ~0.7 --locked.
To install Databind 0.7.1, run cargo install databind --version 0.7.1 --locked.
Alternatively, download one of the attached binaries.

Fixed

  • Fixed an old documentation link in the Cargo.toml

Databind 0.7.0

01 Sep 22:54
292f641
Compare
Choose a tag to compare

Some quality of life changes to the CLI and a new public library for other Rust devs to use

Documentation is available on Read The Docs.

To install the latest version of Databind, run cargo install databind --locked.
To install the latest patch of Databind 0.7, run cargo install databind --version ~0.7 --locked.
To install Databind 0.7.0, run cargo install databind --version 0.7.0 --locked.
Alternatively, download one of the attached binaries.

Added

  • Added filenames and line/column numbers to error messages (#128)
  • Added new functions to the public library (#132)

Changed

  • Converted the project into a Rust library with a binary, allowing Rust devs to make their own frontend for Databind (#130)
  • Changed cargo commands to use --locked flag to make sure the lockfile is enforced (#134)
  • Made the CLI use the public library instead of modules and use crate:: (#132)
  • Changed structure of src/ directory to separate CLI and library files (#132)

Databind 0.6.4

19 Aug 23:18
feeda62
Compare
Choose a tag to compare

A few bug fixes related to scoreboard player operations

Documentation is available on Read The Docs.

To install the latest version of Databind, run cargo install databind.
To install the latest patch of Databind 0.6, run cargo install databind --version ~0.6.
To install Databind 0.6.4, run cargo install databind --version 0.6.4.
Alternatively, download one of the attached binaries.

Fixed

  • Fix the sbop keyword not outputting valid code (#125)
  • Fix the modulus operator for scoreboard player operations (%=) being replaced with an assignment operator (=) (#124)

Databind 0.6.3

12 Aug 19:37
dfde44c
Compare
Choose a tag to compare

A bug fix with macro calls and some changes to integration tests and the compiler output

Documentation is available on Read The Docs.

To install the latest version of Databind, run cargo install databind.
To install the latest patch of Databind 0.6, run cargo install databind --version ~0.6.
To install Databind 0.6.3, run cargo install databind --version 0.6.3.
Alternatively, download one of the attached binaries.

Core changes

  • Fix a stack overflow caused by escaping double quotes in macro calls (#115)

Test changes

  • Make tests properly use --release flag (#119)

Other changes

  • Update empty lines replace in compiler (#116)

Databind 0.6.2

11 Aug 00:12
ccb60e6
Compare
Choose a tag to compare

A bug fix mainly affecting Windows users and some tweaks to other parts of the repository

Documentation is available on Read The Docs.

To install the latest version of Databind, run cargo install databind.
To install the latest patch of Databind 0.6, run cargo install databind --version ~0.6.
To install Databind 0.6.2, run cargo install databind --version 0.6.2.
Alternatively, download one of the attached binaries.

Core changes

  • Fix NewLine token not being added with CRLF line endings (#110)

Other changes

  • Change Cargo.toml exclude to include (#113)
  • Update paths that trigger Build And Run workflow (#114)

Databind 0.6.1

09 Aug 00:00
9ff3557
Compare
Choose a tag to compare

Some very small docs/workflow updates

Documentation is available on Read The Docs.

To install the latest patch of Databind 0.6, run cargo install databind --version ~0.6.
To install Databind 0.6.1, run cargo install databind --version 0.6.1.
To install the latest version of Databind, run cargo install databind.
Alternatively, download one of the attached binaries.

Documentation changes

Other changes

  • Remove an unneeded condition from release.yaml (ad5c62e)
  • Update docs link in Cargo.toml (44e563a)

Databind 0.6.0

03 Aug 14:22
e2f8ace
Compare
Choose a tag to compare

🎉Major additions to the language in the form of macros and if statements!

Documentation is available on Read The Docs.

To install the latest patch of Databind 0.6, run cargo install databind --version ~0.6.
To install Databind 0.6.0, run cargo install databind --version 0.6.0.
To install the latest version of Databind, run cargo install databind.
Alternatively, download one of the attached binaries.

Changes

  • Add macros to allow complex functions in Databind (#78, #97, #100, #106) (See docs for more info)
  • Add if/else statements (#84) (See docs for more info)
  • Add a file to define global variables (#92, #105) (see docs for more info)
  • Add functionality to merge function tags defined in JSON files with Databind function tags (#102)
  • Removed !def (Replaced by macros) (#78)
  • Add a page with Folder Structure info to docs (#80)
  • Fix some lines missing newlines at the end (#78)

Databind 0.5.0

18 Jul 13:23
3c03650
Compare
Choose a tag to compare

Bug fixes and some new features.

Documentation is available on Read The Docs.

To install the latest patch of Databind 0.5, run cargo install databind --version ~0.5.
To install Databind 0.5.0, run cargo install databind --version 0.5.0.
To install the latest version of Databind, run cargo install databind.

Alternatively, download one of the attached binaries.

Changes

  • Fix a bug with while loops (#61)
  • Change both keywords endfunc and endwhile to end (#61)
  • Add % character to escape keywords (#68)
  • Change docs formatting to add indentation inside functions and while loops (#63)
  • Fix multiple !def's not working (#66)

Databind 0.4.0

01 Jul 23:48
Compare
Choose a tag to compare

Significant changes to the syntax.

Documentation is available on Read The Docs.

To install Databind 0.4.0, run cargo install --version 0.4.0 databind.
To install the latest version of Databind, run cargo install databind.
Alternatively, download one of the attached binaries.

Changes

  • Remove preceding : from all keywords
  • Rewrite tokenizer

v0.3.0

26 Jun 19:28
Compare
Choose a tag to compare

Release v0.3.0 of Databind.
Fixes some more bugs and adds new features.

Documentation is available on Read The Docs.

To install Databind v0.3.0, run cargo install --version 0.3.0 databind.
To install the latest version of Databind, run cargo install databind.
Alternatively, download one of the attached binaries.

Changes

  • Fix the only allowed assignment operator for objectives being =
  • Allow integers to be negative (previously weren't allowed because of add/remove, but set can take negatives)
  • Add shorthand to delete variables/objectives (:delvar or :delobj)
  • Add shorthand for scoreboard operations (:sbop and :gvar)
  • Change :sobj syntax
  • Remove unmaintained random_var_names and var_display_names settings