• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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