This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
Releases: jhipster/jhipster-core
Releases · jhipster/jhipster-core
Minor release: v3.4.0
What's new
- This project now uses NPM and not yarn
- Added the
unique
constraint - Used terser as minificator & uglifier (previously uglifly-webpack-plugin)
Bug fixes
- Quotes are now escaped properly in regex validations
- JWT and rememberMe keys are no longer set in the project (done in the generator)
- If an app is already generated, it keeps its values and only replaces the changed values
- 0 doesn't make the JDL constraint fail any longer
- Various fixes for JDL app generation:
- Made eureka the default choice for MS & GW apps
- Made eureka the default choice for uaa apps
- uaa apps now have false skipUserManagement
- The project's installation on windows works now
Patch release: v3.3.3
Patch release: v3.3.2
The rememberMe and JWT keys are updated to match the generator's
Patch release: v3.3.1
Minor release: v3.3.0
Added package-lock.json file
Minor release: v3.2
New
- Clarified error messages
- The JDLRelationship object now accepts strings for entity names (from & to)
- Now sets a default clientRootFolder value when in a microservice app (#252)
- (a basic) Prettier support has been added to the project
Deprecated
- AbstractJDLOption methods
- #addEntity & #ecludeEntity will be replaced by: #addEntityName & #excludeEntityName - The JDLRelationship will only accept string for entity names (from & to)
Minor release: v3.1.0
Bug fixes
- #239, Fixed error message and type check per application
- When declaring arrays in the JDL (for languages, testFrameworks, etc.), braces didn't really work, this is fixed, the two possible syntaxes are
languages []
orlanguages [fr, en]
. braces are mandatory - Creating directories failed on windows
- Added the entities for each exported JDL application
- @ruddell fixed the relationships when not selecting injected fields
What's new
- The migration to chevrotain is finally over! Which gets us more control over the parsing system (and more tests, coverage, speed when developing features)
- Annotations for options are implemented:
@dto(mapstruct)
@service(serviceClass)
entity A
- The
jhipsterVersion
property for applications is deprecated and will be removed in the next major release - When exporting entities to JDL, the table name is now only exported as long as it's not the same as the entity name
- #242, required relationships from/to the same entity are forbidden
- #243, constrained the use of
no
as database type (from the generator) - #244,
TextBlob
only haverequired
as constraint (from the generator) - API:
- The JDLObject now has loop methods over entities, applications etc.
Huge thanks to @bd82 for his tremendous help proposing the migration and getting it done!
Patch release v3.0.2
What's new
- Injected fields are now optional, so having this:
relationship XYZ { A to B }
is possible from now on. - App options in the JDL
testFrameworks
,langauges
don't require braces around anymore (optional)
Bug fixes
oauth2
is now possible asauthenticationType
option for the app generation
Patch release: v3.0.1
Bug fix
searchEngine
is now set tofalse
when excluding from the JDL (thanks to @Tcharl for this!)
Major release: v3.0.0
Breaking changes
JDLObject#hasOption
has been removed (not used in the project)JDLReader::parse
has been removed (in favor of::parseFromConfigurationObject
- The entity and application exporters now return relevant informations:
- Application exporter: the exported application list
- Entity exporter: the exported entity list
- Set is no longer exposed (future removal will happen, maybe)
Bug fixes
- Fixed #60
- Application generation has been fixed
- Fixed the
skipUserManagement
option - The
databaseType
is no longer needed in the DocumentParser (caused an issue when parsing applications) - Having DTOs without services is now forbidden
- Using
no
as database type now works - Different jpaMetamodelFiltering values are now detected when checking for entity equality
New things
- The class JDLImporter has been developed so as not to use the other ones (DocumentParser, JHipsterEntityExporter, etc.) directly. It has been created to be used in the import-jdl subgen, without having to use other classes.
- MySQL 8 reserved keywords are in
- The business checks are now done in a special class (BusinessErrorChecker) instead of doing them just after the JDL is parsed
As a side note, there are no longer react reserved keywords.