Lucee 7.0.0.165-BETA

The Lucee Team is proud to announce our first Lucee 7 beta

Lucee 7 is Jakarta based

Lucee 7 is Jakarta based, therefore, so Tomcat 9.0 will work, but requires the Jakarta jars to be added.

A new Lucee 6.2 install using Tomcat 10.1 or 11 will be just fine for an in place upgrade.

Generally speaking, it’s good to start with a fresh install, to avoid problems

What’s New?

https://download.lucee.org/changelog/?version=7.0

Breaking Changes

Sprint Board

https://luceeserver.atlassian.net/jira/software/c/projects/LDEV/boards/53?sprint=73&sprints=73

As usual during the BETA / RC stage, more recent snapshots probably will work better, address problems

Commandbox

The latest Commandbox 6.20 supports Jakarta, but CFCONFIG doesn’t support Lucee 7 just yet,

The first working* version is 7.0.0.169-SNAPSHOT or box server start cfengine=lucee@be (the beta will not work via commandbox)

  • working meaning Commandbox 6.2 without cfconfig installed

https://ortussolutions.atlassian.net/browse/CFCONFIG-65

https://luceeserver.atlassian.net/browse/LDEV-5451

Workaround: simply uninstall cfconfig from commandbox to test

uninstall commandbox-cfconfig --system

Docker

Docker images are now being published, thanks to @GuustNieuwenhuis for flagging they were missing!

5 Likes

For ease of deployment and minimise confusion, can you create an Ollama class or rename the OpenAI class to something more generic?

I can see a lot people using ollama than openAI as now data processing agreements and other relationship agreements now prohibit use of AI near govt or large corporate datasets, or leased datasets.

Could also be great to have some docs about language models to show nubes the best ones to use for cfml or javascript code like qwen2.5-coder, codellama, starcoder2 codegemaa, and sqlcoder for sql queries

Given the other providers have adopted the OpenAI API, that’s why it’s called the Open AI, I think the admin makes that pretty clear?

As for some docs about which models are best for cfml, how about starting a new thread and it’s something the community can collaborate on.

@micstriit is very happy with chatgpt, but it would be good to get list of models and their pros and cons up on lucee docs.

I think meta’s llama3.1 from memory can even execute some cfml, but I can’t remember, it’s been a long release cycle, FIFO!

1 Like

Boo… This is gonna take a while for us to dig through and understand the implications. If different client/applications are less well separated, we need to figure out how that works for us.

Like, you can still have per-Application.cfc settings right ? And override server-wide defaults that way ?

I think we already have cgi.host_name in all our application names, so it should be largely seemless is my understanding ?

exactly

Cool. I think we shifted all our configs to Application.cfc years back.
We’ll have to redo our downstream Docker images for the new log locations.

And I’m not sure how to split them back out in AWS CloudWatch by hostname now…

Test, test, test :slight_smile:

Need to get on to the latest 6.x everywhere first !

if you are doing docker (or dev / debugging), this is great for log redirection !

https://luceeserver.atlassian.net/browse/LDEV-3420

As far as splitting the logs, if you output all the logs to the console (one of the new options in 6.2), your docker/k8 container should automatically slap the hostname or container name on it for you. It should be a lot less work to transport it to Cloudwatch or any other logging instance.

Yeah, it’s easier in a way, but we’ve kinda got used to having a file per host, so we can aggregate into CloudWatch by just taking the path to the file and using as part of the log group name.

So ../.../applicationname/clientname/application.log with then log streams per instance (we have a cluster of servers)

Now we’ll just have ../.../applicationname/application.log, steams per instance, with all the “clientname” (aka application scope name aka cgi.host_name) all mixed in.

There’s probably a way to configure the CloudWatch Logs Agent to restore the old path. Cross that when come to it !

Lucee 7 is now on trycf, running the latest 7.0.0.196-SNAPSHOT

2 Likes

@Brad_Wood has just updated commandbox cfconfig with support for Lucee 7

box update commmandbox-cfconfig --force

1 Like