Skip to main content
Version: Next

Changelog

On this page are listed all the changes introduced in Gura specs (version 2.0.0).

From 1.0.0 ➞ 2.0.0

Literal Keys

Literal Keys were introduced in Keys section to provide portability with other configuration languages (related Github discussion).

Variables support all basic types

Booleans, empty and null values can now also be assigned as the value of a variable. This change was introduced because it adds value to the language without sacrificing simplicity.

Added a mechanism to make imports optional

Now Gura specs state that implementations must provide a way to disable imports. This change avoids errors or security problems on environments without filesystem access or that are sensitive. It has been proposed that such variables be disabled by default in the Developers documentation. Check the Imports section to learn more.

Added a mechanism to make ENV vars optional

For security reasons, it is possible to disable environment variables in Gura files in this new version. It has been proposed that such variables be disabled by default in the Developers documentation. Check the Variables section to learn more.

Changed behavior with invalid escaped sentences

Added InvalidEscapedCharacterError error in String section when used invalid escape sentences (related Github discussion).

New Developer section

Added a new Developers section listing some useful conventions, standards, tools and recommendations for developers working on a new parser, emitter or tokenizer for Gura.