There is a new library now, Makham, which is at the moment a basic coroutines library offering asynchronous task execution with ties through futures to non-coroutine code. This sits on top of the coroutines TS and is currently only usable from Clang.
There has also been more progress towards being able to move to immutable shared strings and away from the old
fostlib::string interface, with more changes coming. A small change to the JSON parser has been shipped that gives a considerable performance boost (up to 30%) in some circumstances.
There is a new HTTP client library that supports testing through setting expectations which is part of the fost-internet library. Client code in the rest of the libraries will be migrated to it, which will improve testing capabilities for Fostgres and Odin.
Building on Linux & Mac
You should install Boost development packages using your package manager or brew to safe you from having to build them.
git clone --branch=5.20.03.45095 --recursive email@example.com:hotkit/fost-hello.git
cmake -G Ninja .. -DCMAKE_INSTALL_PREFIX=../dist
On the Mac you will need to set DYLD_LIBRARY_PATH before running
- fost-hello — Sample seed project — firstname.lastname@example.org:hotkit/fost-hello.git
- fost-meta — All libraries and applications in one wrapper — email@example.com:hotkit/fost-meta.git
- mengmon — Stand alone web server — firstname.lastname@example.org:hotkit/mengmom.git
- test-android — Android application that runs Fost unit tests — email@example.com:hotkit/test-android.git
- test-ios — iOS application that runs Fost unit tests — firstname.lastname@example.org:hotkit/test-ios.git
- wright — Experimental build system — email@example.com:hotkit/wright.git
- cord — First version of a new string library with compile time string and Unicode support — firstname.lastname@example.org:hotkit/cord.git
- fost-aws — Amazon AWS and OpenStack — email@example.com:hotkit/fost-aws.git
- fost-android-ndk — The native code for Android. Includes required parts of Boost configured to use the standard Android build system.
- fost-beanbag — Transactional JSON database — firstname.lastname@example.org:hotkit/fost-beanbag.git
- fost-base — Build system and core libraries — email@example.com:hotkit/fost-base.git
- fost-internet — Internet protocols, servers & clients — firstname.lastname@example.org:hotkit/fost-internet.git
- fost-postgres — PostgreSQL — email@example.com:hotkit/fost-postgres.git
- fost-web — Web server libraries — firstname.lastname@example.org:hotkit/fost-web.git
- fost-wright — Experiment in a build system — email@example.com:hotkit/fost-wright.git
- json-schema — JSON Schema validation — firstname.lastname@example.org:hotkit/json-schema.git
- makham — Coroutines — email@example.com:hotkit/makham.git
- threading — Preview of the first Fost 5 library which includes help for threading — firstname.lastname@example.org:hotkit/threading.git
Detailed change log
json can now be constructed from u16 literals.
- Coercion should now always work if the to type is constructible from the from type.
- Add conversions between
- Improve the
digester interface to take more string types.
json store the string directly rather than as a
shared_ptr. This is a breaking change on
- Add source file and line/column numbers to
- Improve the
jcursor API so it can mutate
json more efficiently.
-e (print arguments/environment) support from command line.
- Can now set exceptions as expected outcomes from the HTTP cache.
- Add high level user agent with test expectation support.
- Add middleware that can replace response text with fixed strings or setting values.
- Deprecate use of view instances.
- Add a reverse proxy view that allows for changes in request and response.
- Improve the display of test failures from
- Add sending of cookie values from
rm-path to test scripts so we can remove JSON from variable values.
- Test scripts can now have the view JSON directly in the GET, PUT etc. calls.
- allow link between two app user in odin.link.account
- Facebook and Google user with same email will merged as same user when register, and can login by both method
- Add support changing non app jwt to app jwt when renewing.
tsmap::alter added so a found member can be changed in-situ.
tsmap::add_if_not_found miss lambda can now mutate the found item.