Merge branch 'devel' - *real* 0.7.0

This commit is contained in:
Felix Krause 2016-10-01 15:16:40 +02:00
commit 721632322b
4 changed files with 27 additions and 5 deletions

View File

@ -2,7 +2,7 @@
language: c
env:
# Build and test against the master and devel branches of Nim
#- BRANCH=master TODO! does not work currently, waiting for 0.15.0
- BRANCH=master
- BRANCH=devel
compiler:
# Build and test using both gcc and clang
@ -11,7 +11,7 @@ compiler:
matrix:
allow_failures:
# Ignore failures when building against the devel Nim branch
# - env: BRANCH=devel TODO! ignore those once stable Nim can build NimYAML
- env: BRANCH=devel
fast_finish: true
install:
- |

View File

@ -1,3 +1,25 @@
### 0.7.0
Features:
* Better handling of internal error messages
* Refactoring of low-level API:
* No more usage of first-class iterators (not supported for JS target)
* Added ability to directly use strings as input without stdlib's streams
(which are not available for JS)
* Added ability to parse octal and hexadecimal numbers
* Restructuring of API: now available as submodules of yaml. For backwards
compatibility, it is still possible to `import yaml`, which will import all
submodules
* Check for missing, duplicate and unknown fields when deserializing tuples and
objects
Bugfixes:
* Fixed double quotes inside plain scalar (#25)
* Return correct line content for errors if possible (#23)
* Some smaller lexer/parser fixes
### 0.6.3
Bugfixes:

View File

@ -36,7 +36,7 @@ nim build # build a library
nim yamlTestSuite # execute YAML test suite (git-clones yaml-dev-kit)
```
NimYAML needs at least Nim 0.14.0 in order to compile.
NimYAML needs at least Nim 0.15.0 in order to compile.
## License

View File

@ -1,10 +1,10 @@
# Package
version = "0.6.3"
version = "0.7.0"
author = "Felix Krause"
description = "YAML 1.2 implementation for Nim"
license = "MIT"
# Dependencies
requires "nim >= 0.14.0"
requires "nim >= 0.15.0"