This build includes a brand new markdown pod based on the commonmark spec, along with GitHub flavored tables. Over time we will be reworking doc modules like docLang, etc from fandoc to this new API.
Console
There is a new util::Console API that can be used in several ways to unify console output:
output to Browser console with tree/table support
output to terminal via stdout (with jline installed you can query width/height)
wrap any output stream
SQL
Several sql pod changes related to Postgres support including:
We have also added a new sql::SqlConnPool class to provide out-of-the-box connection pooling.
Static Once Methods
You can now declare static once methods. This is the logical continuation of adding once methods to const classes per #2820.
Change Log
Build 1.0.81 (6 Dec 2024)
New markdown pod
New util::Console API
Rewrite fant in Fantom as new util::TestRunner class
Add dom::Storage.keys to iterate all keys
Add new SqlConnPool API
Add support for postgres TEXT[] type
Support for static once methods
StrBuf.addRange
Add double checked locking into ClassType.java reflect and finish
Add sql escape syntax for "@" and "\"
Deprecate old, undocumented sql escape syntax (This is a breaking change)
Add sql::Statement.executeBatch method
Add concurrent::ActorMsg
Add List/Map setNotNull
Fix PathEnv via fan.props to order path correctly
Unit db change sec and hr primary symbol to match Duration format
HenryFri 6 Dec
That new Console class seems interesting! Kudos to the team
SlimerDudeFri 6 Dec
Yeah, it's modelled after the JS Console API for browsers - it's really useful! Happy to have a Fantom version!
Thank you Fantom team!
brianFri 6 Dec
One thing I forgo to mention - this build is the last build where the old style JS APIs will receive new features. Starting in 1.0.82, new APIs will only be available in the new ES JavaScript implementation. However, we will ship with the old JS implementation for a while longer.
brian Fri 6 Dec
Markdown
This build includes a brand new markdown pod based on the commonmark spec, along with GitHub flavored tables. Over time we will be reworking doc modules like docLang, etc from fandoc to this new API.
Console
There is a new
util::Console
API that can be used in several ways to unify console output:SQL
Several sql pod changes related to Postgres support including:
TEXT[]
type@
works with escape sequencessql::Statement.executeBatch
We have also added a new
sql::SqlConnPool
class to provide out-of-the-box connection pooling.Static Once Methods
You can now declare
static once
methods. This is the logical continuation of addingonce
methods to const classes per #2820.Change Log
Build 1.0.81 (6 Dec 2024)
Henry Fri 6 Dec
That new Console class seems interesting! Kudos to the team
SlimerDude Fri 6 Dec
Yeah, it's modelled after the JS Console API for browsers - it's really useful! Happy to have a Fantom version!
Thank you Fantom team!
brian Fri 6 Dec
One thing I forgo to mention - this build is the last build where the old style JS APIs will receive new features. Starting in 1.0.82, new APIs will only be available in the new ES JavaScript implementation. However, we will ship with the old JS implementation for a while longer.
Gary Sat 7 Dec
Congrats!