Skip to content

Releases: fisxoj/sanity-clause

0.7.2: Hackin (#21)

31 Dec 16:18
c95c2a7
Compare
Choose a tag to compare
* Add another nested data test

* Make map fields work

* Hack so one-schema-of fields aren't always required

* Make list fields more flexible (but also more complicated)

* List fields should deserialized and validate but not get-value

* Fixup tests

* Version bump

* Docs

* Bump jdk version

* Make loadable schema allow transformation functions (like stringifying)

* Let list-field handle vectors

* make-validator -> ensure-validator

Allows functions or keyword specs and only hydrates the keyword
specs.  If it's already a function you can just use it as-is.

* Maybe fix a test?

* version bump

* Be more cautious about printing fields

* Update another class test initarg -> data-key

* ccl is stricter than sbcl it seems...

0.7.0: Bugfix/nested class protocol (#20)

04 Nov 02:54
869a693
Compare
Choose a tag to compare
* Typo in comment

* Use s-c:load everywhere, fix it to work with nested objects better

Also update tests

* Reorganize some exports

* Simplify a function call

* Remove unused collect-initargs-from-list

* Leave slots with missing, optional values unbound

* Version 0.7.0

* Update docs

0.6: Fix unexpected behavior with optional values (#19)

01 Nov 20:42
5691380
Compare
Choose a tag to compare
* Add hash-tables to sanity-clause.util:get-value

They're a major associative data structure and deserve to be there, too.

* Update readme

* Fix quote attribution
* Fix loadable schema function name
* A typo or two

* Make test descriptions for one-of fields clearer

Because I was confused about what they did, today.

* Reference `resolve` method correctly

Fixes some style warnings I hadn't noticed before

* Make classes use same protocol as plist schemas

This closes the loop on differences in behavior between the two types
of schemas, eg. allowing :missing values for non-required fields.

* Fix nested schemas/clarify limitations in docs

* Make license a real license

* Version bump

* Docs

* Use `resolve` from the protocol package

* Turns out, ccl is stricter about slot types than sbcl

0.5.1

08 Oct 22:37
c3c60ce
Compare
Choose a tag to compare
Finalize nested fields (#17)

0.5.0: Nested schemas (#10)

02 Sep 00:31
d9e4d6d
Compare
Choose a tag to compare
* Fix a lot of things related to nested schemas

* Update documentation

Fixes #7

* Update travis config

* do-key-values

* Tremendous refactoring

* Finish implementing one-field-of fields

* DOCS

* Fix omission in function renaming

Version 0.3.0

18 Nov 22:54
873c34c
Compare
Choose a tag to compare
Feature: declarative schemas (#3)

* Add test system to sanity-clause.asd

* Add schema-spec loader

* Bump version to 0.2.0

* Update docs for schema specs