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.zipstorage forgerman-pos-dictinstead ofdictionary.dump, which was too large for github -
github worklows generated using
gulp workflows
-
-
docker registry moved from
registry.gitlab.comtohub.docker.comfor 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/versionto 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_fctcall:-
agreeAdjandsubjectVerbAdjnow accept a list of adjectives -
valueaccepts a list of elements as first parameter -
verb,subjectVerbandsubjectVerbAdjas well for the subject -
verb,subjectVerbandsubjectVerbAdjas well for the verb
-
-
noSubjectflag onsubjectVerbandsubjectVerbAdjmixins to silent the subject
[1.15.0] - 2020-05-05
Added
-
Spanish support: verbs, words (gender, plural), adjectives, determiners
-
SEP_BEFOREandSEP_AFTERto 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
BEFOREadjective 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 (templateIdinsrcand not a top level element) -
bug in
french-adjectiveswhen adjective was placed before noun and plural: generatedvieil alsaciensinstead ofvieux alsaciens
Changed
-
removed
substantivemixin: usevalueinstead withnumberparam, see Value for Nominal Groups -
english-ordinalsis now a separate module -
pluralize-frremoved from tiny runtime (automatically embeds a list of words with their plural instead) -
french-adjectivesis 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
packageTemplateJsonfunction:-
folderWithTemplatesis removed -
entryTemplatemust 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-serverandrosaenlg-lambdain 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, useagreeforORDINAL_TEXTUALinit_ITto have prima and not primo
[1.10.0] - 2020-02-18
[1.9.0] - 2020-02-10
Changed
-
more reliable
a/anfiltering in English: use ofenglish-a-anandenglish-a-an-listinstead ofcompromiseinrosaenlg-filter -
more reliable Englisn plurals: use of
english-pluralsandenglish-plurals-listinstead ofcompromise -
now using
n2wordsfor textual numbers in all languages, replacingwritten-numberfor French,write-intfor German,compromisefor English anditalian-ordinals-cardinalsfor Italian textual -
replaced
compromisebyn2words+ custom code inspired by number-to-words for English ordinal numbers -
completely removed
compromiselib
[1.8.1] - 2020-02-05
Added
-
en_US:-
for verbs, replaced
compriselib withenglish-verbs,english-verbs-irregularandenglish-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-serveris 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
-
/healthpath -
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:reloadnow usesPUThttp method, and notGETno 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-demois 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
-
recordSaidhasSaidanddeleteSaidexisted to safely record booleans; now there isrecordValuegetValueanddeleteValueto 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)