git.iko.soy/typeable/hjsonschema
on 0.10.0.3 help sign in
typeable/hjsonschema/changelog.txt
87 lines 2.3 kB history raw
1# 0.10.0.3
3+ Bump http-client.
5# 0.10.0.2
7+ Enable GHC 8.
9# 0.10.0.1
11+ Fix .cabal file.
13# 0.10
15+ Rewrite fetching internals.
16+ Fix reference resolution defects, add more tests.
17+ Switch to a Perl style regex library, which is closer to ECMAScript regexes
18than the previous Posix style one.
19+ Add one-step validation functions ('fetchFilesystemAndValidate' and 'fetchHTTPAndValidate').
20+ Alias the validation failure type exported by 'Data.JsonSchema.Draft4' to
21'Invalid', change its field names.
23# 0.9
25+ Partial rewrite. The API of the library has changed, see the examples
26folder for how to use the new one.
28+ Users of the library can now write schemas in Haskell as well as JSON.
30# 0.8
32+ Improve scope updating and resolving.
33+ Rename RawSchema's _rsObject field to _rsData.
34+ Make RawSchema's _rsURI field a Maybe. This way schemas without a starting
35URI can say so explicitly with Nothing instead of with "".
36+ Rename Graph to SchemaGraph. Declare it with data instead of type. Give it a
37field referencing the starting schema. This field is used to find the curent
38schema if no URI is in scope and a self-referencing $ref is found (e.g. "#").
39+ Change the order of the last two arguments to fetchReferencedSchemas.
41# 0.7.1
43+ Support GHC 7.8 again.
45# 0.7
47Change error type from Text to ValidationFailure.
49Revert the 0.6 changes to validate. Also switch from Vector
50to list. Validate is now:
51 Schema err -> Value -> [ValidationFailure err]
53Add fetchReferencedSchemas', which lets the user provide their
54own MonadIO function to be used when fetching schemas. This lets
55them do things like only fetch schemas from particular domains.
57# 0.6
59Break the API so the library doesn't induce boolean blindness.
61Change validate
62 was: Schema -> Value -> Vector ValErr
63 now: Schema -> Value -> Either (Vector ValErr) Value
65Change Schema
66 was: type Schema = Vector Validator
67 now: newtype Schema = Schema { _unSchema :: [Validator] }
69# 0.5.3
71+ Switch from http-conduit to http-client.
73# 0.5.2
75+ Add convenience function for validating and compiling draft 4 schemas
76simultaneously.
78# 0.5.1
80+ Switch from wreq to http-conduit; drop lens dependency.
82# 0.5
84+ Start changelog.
85+ Rename Utils.hs to Helpers.hs.
86+ Move all non-ValidatorGen functions in Validators.hs to Helpers.hs.
87+ Various touchups.