Skip to content

Commit

Permalink
modgen 1.48.0, vscode 1.48.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gideruette committed Jun 25, 2024
1 parent 796334b commit bfdcc44
Show file tree
Hide file tree
Showing 23 changed files with 73 additions and 12 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# TopModel.Generator (`modgen`)

## 1.48.0


- [`78cd90`](https://github.com/klee-contrib/topmodel/commit/78cd90abbac03bd3359271034aa45d251803b2a2) - [JPA] Donner la possibilité de masquer l'annotation @Generated

- [`#197`](https://github.com/klee-contrib/topmodel/issues/197)[JPA] Supprimer la règle qui empêche de faire des associations dans des classes non persistées

- [`e8fd3`](https://github.com/klee-contrib/topmodel/commit/e8fd3bc3282b0012d86ebbb46dc966ee65a3e3fb) - [JPA] Ne générer le constructeur par défaut que si un autre constructeur est généré. Y ajouter un commentaire

- [`#359`](https://github.com/klee-contrib/topmodel/issues/359) - [SQL] Mode "séquence", ajouter l'information "owned by" : Fixes #

## 1.47.3

- [`161a4`](https://github.com/klee-contrib/topmodel/commit/9c55eba0bb81f8042c05f28958a29fe6f94f7884) - [JPA] Fix génération constructeur avec property
Expand Down
2 changes: 1 addition & 1 deletion TopModel.Generator/TopModel.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackAsTool>true</PackAsTool>
<PackageOutputPath>../.nupkg</PackageOutputPath>
<ToolCommandName>modgen</ToolCommandName>
<Version>1.47.3</Version>
<Version>1.48.0</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Authors>JabX;gideruette</Authors>
<Description>Générateur de modèle TopModel.</Description>
Expand Down
2 changes: 1 addition & 1 deletion TopModel.VSCode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "TopModel.VSCode",
"type": "git"
},
"version": "1.46.0",
"version": "1.48.0",
"engines": {
"vscode": "^1.84.1"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](./media/IconDark.svg)

# TopModel <small>1.47.3</small>
# TopModel <small>1.48.0</small>

> Modélisez en toute simplicité.
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/angular/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/csharp/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/database/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/focus/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/jpa/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/open-api/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/pg/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/php/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/ssdt/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
5 changes: 5 additions & 0 deletions samples/generators/translation/topmodel.config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,11 @@
"description": "Option pour générer des méthodes de suppression pour les associations oneToMany et manyToMany. Ces méthodes permettent de synchroniser les objets supprimés",
"default": "false"
},
"generatedHint": {
"type": "boolean",
"description": "Option pour générer l'annotation @Generated('TopModel : https://github.com/klee-contrib/topmodel')",
"default": "true"
},
"fieldsEnum": {
"type": "string",
"description": "Option pour générer une enum des champs des classes persistées",
Expand Down
2 changes: 1 addition & 1 deletion samples/model/angular.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/angular/src/appgenerated/api/securite/profil/profil.service.ts
- ../generators/angular/src/appgenerated/api/securite/utilisateur/utilisateur.service.ts
Expand Down
2 changes: 1 addition & 1 deletion samples/model/csharp.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/csharp/src/Clients/CSharp.Clients.Db/generated/CSharpDbContext.comments.cs
- ../generators/csharp/src/Clients/CSharp.Clients.Db/generated/CSharpDbContext.cs
Expand Down
2 changes: 1 addition & 1 deletion samples/model/focus.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/focus/src/locale/common.ts
- ../generators/focus/src/locale/securite.ts
Expand Down
2 changes: 1 addition & 1 deletion samples/model/jpa.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/api/client/securite/profil/ProfilClient.java
- ../generators/jpa/src/main/javagen/topmodel/jpa/sample/demo/api/client/securite/utilisateur/UtilisateurClient.java
Expand Down
2 changes: 1 addition & 1 deletion samples/model/pg.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/pg/src/01_tables.sql
- ../generators/pg/src/02_fk_indexes.sql
Expand Down
2 changes: 1 addition & 1 deletion samples/model/php.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/php/src/Entity/Securite/Profil/Droit.php
- ../generators/php/src/Entity/Securite/Profil/Profil.php
Expand Down
2 changes: 1 addition & 1 deletion samples/model/ssdt.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/ssdt/src/init/DROIT.insert.sql
- ../generators/ssdt/src/init/main.sql
Expand Down
2 changes: 1 addition & 1 deletion samples/model/translation.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.47.3
version: 1.48.0
generatedFiles:
- ../generators/translation/i18n/de_DE/out/common_de_DE.properties
- ../generators/translation/i18n/de_DE/out/securite_de_DE.properties
Expand Down
2 changes: 1 addition & 1 deletion samples/modgen.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@REM dotnet run --project ../TopModel.ModelGenerator -f net8.0
dotnet run --project ../TopModel.Generator -f net8.0
dotnet run --project ../TopModel.Generator -f net8.0 -s

0 comments on commit bfdcc44

Please sign in to comment.