Updated for 0.7.0 release

* travis: test against Nim stable
 * updated version number
 * updated changelog
This commit is contained in:
Felix Krause 2016-10-01 14:55:44 +02:00
parent 69c566cbd7
commit 7b53204027
4 changed files with 27 additions and 5 deletions

View File

@ -2,7 +2,7 @@
language: c language: c
env: env:
# Build and test against the master and devel branches of Nim # 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 - BRANCH=devel
compiler: compiler:
# Build and test using both gcc and clang # Build and test using both gcc and clang
@ -11,7 +11,7 @@ compiler:
matrix: matrix:
allow_failures: allow_failures:
# Ignore failures when building against the devel Nim branch # 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 fast_finish: true
install: 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 ### 0.6.3
Bugfixes: Bugfixes:

View File

@ -36,7 +36,7 @@ nim build # build a library
nim yamlTestSuite # execute YAML test suite (git-clones yaml-dev-kit) 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 ## License

View File

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