Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Beaker 0.7.2

Compare
Choose a tag to compare
@pfrazee pfrazee released this 05 Jun 16:20
· 6335 commits to master since this release

πŸ“ Self-mutating websites

Beaker now allows applications to modify their own files using the DatArchive API. This enables a model for simple, self-contained web apps such as wikis and todo lists. This decision is part of an ongoing security discussion. We'll blog about this soon.

πŸ—‘ Dat Garbage Collector

This is something you probably thought Beaker already did. Surprise! We just got around to it.

As you browse Dat sites, you collect a cache of files which stay on your disk so that reloads are fast. The "Garbage Collector" clears out those cache files after 5 days of no access. The collector does not delete files of dats that the user has saved to their library.

πŸ‘† Dat picker API

Thanks to @taravancil we now have an API for selecting an archive from the user's library, using a modal dialog. Think of this like the file-picker, for Dat archives. It includes the ability to create a new archive, if the user chooses.

Example usecase: a text editor would use this API to prompt the user for the Dat they want to edit.

var archive = await DatArchive.selectArchive({
  title: "Select an archive",
  buttonLabel: "Submit",
  filters: {isOwner: true}
})

screen shot 2017-06-04 at 1 11 31 pm

screen shot 2017-06-04 at 1 11 55 pm

✨ Fixes and smaller updates

  • UI improvements to the Library page
  • Fix: Don't let the permissions prompt cause Dat API operations to timeout (#496)
  • Add support for HTTP sites in beaker://view-source (#493)
  • Add bulk delete to the library (#479)
  • Fix: Handle publishing large files without UI errors (#476)
  • Slugify folder names in the ~/Sites directory (#477)
  • Track the staging-area size less ignored files (#471)
  • Add support for HTTP Basic Auth (#475)