redbean is an open source webserver in a zip executable that runs on six operating systems. The basic idea is if you want to build a web app that runs anywhere, then you download the redbean.com file, put your .html and .lua files inside it using the zip command, and then you've got a hermetic app you can deploy and share.
- New
unix.mapshared()
api that lets you allocate memory that's shared between processes. It returns a module that has atomics and futexes. A demo script has been added that shows how it can be used to serialize a JSONGetPath()
hit counter to shared memory. - This release fixes a bug with the parsing of space / plus parameters in the Request-URI.
- Proof of concept of sqlite serialization (#436)
- Lua's
os.execute()
function will now use Cosmopolitan's builtin cocmd interpreter, which provides a subset of bourne shell features, with faster performance, and consistent behavior across unixes and windows. - Fix re.NOSUB memory error (#645)
- Update redbean api definitions (#652)
- Make HTTP message parsing a little faster
- Permit multiple certs with same common name
This is the first redbean release announcement that's been shared on GitHub. It only reflects the changes to redbean since 2.0.19. The web page for the 2.0.x release series is at https://redbean.dev/2.0.html which has links at the bottom to pages detailing older releases. For details on features and bug fixes that were introduced during the series over the past several months, please see the cosmo commit log.