Ff Notes Ron Versions Save

Haskell implementation of RON and RON-RDT

v0.5

5 years ago

Added

  • RON.UUID.liftName function to create name UUIDs in compile time.
  • RON.Util.ByteStringL type.
  • RON.Error module with unified pretty errors.
  • Organize Replicated, ReplicatedAsPayload, and ReplicatedAsObject in class hierarchy.
  • Add ORSet.removeValue and removeRef implementation.
  • Op "patterns" and patterns.

Removed

  • Type alias ObjectId since objects are identified by UUID.

Changed

  • Extracted ron-storage package.
  • Extracted ron-schema package.
  • Extracted ron-rdt package.
  • Switched from Either String a to MonadError String m => m a in failable procedures.
  • ORSet.addRef now adds item's frame, too.
  • ORSet.addNewRef now returns the reference to the freshly created object.
  • Change StateFrame key to UUID since objects are identified by UUID.
  • Renamed RawOp to ClosedOp according to the fresh spec.

Fixed

  • Error handling in Boole decoder.

v0.4

5 years ago

Added

  • Schema enum declaration.
  • docIdFromUuid.
  • OnDocumentChanged is called each time when any document is changed.

Changed

  • Made GHC 8.6 default.

Removed

  • Schema embedded DSL helpers: atomInteger, atomString, boole, char, field, option, orSet, rgaString, structLww, versionVector.

Fixed

  • RGA.edit bug with re-adding deleted items (#39).

v0.3

5 years ago

Added

  • Encode/decode EpochTime.
  • EDN-based schema DSL.

Removed

  • RON.Storage.createVersion from public API.
  • NFData instances.

v0.2

5 years ago

Added

  • Schema:
    • boole type
  • RON.Storage and submodules are moved from ff project.
  • RON.Schema is now re-exported via RON.Schema.TH.

Changed

  • Renamed UUID field "schema" to "version", according to changes in the specification.
  • RGA: sequential UUIDs on initialization.
  • Optimized Base64.isLetter.
  • Extend UUID.mkName to accept any monad.
  • Renamed MonadStorage methods list... -> get...
  • Renamed RON.Storage.saveDocument -> createDocument

Removed

  • RON.Storage.uuidToFileName as it has no sense as an abstraction
  • RON.Storage.IO.runStorageT with StorageT