Telosys news
WebsiteTwitterLinkedInDocumentation
  • Telosys news
  • Version 4.2.0 (2024-November)
  • Version 4.1.1 (2024-January)
  • Version 4.1.0 (2023-August)
    • Model
    • Templates
    • Target languages
    • Model from database
    • Telosys-CLI
  • Version 4.0.0 (2022-April)
  • Version 3.3.0 (2021-July )
    • DSL model annotations
    • DSL model "Tags"
    • Templates features
    • Templates objects
Powered by GitBook
On this page
  • Models
  • Templates
  • Databases

Version 4.0.0 (2022-April)

PreviousTelosys-CLINextVersion 3.3.0 (2021-July )

Last updated 1 year ago

Version 4.0.0 (2022, April) is a major release with many important changes.

The DSL model has been improved (with a new parser) and is now the unique model for Telosys.

For now version 4.0.0 is only available with Telosys-CLI

Models

Since version 4.0.0 there is only one type of model: the DSL model.

The DSL model has been enhanced to support all functionality previously available only in "db-model", thus the "db-model" is no longer useful.

Annotations and tags are now usable at entity level.

It is possible to create a new DSL model from a database schema (as for the previous "db-model")

The DSL model has a new structure: each model is completely contained in a directory. It is more convenient to exchange and store models.

See:

Many new annotations have been added to enrich the DSL model.

The DSL model offers now 55 annotations.

See:

Templates

New objects and functions have been added in the generator context to make it easier to write templates.

For example, a combination of new annotations and new functions simplifies SQL code generation.

Among others, here are some new objects usable in the templates: $sql, $reference, $factory

Databases

The databases are now defined in a ".yaml" file : "databases.yaml"

A "yaml" file is more convenient for editing, the yaml format being supported by most editors.

https://doc.telosys.org/dsl-model
https://doc.telosys.org/dsl-model/annotations