Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Releases: jhipster/jhipster-core

Minor release: v3.4.0

07 Oct 09:13
Compare
Choose a tag to compare

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

15 Sep 11:03
Compare
Choose a tag to compare

Added support for MongoDB relationships (thanks to @ivangsa)
Fixed language regex (thanks to @ttoommbb)

Patch release: v3.3.2

15 Sep 11:05
Compare
Choose a tag to compare

The rememberMe and JWT keys are updated to match the generator's

Patch release: v3.3.1

02 Sep 16:16
Compare
Choose a tag to compare

Bug fixes:

  • Fixed DTO & service configuration in the JDL (#251), thanks @ruddell for finding it and filling an issue!

New:

  • NPM is now the new default for clientPackageManager (previously, yarn)

Minor release: v3.3.0

02 Sep 11:28
Compare
Choose a tag to compare

Added package-lock.json file

Minor release: v3.2

02 Sep 11:32
Compare
Choose a tag to compare

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

17 Jul 16:02
Compare
Choose a tag to compare

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 [] or languages [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 have required 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

13 Jun 04:48
Compare
Choose a tag to compare

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 as authenticationType option for the app generation

Patch release: v3.0.1

11 Jun 15:50
Compare
Choose a tag to compare

Bug fix

  • searchEngine is now set to false when excluding from the JDL (thanks to @Tcharl for this!)

Major release: v3.0.0

31 May 15:20
Compare
Choose a tag to compare

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.