git.iko.soy/typeable/hjsonschema
on 0.9.0.0 help sign in
typeable/hjsonschema/changelog.txt
65 lines 1.8 kB history raw
1# 0.9
3+ Partial rewrite. The API of the library has changed, see the examples
4folder for how to use the new one.
6+ Users of the library can now write schemas in Haskell as well as JSON.
8# 0.8
10+ Improve scope updating and resolving.
11+ Rename RawSchema's _rsObject field to _rsData.
12+ Make RawSchema's _rsURI field a Maybe. This way schemas without a starting
13URI can say so explicitly with Nothing instead of with "".
14+ Rename Graph to SchemaGraph. Declare it with data instead of type. Give it a
15field referencing the starting schema. This field is used to find the curent
16schema if no URI is in scope and a self-referencing $ref is found (e.g. "#").
17+ Change the order of the last two arguments to fetchReferencedSchemas.
19# 0.7.1
21+ Support GHC 7.8 again.
23# 0.7
25Change error type from Text to ValidationFailure.
27Revert the 0.6 changes to validate. Also switch from Vector
28to list. Validate is now:
29 Schema err -> Value -> [ValidationFailure err]
31Add fetchReferencedSchemas', which lets the user provide their
32own MonadIO function to be used when fetching schemas. This lets
33them do things like only fetch schemas from particular domains.
35# 0.6
37Break the API so the library doesn't induce boolean blindness.
39Change validate
40 was: Schema -> Value -> Vector ValErr
41 now: Schema -> Value -> Either (Vector ValErr) Value
43Change Schema
44 was: type Schema = Vector Validator
45 now: newtype Schema = Schema { _unSchema :: [Validator] }
47# 0.5.3
49+ Switch from http-conduit to http-client.
51# 0.5.2
53+ Add convenience function for validating and compiling draft 4 schemas
54simultaneously.
56# 0.5.1
58+ Switch from wreq to http-conduit; drop lens dependency.
60# 0.5
62+ Start changelog.
63+ Rename Utils.hs to Helpers.hs.
64+ Move all non-ValidatorGen functions in Validators.hs to Helpers.hs.
65+ Various touchups.