4.2.0 (2021-07-19)
4.1.10 (2021-06-23)
4.1.9 (2021-06-17)
4.1.8 (2021-05-31)
4.1.7 (2021-04-06)
4.1.6 (2021-04-06)
4.1.5 (2021-04-06)
4.1.4 (2021-04-06)
4.1.3 (2021-04-06)
4.1.2 (2021-04-06)
- security: patch y18n dependency vulnerabilities (1fd4177)
4.1.1 (2021-04-01)
4.1.0 (2021-03-29)
4.0.2 (2021-03-16)
4.0.1 (2021-03-01)
4.0.0 (2021-02-23)
- remove merge error (aec7593)
- update: add lumber update command (#527) (d8f1eaf)
- authenticate without entering a password (#513) (fe8d8c3)
- ease multi-database setup by managing mongoose connection like sequelize (#490) (cf508cb)
- by default, the authentication process will redirect to a web page to validate a code.
4.0.0-beta.5 (2021-02-22)
- remove merge error (aec7593)
- view-list: fix bad records count in view list if the record details access is forbidden (#539) (1f6f6c7)
- fix tests for handle foreign key toward non primary key (#537) (0c2ee15)
- handle foreign key toward non primary key (#525) (e765af6)
- incorrect FOREST_URL generated in docker-compose.yml (#533) (9d3bf95)
- models: id primary keys on join tables are now considered and correctly added on generated models (#524) (50b25f8)
3.10.9 (2021-02-10)
- view-list: fix bad records count in view list if the record details access is forbidden (#539) (1f6f6c7)
3.10.8 (2021-01-13)
- fix tests for handle foreign key toward non primary key (#537) (0c2ee15)
- handle foreign key toward non primary key (#525) (e765af6)
4.0.0-beta.4 (2021-01-12)
3.10.7 (2021-01-07)
3.10.6 (2021-01-06)
- models: id primary keys on join tables are now considered and correctly added on generated models (#524) (50b25f8)
4.0.0-beta.3 (2021-01-06)
4.0.0-beta.2 (2021-01-05)
3.10.5 (2020-12-21)
4.0.0-beta.1 (2020-12-21)
- by default, the authentication process will redirect to a web page to validate a code.
3.10.4 (2020-12-01)
3.10.3 (2020-11-27)
3.10.2 (2020-11-26)
3.10.1 (2020-11-26)
3.10.0 (2020-11-12)
3.9.1 (2020-11-09)
- generate command could fail when analysing relations on MongoDB when having one or more views (#485) (517fe36)
3.9.0 (2020-11-02)
3.8.0 (2020-10-15)
3.7.2 (2020-09-24)
3.7.1 (2020-09-23)
3.7.0 (2020-09-21)
3.6.11 (2020-09-17)
3.6.10 (2020-09-16)
3.6.9 (2020-09-11)
3.6.8 (2020-08-14)
3.6.7 (2020-08-11)
3.6.6 (2020-08-03)
3.6.5 (2020-07-30)
3.6.4 (2020-07-13)
3.6.3 (2020-07-13)
- dumper: fix issue where project using nodejs v14 could never connect to postgres database (#450) (954ad30)
3.6.2 (2020-07-08)
3.6.1 (2020-07-07)
3.6.0 (2020-05-25)
- command-generate: support 'JSON' field type on installation (8cf952c)
3.5.6 (2020-05-15)
- command generate: fix an error on mssql database analysis with case sensitive collation (#432) (6520ab1)
3.5.5 (2020-05-12)
- generate: default configuration now works for users using Linux and a local database (#429) (176ebcf)
3.5.4 (2020-05-11)
- Technical - Add a Pull Requests template.
- Technical - Remove CI configuration warnings.
- Technical - Remove useless CI webhook.
- Technical - Move
to-valid-package-name
test to correct folder. - Readme - Update the community badge for Discourse.
- Technical - Introduce conventional commits.
- Technical - Make the CI lint the commit messages.
- Technical - Adapt release manager to conventional commits.
- Documentation - Update links in readme.
- Command Generate - Prevent files' content from being HTML escaped.
- Command Generate - Remove extraneous calls to Sequelize.literal in generated models.
- Command Generate - Fix issue where a conflict between regular fields and references alias could prevent the server from starting. 🛡
- Technical - Remove 5 unused dependencies (
expand-home-dir
,import-from
,jsonwebtoken
,minimist
,winston
).
- Documentation - Update documentation links to v6.
- Technical - Do not lint
test-expected
files. - Command Generate - Prevent error when table name is a JS reserved word.
- Command Generate - Add support for MySQL 8.
- Initialisation - Allow asynchronous middlewares (ie. Liana.init).
- Command Generate - Add "delete a list of …" in generated route file.
- Tests - Use MySQL 8.0 as the max supported MySQL version.
- Technical - Set the latest
forest-express
dependencies version (6.0) while generating a project.
- Command Generate - Fix error on project generation with database contain table with number as name.
- Command Generate - Fix allowed origin to only allow forestadmin domain and not domain finishing by forestadmin.
- Command Generate - Fix error on project generation when tables have references on table with non safe name.
- Security - Upgrade
acorn
dependencies to patch vulnerabilities.
- Technical - Use handlebars for all templates.
- Technical - Remove a useless template about the removed
update
command. - Technical - Remove a useless
gitkeep
file template.
- Models - Fix error in mongoose projects preventing models from being exported.
- Command Generate - Fix error on array type generation for PostgreSQL. 🛡
- Technical - Test on SQLServer 2017 and 2019.
- Technical - Test on postgres from 9.4 to 12.1.
- Technical - Reduce code complexity removing all SonarJS errors.
- Technical - Refactor docker services and containers names.
- Command Generate - Do not generate obsolete
bin
path. - Command Generate - Validate and fix the package name in
package.json
to prevent error on generated server startup. - Command Generate - Fix schema retrieval request with MySQL 5.6
- Command Generate - Generate MongoDB nested objects and subDocuments.
- Technical - Reorganize test utils/fixtures/expect folders.
- Technical - Set the latest
forest-express
dependencies version while generating a project. - Technical - Reorder in alphabetical order
options
insidedb-analysis-output
. - Command Generate - Now generate many to many relationships when we detect a table with 2 foreign keys and optionally technical timestamps.
- Technical - Fix test expect files extensions.
- Command Generate - Do not declare the "id" field on tables having a
BIGINT
"id" column as primary key. 🛡
- Readme - Add the test coverage badge.
- Technical - Add SonarJS linter for complexity issues.
- Technical - Do not lint uncommitted files.
- Command Generate - Ensure that generated project on MongoDB use the latest
mongoose
dependency version for security reasons. - Technical - Use Jest instead of Mocha for the test base.
- Command Generate - Use
alpine
as lighter base node Docker image for generated projects.
- Technical - Fix the missing dependencies in the
package.json
file of the generated project. - Technical - Fix the NPM package description.
- Command Generate - Prevent project creation with impossible liana login (if the database contains a "sessions" table).
- Command Generate - Generate MongoDB HasMany.
- Technical - Add tests on MSSQL databases.
- Command Generate - Detect hasOne, hasMany and belongsToMany SQL relationships.
- Templates - Replace unconventional
bin/www
script withserver.txt
. - Technical - Replace
package-lock.json
byyarn.lock
. - Technical - Use Yarn instead of NPM in the CI.
- Technical - Rename
.env.example
file. - Technical - Upgrade ESLint rules.
- SQLite support - Remove last bits of SQLite related code.
- Technical - Improve test code to make synchronous Sequelize connection close.
- Authentication - Updated warning message when the email is not well formatted.
- Command Generate - Remove the broken
no-db
option. - Technical - Improve tests consistency.
- Technical - Make the tests fast locally without CI test failures.
- Technical - Add more tests consistency.
- Technical - Reorganize analysis services.
- Technical - Add more tests on the dumper service.
- Technical - Add tests on the table constraints getter service.
- Command Generate - Better detection of belongsTo relationship based on foreign keys that also are primary keys.
- Technical - Use handlebars to generate models.
- MySQL - Handle BIT(1) boolean columns and handle the buffer<01> value returned on join queries.
- Technical - Fix unexpected test errors while running in the CI.
- Technical - Fix database connection pool issue on tests.
- Technical - Fix pre-commit hook when deleting a file.
- Custom Domain - Fix the CORS middleware to take CORS env variables into account.
- Technical - Fix bad database connection url for some PostgreSQL tests.
- Fields Detection - Fix MySQL and MSSQL boolean columns default values generated in models files.
- Command Generate - Fix indentation (from 4 to 2 spaces) in collection files.
- Command Generate - Remove an unused dependency in "forestadmin" middleware.
- Docker - Fix the docker-compose containerName when project name contains whitespaces.
- Technical - Ease the installation of docker for forest employees.
- Server - Add server logs on generated projects.
- Command Generate - Fix smart routes for models composed of multiple words.
- Technical - Drop
APPLICATION_HOST
in.env
as it was useless.
- Node version - Define supported node versions (10 and 12) in
package.json
. - Command generate - Add comments to generated models.
- Command Generate - Generate the forest collection files.
- Command Generate - Add tests on model generation (MySQL and PostgreSQL).
- Command Generate - Add logs about what is happening.
- Technical - Refactor and add tests on prompter.
- Command Generate - Generate the forest routes to ease the use of
smart routes
.
- Technical - Remove unused ENCRYPT env variable.
- Security - Prevent remote environments creation with HTTP protocol.
- Commands - Remove command run and install.
- Command Generate - Install Forest Admin middleware.
- Logs - Improve the wording for several existing logs.
- Command Generate - Normalize the filenames.
- Command Generate - Update version of liana.
- Command Login - Disable account creation.
- Command Login - Check token validity before login.
- Command Generate - Prompt for password/token just after the other prompts.
- Command Generate - Remove extra newline at the end of model file on mongoose.
- Technical - Fix tests on dumper.
- Technical - Fix installation issue on Windows (moving
git-hook
/simple-git
to devDependencies).
- Technical - Try to fix installation issue on Windows (removing git hooks from npm package).
- MSSQL - Fix connection issue using the ssl option.
- Field Types - Support
TIMESTAMP(n)
,SMALLINT(n)
andBIGINT(n)
column types (MySQL) - Command Generate - Generate MongoDB belongsTo.
- Commands - Drop environment variables.
- Command Generate - Fix generation of project with a mongo database.
- Technical - Update
package-lock.json
(was not up to date since last release).
- Command Generate - Fix install on mssql when there is two tables with the same name in different schemas.
- Technical - Add EOF empty line lint rule.
- MongoDB - Enhance authentication mechanism using optional
salsprep
library.
- Docker - Use lumber options in
Dockerfile
.
- Technical - Fix repository in
package.json
.
- Docker - Fix lumber version in
Dockerfile
. - Technical - Split database analysis logic in 2 separated files (MongoDB and Sequelize).
- Command Generate - Fixed error when analyzing MongoDB views.
- Security - Upgrade
lodash
dependencies to patch vulnerabilities. - Security - Upgrade
eslint
dependency to patch vulnerabilities. - Security - Use Sequelize replacements to avoid SQL injections.
- Command Generate - Fix foreign key imports using connection URL with MySQL.
- NPM Publish - Do not send local environment variables on package publish.
- NPM Publish - Remove Github templates from the published packages.
- Command Generate - Fix MySQL connection failure without SSL.
- Command Generate - Give models a unique pascal-cased name when generating sequelize model files.
- Continuous Integration - Change
11.14
version ofnode_js
tolts/*
in.travis.yml
. - Command Update - Remove command update.
- MSSQL - Prevent potential bad database connection using upgrading an old version of
tedious
dependency. - Command Generate - Catch correctly authentication error on mongodb.
- Command Generate - Catch correctly empty collections on mongodb.
- Command Generate - Add "Application port" parameter (
-p, --application-port
) tolumber generate
. - Command Generate - Add "Application host" parameter (
-H, --application-host
) tolumber generate
. - Command Generate - Add "SSL" parameter (
-S, --ssl
) tolumber generate
. - Command generate - Add "Schema" parameter (
-s, --schema
) tolumber generate
. - Command generate - Add parameters documentation to
lumber install
. - Commands - Add deprecation warning for environment variables usage.
- Generate command - Rename APP_NAME to APPLICATION_NAME for consistency. The old name remains supported.
- Technical - Change
no-multiple-empty-lines
ESLint rule. Disallow two and more consecutive empty lines.
- Technical - Fix dependencies in
package-lock.json
. - Command Generate - Fix projects generation based on MySQL connections. (Regression introduced in v2.4.1).
- Command Generate - Remove schema prompt for MySQL.
- Onboarding - Add error handling to have feedback on forestadmin.
- Dependencies - Remove obsolete
mysql
dependency.
- Command Generate - Avoid foreignKey to conflict with relationship.
- Command Generate - Fix creation of project containing whitespaces.
- Records Update - Fix
TINYINT
column update when declared as aBOOLEAN
field in the ORM model. - Technical - Fix Github repository language.
- Generate command - Generate field with type "TIME WITHOUT TIME ZONE".
- Command Generate - Remove schema prompt with MongoDB connection URL.
- Generate command - Change default application port to prevent conflicts.
- Technical - A Release now also automatically publish the release note to Slack.
- Generate command - Improve logs of non automatically handled type.
- Generate command - Remove some logs to avoid confusion.
- Install command - Remove logs about type not handled to avoid confusion.
- Column Types - Do not detect SQL "Point" type and convert them as "INTEGER" anymore.
- Technical - Upgrade sequelize version to avoid sql injection.
- Mongodb - Lumber now supports Mongodb v4.2.0.
- Generate command - Make the command fail immediately if the project name entered corresponds to a directory present in the current directory (instead of failing after all the prompt questions...).
- Generate command - Fix MongoDB models creation.
- Technical - Remove old tests dependencies.
- Schema Option - Ask for the database schema option if a connectionUrl option is set.
- MongodbSrv Option - Ask for the MongodbSrv option if a connectionUrl option is set with a mongodb dialect.
- Security - Upgrade
lodash
dependencies to patch vulnerabilities.
- Technical - Setup a minimal tests configuration.
- Technical - Setup a minimal CI configuration.
- Readme - Add a CI badge in the README.md file.
- Command Generate - Fix generation of project with no database.
- Deployments - Ensure that a deployment on Heroku works well. 🛡
- Command Generate - Fix generation of targetKey.
- Command Generate - Fix install of lumber-forestadmin when using mysql with no schema.
- Command Generate - Add support for
INET
andDOUBLE
types. - Command Generate - Add support for
TIME
type.
- Command Generate - Fix generation of field when table is underscored and field contains digits.
- Command Generate - Fix underscored true not set when it should.
- Release - Fix previous broken release.
- Command Update - Use SSL for database connections configured with SSL on
lumber update
commands.
- Technical - Add
yarn.lock
to.gitignore
- Command Generate - Fix application host/port usage when using a connection url or Docker.
- Models - Prevent bad Sequelize model generation if origin table does not contain
id
column nor primary keys.
- Readme - Add a badge for the NPM package version.
- Technical - Factorize duplicated code.
- Command Generate - Normalize the fields name on generate inside models.
- Command Generate - Create better naming of belongsTo relationships.
- Command Generate - Improve visibility on type ENUM with one line per value.
- Readme - Improve the community section.
- Readme - Remove the Licence section as it it not the right one and it is already accessible in the Github page header.
- Command Generate - Fix package name.
- Command Generate - Remove trailing spaces in
.env
. - Technical - Apply ESLint rules to
database-analyzer
. - Command Generate - Do not duplicate
createdAt
andupdatedAt
if not named as camelCase in database. - Command Generate - Fix generation of field with type array.
- Command Generate - Prevent internal errors for Mongoose databases having collections without name.
- Command Generate - Fix generation of relationship if foreign key is unconventional.
- Command Generate - Declare table as underscored only if all fields respect the convention.
- Command Update - Fix update with custom database schema.
- Command Install - Fix install with custom database schema.
- Default Values - Define fields with their default value.
- Fields - Support Float types.
- Technical - Rename the database analyzer service.
- Technical - Rename the database connection service.
- Technical - Split the database analyzer into several services.
- Models - Fix models template to prevent useless newlines.
- Models - Fix missing "id" field definitions for fields that are not both of integer type and primary.
- Models - Remove some trailing spaces in generated models.
- Technical - Add an issue template to have better context for submitted issues.
- Command Generate - Fix generate on database with a custom schema.
- Docker - Fix missing port in Docker files if generated using Docker.
- Build - Reduce package size removing assets folder from it (fix previous trial).
- Build - Reduce package size removing assets folder from it.
- Code Style - Apply code conventions.
- Command Generate - Stop asking for a port for the generated server and use "3000" as default value.
- Environment variables - Expose all existing environment variables on server creation to educate users.
- Install - Make
npm install
command silent to prevent useless logs. - Code Style - Rename some variables in
services/db.js
.
- Prompt - Display consistent spacing across questions.
- Readme - Fix the readme according to the new behaviour.
- Generate - Fix custom application host and port on ForestAdmin project generation.
- Generate - Users using the connection option can now choose a SSL database connection.
- MongoDB - Fix the generate command for MongoDB SRV database urls.
- Onboarding - Fix the
lumber generate
command (Regression introduced in v2.1.3).
- Command Generate - Fix dependencies
pg
when usingDATABASE_URL
. - Technical - Add
FOREST_URL
for easier development.
- Command Generate - Fix package.json in app name contains whitespaces.
- Command Install - Fix
SSL_DATABASE
parsing. - Command Install - Fix install with mongodb.
- Command Install - Add environment variable HOSTNAME.
- Command Generate - Upgrade sequelize version to avoid vulnerabilities.
- Command Install - Fix install with ssl.
- Command Generate - Use
SSL_DATABASE
instead ofDATABASE_SSL
for generating a project.
- Welcome middleware - Change the design of the welcome plugin.
- Docker - Install the lumber-cli NPM package in the container.
- Docker - Remove the lumber-forestadmin stuff from the Dockerfile.
- Welcome middleware - Change the design of the welcome plugin.
- Docker - Create an image to run the generate command + install the lumber-forestadmin plugin.
- Command Generate - Rename all env vars to avoid the prompt.
- Command Generate - Ask for the database hostname when not using -c option.
- Docker - Remove docker instruction for now.
- Loose coupling - Use Lumber as a backend generator that leverages a set of plugins.
- Tools - Add a deploy script.
- Tools - Add Docker build files.
- Command Update - Add the new FOREST_DB_DIALECT environment variable to be able to configure project fastly.
- Command Generate - Ensure the user is logged in before executing the generate command.
- Technical - Rename environment variable SERVER_HOST to FOREST_URL.
- Opn - Completely remove the opn NPM package.
- Dependencies - Fix vulnaribilities by upgrading the dependencies in the package.json.
- Command Generate - Make the projectName argument mandatory from the command line args.
- Command Login - Make the email argument mandatory from the command line args.
- Prompt - Improve the display of success/info/error command responses.
- Wording - Improve the readability of some prompt responses.
- Wording - Replace all existing mentions of "back office" by "admin panel" or "admin panel API".
- Improvement - Reduce the number of http requests to init the project.
- Command Update - Fix the ssl environment variable.
- Command Generate - Fix the connection url option.
- Command Generate - Fix the models/index.js file creation when using the -c option.
- Command Generate - Ensure project creation works when the project name already exists without being initialized.
- SSL options - Convert the value to lowercase to ensure the option is correctly parsed.
- Command Generate - Avoid to crash if there's a conflict on the project name.
- Command Generate - Avoid to crash if there's a conflict on the project name.
- Command Update - Add the 'ssl' prompt option.
- Inquirer - Upgrade inquirer to 6.2.0 for Win 10 support.
- MongoDB - Limit the mapReduce to 100 items to prevent very long query.
- MongoDB - Force the right collection name to use in the models' definition.
- MongoDB - Support SRV connection string.
- MongoDB - Catch the CMD_NOT_ALLOWED: mapreduce error throw by MongoDB Atlas' free plan.
- SQLite Support - Remove the SQLite support because node-sqlite3 breaks on each new Node version.
- Deploy - Change the documentation link.
- MongoDB Support - Support MongoDB database.
- SQLite Support - Re-enable the support of SQLite.
- Error handling - Catch properly the error when DATABASE_URL does not exist.
- Dependency - Upgrade dotenv.
- Command Update - Improve the regexp to detect model and existing fields.
- On-boarding - Improve the on-boarding experience.
- Command Update - Fix
lumber update
command execution.
- MySQL & PostgreSQL - Detect enum type for model generation.
- Technical - Use the "official" domain for the default server host.
- Security - Set a stronger password policy.
- Dependency - Add the package expand-home-dir.
- SQLite Support - Support SQLite databases.
- Field Types - Support 'TIMESTAMP' column type (MySQL).
- MSSQL Support - Support Lumber generation on a MSSQL database hosted on Windows Azure.
- MSSQL Support - Support new database types (MONEY, NTEXT, NVARCHAR).
- Connection errors - Display the error stack trace to help users understand why the connection to the database failed.
- MSSQL Support - BIT types are now detected as Boolean instead of Number.
- Warnings - Remove a potential console deprecation warning.