git.iko.soy/typeable/hjsonschema
on 0.8 help sign in
typeable/hjsonschema/changelog.txt
58 lines 1.6 kB history raw
1# 0.8
3+ Improve scope updating and resolving.
4+ Rename RawSchema's _rsObject field to _rsData.
5+ Make RawSchema's _rsURI field a Maybe. This way schemas without a starting
6URI can say so explicitly with Nothing instead of with "".
7+ Rename Graph to SchemaGraph. Declare it with data instead of type. Give it a
8field referencing the starting schema. This field is used to find the curent
9schema if no URI is in scope and a self-referencing $ref is found (e.g. "#").
10+ Change the order of the last two arguments to fetchReferencedSchemas.
12# 0.7.1
14+ Support GHC 7.8 again.
16# 0.7
18Change error type from Text to ValidationFailure.
20Revert the 0.6 changes to validate. Also switch from Vector
21to list. Validate is now:
22 Schema err -> Value -> [ValidationFailure err]
24Add fetchReferencedSchemas', which lets the user provide their
25own MonadIO function to be used when fetching schemas. This lets
26them do things like only fetch schemas from particular domains.
28# 0.6
30Break the API so the library doesn't induce boolean blindness.
32Change validate
33 was: Schema -> Value -> Vector ValErr
34 now: Schema -> Value -> Either (Vector ValErr) Value
36Change Schema
37 was: type Schema = Vector Validator
38 now: newtype Schema = Schema { _unSchema :: [Validator] }
40# 0.5.3
42+ Switch from http-conduit to http-client.
44# 0.5.2
46+ Add convenience function for validating and compiling draft 4 schemas
47simultaneously.
49# 0.5.1
51+ Switch from wreq to http-conduit; drop lens dependency.
53# 0.5
55+ Start changelog.
56+ Rename Utils.hs to Helpers.hs.
57+ Move all non-ValidatorGen functions in Validators.hs to Helpers.hs.
58+ Various touchups.