- Added
datascript-schema-from-datomic-schema
- Switched from Boot to deps.edn
- Switching from Travis to CircleCI
- Improve error handling when an exception occurs while sampling.
- Allow
:gen-resize
to be passed as an option todatomic-schema
.
- If :db/valueType is explicitly passed in the extra schema attributes, we should force that value type and not throw any value type related exceptions. #16
- Handle
s/and
in the form parser.
- Call
spec->datomic-schema
within the(clojure.spec.alpha/coll-of clojure.spec.alpha/every)
case infind-type-via-form
to further increase performance.
- Call
spec->datomic-schema
withinfind-type-via-form
to further increase performance.
- Decrease schema generation time for some collections and maps by setting the type based on the Spec form.
- Include
:db/isComponent
in DataScript schema.
- The
datascript-schema
function was incorrectly dropping the:db/identity
values from maps.
- Compatibility with Clojure 1.9.0-beta4 by using
decimal?
instead ofbigdec?
.
- Updated to
[org.clojure/spec.alpha "0.1.143"]
.
- Removed
:db/valueType
from DataScript schema except when it is:db.type/ref
.
- Ensure generated schema can be transacted into Datomic and DataScript.
- Datomic free and DataScript as test level dependencies.
- Leftover reader conditional causing tests to fail.
- Move org.clojure/spec.alpha back to 0.1.123.
- Made
core.cljc
andspecs.cljc
.clj
files instead of.cljc
.
- Removed
datomic-schema
anddatascript-schema
macros. - Changed
datomic-schema*
anddatascript-schema*
todatomic-schema
anddatascript-schema
, respectively.
- The specs for
datomic-schema*
anddatascript-schema*
are now correct for the two arity case.
- API now expects specs to be passed in a vector
- Options map for API that can be passed a function to resolve custom types (resolves #5)
- Internal code structure