Utility to make building sync functions for Sync Gateway easier

Today’s release of synctos 1.8.0 is all about providing greater control over your documents’ attachments. Specifically:

  • limit the number of attachments that can be assigned to a single document
  • limit the file size of each individual attachment assigned to a single document
  • limit the total file size of all attachments assigned to a single document
  • restrict the file extensions that are allowed
  • restrict the content/MIME types that are allowed (e.g. “image/png”, “application/xml”, “text/plain”)
  • require each attachment to have a corresponding property of the attachmentReference validation type

The release also includes some minor behind-the-scenes refactoring that helps with documentation discoverability and keeping the project maintainable.

Remember to check out the change log and README for more information, including examples.