- Fix Package.swift manifest
- Update Package.swift manifest
- Make vals dictionary retrievable from Jar.Context so it can be used in compatibility code with other encoding systems like Codable.
- Xcode 13.0 compatibility
- Xcode 12.4 compatibility
- Enable Swift 5.1 compatibility.
- Made the
description
ofLiftError
more useful by adding themessage
field.
- Linting
- Fixed a bug with forwarding the jar context when using some combinations of nested containers.
- Added support for Swift 4.1 conditional conformance by making
Optional
,Array
andDictionary
to optionally conform toJarElement
. - Conditional conformance makes it easier to build nested jars without explicitly creating jars:
- Previously
let jar: Jar = ["optional": Jar(optional), "array": Jar(array)]
can now be written as:let jar: Jar = ["optional": optional, "array": array]
. - Removed all versions of
Jar
' smap()
methods as these do not play well with the adding of conditional conformances and you can easily get the same functionally without them.
This is the first public release of the Lift library.