• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Chevereto v4.0.0.beta.2

Status
Not open for further replies.

Rodolfo

⭐ Chevereto Godlike
Chevereto Staff
Administrator

4.0.0.beta.2

2021-10-28
  • Added app/bin/legacy console (deprecates ./cli.php)
  • Added Config instance
  • Added immutable variable instances
  • Implemented .env configuration standard
  • Re-structured application constants
  • Renamed sdk/pup.js to sdk/pup.min.js
  • Updated .ecs project
 
🎉 V4.0.0.beta.2 brings support for any server as it can be configured using a .env (dotenv) file. This becomes handy for all these who can't provide the environment variables using the server-aware methods. You can now use a .env file in the root of the project with the following contents:

Code:
CHEVERETO_DB_DRIVER=mysql
CHEVERETO_DB_HOST=database
CHEVERETO_DB_NAME=chevereto
CHEVERETO_DB_PASS=user_database_password
CHEVERETO_DB_PDO_ATTRS='[]'
CHEVERETO_DB_PORT=3306
CHEVERETO_DB_TABLE_PREFIX=chv_
CHEVERETO_DB_USER=chevereto

Note: Env variables configured at .env won't override environment if it has been previously declared at server level.

You can review all the available keys at the .env.example file.
 
👾 V4.0.0.beta.2 deprecates ./cli.php and now the legacy console is at app/bin/legacy. This has been made to prepare the provisioning of multiple consoles and separating the old V3.X console from the new one at V4's.
 
🛸 V4.0.0.beta.2 implements immutable for both Config and System variables. The only mutable variables are now session and cookie, everything else is immutable enabling better abstraction and a safer execution context.
 
👏 V4.0.0.beta.2 deprecates sdk/pup.dev.js and now it will be sdk/pup.js and sdk/pup.min.js. This release also renames all these G_ and CHV_ constants in favor a common standard. In this release we also updated the .ecs (EasyCodingStandard) project settings.
 
Status
Not open for further replies.
Back
Top