The JHipster Mini-Book v4.0 was released almost a month ago. Since then, I've released v4.1.0 to fix a leftover AngularJS code issue. Last weekend, I created a new version — v4.1.1 — to correct issues in the printed (via Lulu) version. Below is the changelog for this release.
- Changed Angular to AngularJS in preface since it's telling the history of how I came to know JHipster.
- Added paragraph to preface explaining that this is the 3rd edition of the book.
- Reduced colors in printable versions so it looks better.
- Added
[source%autofit]to many code listings to turn off line wrapping. - Changed from screenshot of
yo jhipsterto console text for print PDF.
You can download v4.1.1 from InfoQ.
Below is an example of how the last two items work. This code renders an image in the downloadable PDF and text in the printable PDF.
[source]
----
yo jhipster
----
ifeval::["{media}" != "prepress"]
After running this command, I was prompted to answer questions about how I wanted my application to be generated. You can see the choices I made in the following screenshot.
[[img-generating-21points]]
.Generating the application
image::chapter2/generating-21points.png[Generating the application, 1442, scaledwidth=100%]
endif::[]
ifeval::["{media}" == "prepress"]
After running this command, I was prompted to answer questions about how I wanted my application to be generated. You can see the choices I made from my answers below.
[source%autofit]
----
$ yo jhipster
...
https://jhipster.github.io
Welcome to the JHipster Generator v4.5.2
Documentation for creating an application: https://jhipster.github.io/creating-an-app/
Application files will be generated in folder: /Users/mraible/dev/21-points
? (1/16) Which *type* of application would you like to create? Monolithic application
? (2/16) What is the base name of your application? TwentyOnePoints
? (3/16) Would you like to install other generators from the JHipster Marketplace? No
? (4/16) What is your default Java package name? org.jhipster.health
? (5/16) Do you want to use the JHipster Registry ... ? No
? (6/16) Which *type* of authentication would you like to use? JWT authentication
? (7/16) Which *type* of database would you like to use? SQL
? (8/16) Which *production* database would you like to use? PostgreSQL
? (9/16) Which *development* database would you like to use? H2 with disk-based persistence
? (10/16) Do you want to use Hibernate 2nd level cache? Yes, with ehcache
? (11/16) Would you like to use Maven or Gradle for building the backend? Gradle
? (12/16) Which other technologies would you like to use? Search engine using Elasticsearch
? (13/16) Which *Framework* would you like to use for the client? [BETA] Angular 4
? (14/16) Would you like to use the LibSass stylesheet preprocessor for your CSS? Yes
? (15/16) Would you like to enable internationalization support? Yes
? Please choose the native language of the application? English
? Please choose additional languages to install French
? (16/16) Besides JUnit and Karma, which testing frameworks would you like to use?
Gatling, Protractor
Installing languages: en, fr
create package.json
create README.md
...
----
endif::[]
The reason for this is console screenshots with a black background don't show up well in the printed version.
I've also updated the InfoQ Mini-Book template project with these changes. Hope you enjoy!