Changelog, versions 1.x.x
[1.18.1] - 2020-10-31
Changed
-
github migration:
-
all project repositories moved to github, including documentation related subprojects (
antora-ui
,antora-playbook
,docs-site
,boilerplate
): see RosaeNLG organization on Github -
dictionary.zip
storage forgerman-pos-dict
instead ofdictionary.dump
, which was too large for github -
github worklows generated using
gulp workflows
-
-
docker registry moved from
registry.gitlab.com
tohub.docker.com
for cli, node.js server images and java server images
[1.18.0] - 2020-10-23
Changed
-
license change to Apache 2.0:
-
most original packages switch to Apache 2.0 license
-
packages derived from original Pug packages
rosaenlg-pug-…
remain under MIT -
other packages that are forks from MIT packages remain under MIT as well:
english-ordinals
,rosaenlg-gender-es
,rosaenlg-pluralize-es
-
-
documentation in separate module
rosaenlg-doc
-
updated logo (font is Soft Elegance)
[1.16.6] - 2020-07-17
[1.16.2] - 2020-07-04
[1.16.0] - 2020-06-12
Added
-
on both node.js and Lambda API:
-
/templates/version
to get the current RosaeNLG version deployed -
accepts JWT token for authorisation
-
[1.15.1] - 2020-05-08
Added
-
numerous tags now accept lists parameters instead of a single element, and will choose one randomly; use that feature instead of an embedded
syn_fct
call:-
agreeAdj
andsubjectVerbAdj
now accept a list of adjectives -
value
accepts a list of elements as first parameter -
verb
,subjectVerb
andsubjectVerbAdj
as well for the subject -
verb
,subjectVerb
andsubjectVerbAdj
as well for the verb
-
-
noSubject
flag onsubjectVerb
andsubjectVerbAdj
mixins to silent the subject
[1.15.0] - 2020-05-05
Added
-
Spanish support: verbs, words (gender, plural), adjectives, determiners
-
SEP_BEFORE
andSEP_AFTER
to provide separators when multiple adjectives; is practical to override default, e.g.value('árbol', { det:'DEFINITE', adj:{BEFORE:['primero', 'grande'], SEP_BEFORE:''} })
will generate el primer gran árbol
Fixed
-
bug in
BEFORE
adjective list:value('homme', {det:'INDEFINITE', adj: { BEFORE:['vieux'] } })
now produces un vieil homme -
bug in Lambda functions: forced embedded resources (in compile options) were ignored
-
bug in
browser-ide-demo
: JSON export was wrong (templateId
insrc
and not a top level element) -
bug in
french-adjectives
when adjective was placed before noun and plural: generatedvieil alsaciens
instead ofvieux alsaciens
Changed
-
removed
substantive
mixin: usevalue
instead withnumber
param, see Value for Nominal Groups -
english-ordinals
is now a separate module -
pluralize-fr
removed from tiny runtime (automatically embeds a list of words with their plural instead) -
french-adjectives
is not embedded no more in tiny version (using lists instead) -
doc organization for verb and value mixins
[1.14.0] - 2020-04-05
[1.13.0] - 2020-03-29
Added
-
ability to include raw js files (e.g.
include somejs.js
), which is handy to be able to both lint and package these files in a json package
Changed
-
gulp-rosaenlg now automatically includes all files to be included by reading the templates content
-
as a consequence, in the
packageTemplateJson
function:-
folderWithTemplates
is removed -
entryTemplate
must now also contain the path
-
[1.12.0] - 2020-03-16
Added
-
(almost) ready to deploy Lambda functions for AWS
-
common content for
rosaenlg-node-server
androsaenlg-lambda
in separate packagerosaenlg-server-toolkit
-
tested (successfully) on different Node.js versions, see here
[1.10.2] - 2020-02-26
Added
-
(much) better Italian ordinal support (up to 1 millions) thanks to Marco Riva
-
in
value
, useagree
forORDINAL_TEXTUAL
init_IT
to have prima and not primo
[1.10.0] - 2020-02-18
[1.9.0] - 2020-02-10
Changed
-
more reliable
a
/an
filtering in English: use ofenglish-a-an
andenglish-a-an-list
instead ofcompromise
inrosaenlg-filter
-
more reliable Englisn plurals: use of
english-plurals
andenglish-plurals-list
instead ofcompromise
-
now using
n2words
for textual numbers in all languages, replacingwritten-number
for French,write-int
for German,compromise
for English anditalian-ordinals-cardinals
for Italian textual -
replaced
compromise
byn2words
+ custom code inspired by number-to-words for English ordinal numbers -
completely removed
compromise
lib
[1.8.1] - 2020-02-05
Added
-
en_US
:-
for verbs, replaced
comprise
lib withenglish-verbs
,english-verbs-irregular
andenglish-verbs-gerunds
-
12 standard tenses are now available:
SIMPLE_PAST
,SIMPLE_PRESENT
,SIMPLE_FUTURE
,PROGRESSIVE_PAST
,PROGRESSIVE_PRESENT
,PROGRESSIVE_FUTURE
,PERFECT_PAST
,PERFECT_PRESENT
,PERFECT_FUTURE
,PERFECT_PROGRESSIVE_PAST
,PERFECT_PROGRESSIVE_PRESENT
,PERFECT_PROGRESSIVE_FUTURE
-
[1.7.0] - 2020-01-20
Added
-
rosaenlg-node-server
is now more ready to use on a cluster:-
ROSAENLG_LAZY_STARTUP
: env variable, if set it prevents loading saved templates at startup (they will be loaded when needed only) -
ROSAENLG_FORGET_TEMPLATES
: env variable, if set to true loaded templates will be forgotten after a while (and reloaded when needed)
-
[1.6.0] - 2020-01-11
Added
-
rosaenlg-node-server
:-
S3 support for persistence
-
ability to put a user in the request, and have separate environments
-
/health
path -
time elapsed (performance) in the response and in the logging
-
static swagger published here
-
[1.5.8] - 2020-01-06
Fixed
-
rosaenlg-node-server
: when using persistent templates, templates were not reloaded when server was restarted
Changed
-
rosaenlg-node-server
: http codes are now more precise; like in Return 404 instead of 500 when template does not exist -
rosaenlg-node-server
:reload
now usesPUT
http method, and notGET
no more
[1.5.5] - 2019-12-13
[1.5.4] - 2019-12-04
Added
-
new additional independant module content-deduplicate; it is not used by RosaeNLG while rendering texts but you can use it afterwards to assess the quality of your texts
[1.5.3] - 2019-11-24
Added
-
list of standard stop words in the documentation
-
Developer experience documentation
-
with CLI, templates can now be rendered in stdout (not systematically in a file)
-
examples of templates showing the added value of a Natural Language Generator compared to a plain template engine like Pug
[1.5.2] - 2019-11-18
Changed
-
docker images (command line interface and server) are not built through main CI and available here
-
browser-ide-demo
is now a package of the project
[1.3.2] - 2019-10-27
[1.3.0] - 2019-10-13
Added
-
fat js packaged version, with compilation ability on each language, to be used in GraalVM
[1.2.0] - 2019-10-12
Added
-
recordSaid
hasSaid
anddeleteSaid
existed to safely record booleans; now there isrecordValue
getValue
anddeleteValue
to safely record numbers or strings -
compare with CoreNLG in the documentation
[1.1.1] - 2019-10-09
Fixed
-
Dev dependancies security issues thanks to Snyk
-
More French contractions (j’ai, lorsqu’il, puisqu’elle, jusqu’à etc.) thanks to CoreNLG source code
[1.0.0] - 2019-09-10
Added
-
search engine available in RosaeNLG doc thanks to Algolia DocSearch (awesome product and support btw)