Created 23rd September, 2019 03:05 (UTC), last edited 23rd September, 2019 03:42 (UTC)
All of the code has now been moved to a new home on GitHub and a couple of the libraries have had their names tweaked. Because of the way GitHub works this should be a completely transparent change.
Applications have for a while been able to use JSON as the configuration format. The problem with JSON for this is that it has very strict format requirements. Now the configuration files use a new “sloppy” JSON parser that allows commas anywhere that whitespace is allowed and also supports C/C++ style comments.
Fostgres will now always trim whitespace from strings before trying to insert them into the database. This should help with some consistency problems. If you don't want to trim the data then put
"trim": false into the column configuration.
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.19.09.45082 --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
- threading — Preview of the first Fost 5 library which includes help for threading — email@example.com:hotkit/threading.git
Detailed change log
- Fix a bug in the string slice operations that could cause undefined behaviour when used with
- Add sloppy json parser.
- Add trim function for
minit will now always try to execute, even if it is not needed.
- Add a way to stop a web server instance.
- Joining an empty fragment does not give the same result as joining a missing fragment.
- Add array insert support.
- Add Fost-Request-ID in every request and response
- Add a return for status condition control when an if condition fails without else condition
- Made implementation compatible with future changes to string APIs.
- Add schema check before insert/update into database and refactor datum for consistent trim
- GET requests that don't check the body content now return the response body.
- JWTs may be placed in cookies and decoded from there.
- Add support for password hashing process in an array