Skip to content

Latest commit

 

History

History
980 lines (649 loc) · 41.2 KB

CHANGELOG.md

File metadata and controls

980 lines (649 loc) · 41.2 KB

4.2.0 (2021-07-19)

Features

  • add deprecation warning to use forest cli instead (#582) (694f099)

4.1.10 (2021-06-23)

Bug Fixes

  • mongoose: wrap with quotes invalid js identifiers in sub documents properties (#578) (2342568)

4.1.9 (2021-06-17)

Bug Fixes

  • fix liana version check for lumber update command (#574) (497174c)

4.1.8 (2021-05-31)

Bug Fixes

4.1.7 (2021-04-06)

Bug Fixes

  • security: patch xmldom dependency vulnerabilities (#564) (6ee5c7d)

4.1.6 (2021-04-06)

Bug Fixes

  • security: patch node-notifier dependency vulnerabilities (#563) (872a655)

4.1.5 (2021-04-06)

Bug Fixes

  • security: patch marked dependency vulnerabilities (#562) (089f473)

4.1.4 (2021-04-06)

Bug Fixes

  • security: patch axios dependency vulnerabilities (#561) (80e515a)

4.1.3 (2021-04-06)

Bug Fixes

  • security: patch ini dependency vulnerabilities (#560) (a7949b6)

4.1.2 (2021-04-06)

Bug Fixes

  • security: patch y18n dependency vulnerabilities (1fd4177)

4.1.1 (2021-04-01)

Bug Fixes

  • include APPLICATION_URL into the autogenerated docker-compose.yml file (#558) (74e9e83)

4.1.0 (2021-03-29)

Features

  • context: accept all headers to transmit forest context url in each data request (#555) (148fb77)

4.0.2 (2021-03-16)

Bug Fixes

  • analyzer: work around sequelize bugs on default values (#554) (ff90d38)

4.0.1 (2021-03-01)

Bug Fixes

  • fix models import error on mongo model index (#552) (1df1f91)

4.0.0 (2021-02-23)

Bug Fixes

Features

  • 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)

BREAKING CHANGES

  • by default, the authentication process will redirect to a web page to validate a code.

4.0.0-beta.5 (2021-02-22)

Bug Fixes

  • 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)

Bug Fixes

  • view-list: fix bad records count in view list if the record details access is forbidden (#539) (1f6f6c7)

3.10.8 (2021-01-13)

Bug Fixes

  • 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)

Features

3.10.7 (2021-01-07)

Bug Fixes

  • incorrect FOREST_URL generated in docker-compose.yml (#533) (9d3bf95)

3.10.6 (2021-01-06)

Bug Fixes

  • 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)

Features

  • ease multi-database setup by managing mongoose connection like sequelize (#490) (cf508cb)

4.0.0-beta.2 (2021-01-05)

Bug Fixes

  • sequelize: fix error when working with column table including parenthesis (#520) (79c041b)

3.10.5 (2020-12-21)

Bug Fixes

  • sequelize: fix error when working with column table including parenthesis (#520) (79c041b)

4.0.0-beta.1 (2020-12-21)

Features

  • authenticate without entering a password (#513) (fe8d8c3)

BREAKING CHANGES

  • by default, the authentication process will redirect to a web page to validate a code.

3.10.4 (2020-12-01)

Bug Fixes

3.10.3 (2020-11-27)

Bug Fixes

  • remove forest-express dependency in generated package.json (#500) (2a64ef8)

3.10.2 (2020-11-26)

Bug Fixes

3.10.1 (2020-11-26)

Bug Fixes

  • models: properly set type for date only fields (#496) (09261d1)

3.10.0 (2020-11-12)

Features

  • generate a new environment variable with the application's url (#489) (09c98c8)

3.9.1 (2020-11-09)

Bug Fixes

  • generate command could fail when analysing relations on MongoDB when having one or more views (#485) (517fe36)

3.9.0 (2020-11-02)

Features

3.8.0 (2020-10-15)

Features

  • security: use env variables in docker-compose.yml (#464) (9674275)

3.7.2 (2020-09-24)

Bug Fixes

3.7.1 (2020-09-23)

Bug Fixes

  • generate: fix association alias duplication (#473) (81766b8)

3.7.0 (2020-09-21)

Features

  • trust SSL certificate by default to ease users onboarding (#472) (2cf7e6b)

3.6.11 (2020-09-17)

Bug Fixes

  • models: enforce string type for default value when 'NULL' (#470) (ae11674)

3.6.10 (2020-09-16)

Bug Fixes

  • models: add missing association aliases (#469) (3114f84)

3.6.9 (2020-09-11)

Bug Fixes

  • generate: handle NOT NULL constraint (#466) (faace37)

3.6.8 (2020-08-14)

Bug Fixes

3.6.7 (2020-08-11)

Bug Fixes

  • vulnerability: remove potential vulnerability upgrading lodash dependency version (#453) (92d165c)

3.6.6 (2020-08-03)

Bug Fixes

  • suggest to reach help in the discourse community instead of Slack (#456) (1bbba8c)

3.6.5 (2020-07-30)

Bug Fixes

  • 🐛 generate agents that return JSON errors (#455) (79ae6e6)

3.6.4 (2020-07-13)

Bug Fixes

  • vulnerabilities: bump 2 dependencies of dependencies (#451) (a81298a)

3.6.3 (2020-07-13)

Bug Fixes

  • dumper: fix issue where project using nodejs v14 could never connect to postgres database (#450) (954ad30)

3.6.2 (2020-07-08)

Bug Fixes

3.6.1 (2020-07-07)

Bug Fixes

  • command generate: fix generation of project with postgres on node 14.4 (#446) (9a307b3)

3.6.0 (2020-05-25)

Features

  • command-generate: support 'JSON' field type on installation (8cf952c)

3.5.6 (2020-05-15)

Bug Fixes

  • command generate: fix an error on mssql database analysis with case sensitive collation (#432) (6520ab1)

3.5.5 (2020-05-12)

Bug Fixes

  • generate: default configuration now works for users using Linux and a local database (#429) (176ebcf)

3.5.4 (2020-05-11)

Bug Fixes

  • security: patch newly detected vulnerabilities (#431) (724a6a9)

RELEASE 3.5.3 - 2020-05-11

Changed

  • 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.

RELEASE 3.5.2 - 2020-04-29

Changed

  • Technical - Introduce conventional commits.
  • Technical - Make the CI lint the commit messages.
  • Technical - Adapt release manager to conventional commits.
  • Documentation - Update links in readme.

Fixed

  • Command Generate - Prevent files' content from being HTML escaped.

RELEASE 3.5.1 - 2020-04-06

Fixed

  • 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. 🛡

RELEASE 3.5.0 - 2020-03-25

Changed

  • Technical - Remove 5 unused dependencies (expand-home-dir, import-from, jsonwebtoken, minimist, winston).

Fixed

  • 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.

RELEASE 3.4.0 - 2020-03-23

Added

  • 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.

Changed

  • 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.

Fixed

  • 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.

RELEASE 3.3.3 - 2020-01-23

Changed

  • Technical - Use handlebars for all templates.
  • Technical - Remove a useless template about the removed update command.
  • Technical - Remove a useless gitkeep file template.

Fixed

  • Models - Fix error in mongoose projects preventing models from being exported.

RELEASE 3.3.2 - 2020-01-16

Fixed

  • Command Generate - Fix error on array type generation for PostgreSQL. 🛡

RELEASE 3.3.1 - 2020-01-14

Added

  • Technical - Test on SQLServer 2017 and 2019.
  • Technical - Test on postgres from 9.4 to 12.1.

Changed

  • Technical - Reduce code complexity removing all SonarJS errors.
  • Technical - Refactor docker services and containers names.

Fixed

  • 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

RELEASE 3.3.0 - 2020-01-06

Added

  • Command Generate - Generate MongoDB nested objects and subDocuments.

Changed

  • 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 inside db-analysis-output.
  • Command Generate - Now generate many to many relationships when we detect a table with 2 foreign keys and optionally technical timestamps.

Fixed

  • Technical - Fix test expect files extensions.
  • Command Generate - Do not declare the "id" field on tables having a BIGINT "id" column as primary key. 🛡

RELEASE 3.2.0 - 2019-12-31

Added

  • Readme - Add the test coverage badge.
  • Technical - Add SonarJS linter for complexity issues.

Changed

  • 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.

Fixed

  • 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).

RELEASE 3.1.0 - 2019-12-20

Added

  • Command Generate - Generate MongoDB HasMany.
  • Technical - Add tests on MSSQL databases.
  • Command Generate - Detect hasOne, hasMany and belongsToMany SQL relationships.

Changed

  • Templates - Replace unconventional bin/www script with server.txt.
  • Technical - Replace package-lock.json by yarn.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.

Fixed

  • 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.

RELEASE 3.0.1 - 2019-11-20

Fixed

  • Docker - Fix the docker-compose containerName when project name contains whitespaces.
  • Technical - Ease the installation of docker for forest employees.

RELEASE 3.0.0 - 2019-11-20

Added

  • Server - Add server logs on generated projects.

Fixed

  • Command Generate - Fix smart routes for models composed of multiple words.
  • Technical - Drop APPLICATION_HOST in .env as it was useless.

RELEASE 3.0.0-beta.0 - 2019-11-19

Added

  • 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.

Changed

  • 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.

Fixed

  • 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.

RELEASE 2.7.3 - 2019-11-07

  • Technical - Fix installation issue on Windows (moving git-hook/simple-git to devDependencies).

RELEASE 2.7.2 - 2019-11-07

Fixed

  • Technical - Try to fix installation issue on Windows (removing git hooks from npm package).

RELEASE 2.7.1 - 2019-11-06

Fixed

  • MSSQL - Fix connection issue using the ssl option.

RELEASE 2.7.0 - 2019-11-06

Added

  • Field Types - Support TIMESTAMP(n), SMALLINT(n) and BIGINT(n) column types (MySQL)
  • Command Generate - Generate MongoDB belongsTo.

Changed

  • Commands - Drop environment variables.

RELEASE 2.6.3 - 2019-11-04

Fixed

  • Command Generate - Fix generation of project with a mongo database.

RELEASE 2.6.2 - 2019-10-31

Fixed

  • Technical - Update package-lock.json (was not up to date since last release).

RELEASE 2.6.1 - 2019-10-30

Fixed

  • Command Generate - Fix install on mssql when there is two tables with the same name in different schemas.

RELEASE 2.6.0 - 2019-10-29

Added

  • Technical - Add EOF empty line lint rule.
  • MongoDB - Enhance authentication mechanism using optional salsprep library.

Changed

  • Docker - Use lumber options in Dockerfile.

Fixed

  • Technical - Fix repository in package.json.

RELEASE 2.5.2 - 2019-10-25

Changed

  • Docker - Fix lumber version in Dockerfile.
  • Technical - Split database analysis logic in 2 separated files (MongoDB and Sequelize).

Fixed

  • 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.

RELEASE 2.5.1 - 2019-10-18

Changed

  • Command Generate - Give models a unique pascal-cased name when generating sequelize model files.
  • Continuous Integration - Change 11.14 version of node_js to lts/* in .travis.yml.
  • Command Update - Remove command update.

Fixed

  • 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.

RELEASE 2.5.0 - 2019-10-15

Added

  • Command Generate - Add "Application port" parameter (-p, --application-port) to lumber generate.
  • Command Generate - Add "Application host" parameter (-H, --application-host) to lumber generate.
  • Command Generate - Add "SSL" parameter (-S, --ssl) to lumber generate.
  • Command generate - Add "Schema" parameter (-s, --schema) to lumber generate.
  • Command generate - Add parameters documentation to lumber install.
  • Commands - Add deprecation warning for environment variables usage.

Changed

  • 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.

Fixed

  • 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.

RELEASE 2.4.1 - 2019-10-11

Added

  • Onboarding - Add error handling to have feedback on forestadmin.

Changed

  • Dependencies - Remove obsolete mysql dependency.

Fixed

  • 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 a BOOLEAN 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.

RELEASE 2.4.0 - 2019-09-20

Changed

  • Generate command - Change default application port to prevent conflicts.

RELEASE 2.3.15 - 2019-09-20

Added

  • Technical - A Release now also automatically publish the release note to Slack.

Changed

  • 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.

Fixed

  • Column Types - Do not detect SQL "Point" type and convert them as "INTEGER" anymore.
  • Technical - Upgrade sequelize version to avoid sql injection.

RELEASE 2.3.14 - 2019-09-12

Fixed

  • Mongodb - Lumber now supports Mongodb v4.2.0.

RELEASE 2.3.13 - 2019-09-11

Fixed

  • 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.

RELEASE 2.3.12 - 2019-09-11

Changed

  • Technical - Remove old tests dependencies.

Fixed

  • 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.

RELEASE 2.3.11 - 2019-09-10

Added

  • Technical - Setup a minimal tests configuration.
  • Technical - Setup a minimal CI configuration.
  • Readme - Add a CI badge in the README.md file.

Fixed

  • Command Generate - Fix generation of project with no database.
  • Deployments - Ensure that a deployment on Heroku works well. 🛡

RELEASE 2.3.10 - 2019-09-05

Fixed

  • Command Generate - Fix generation of targetKey.

RELEASE 2.3.9 - 2019-08-29

Fixed

  • Command Generate - Fix install of lumber-forestadmin when using mysql with no schema.

RELEASE 2.3.8 - 2019-08-29

Fixed

  • Command Generate - Add support for INET and DOUBLE types.
  • Command Generate - Add support for TIME type.

RELEASE 2.3.7 - 2019-08-28

Fixed

  • Command Generate - Fix generation of field when table is underscored and field contains digits.

RELEASE 2.3.6 - 2019-08-27

Fixed

  • Command Generate - Fix underscored true not set when it should.

RELEASE 2.3.5 - 2019-08-26

Fixed

  • Release - Fix previous broken release.

RELEASE 2.3.4 - 2019-08-26

Fixed

  • Command Update - Use SSL for database connections configured with SSL on lumber update commands.

RELEASE 2.3.3 - 2019-08-22

Changed

  • Technical - Add yarn.lock to .gitignore

Fixed

  • 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.

RELEASE 2.3.2 - 2019-08-14

Added

  • Readme - Add a badge for the NPM package version.

Changed

  • 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.

Fixed

  • 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 and updatedAt 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.

RELEASE 2.3.1 - 2019-08-05

Fixed

  • Command Update - Fix update with custom database schema.
  • Command Install - Fix install with custom database schema.

RELEASE 2.3.0 - 2019-08-02

Added

  • Default Values - Define fields with their default value.
  • Fields - Support Float types.

Changed

  • Technical - Rename the database analyzer service.
  • Technical - Rename the database connection service.
  • Technical - Split the database analyzer into several services.

Fixed

  • 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.

RELEASE 2.2.4 - 2019-07-25

Added

  • Technical - Add an issue template to have better context for submitted issues.

Fixed

  • Command Generate - Fix generate on database with a custom schema.

RELEASE 2.2.3 - 2019-07-16

Fixed

  • Docker - Fix missing port in Docker files if generated using Docker.

RELEASE 2.2.2 - 2019-07-15

Changed

  • Build - Reduce package size removing assets folder from it (fix previous trial).

RELEASE 2.2.1 - 2019-07-15

Changed

  • Build - Reduce package size removing assets folder from it.

RELEASE 2.2.0 - 2019-07-15

Changed

  • 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.

Fixed

  • 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.

RELEASE 2.1.4 - 2019-07-04

Fixed

  • Onboarding - Fix the lumber generate command (Regression introduced in v2.1.3).

RELEASE 2.1.3 - 2019-07-03

Fixed

  • Command Generate - Fix dependencies pg when using DATABASE_URL.
  • Technical - Add FOREST_URL for easier development.

RELEASE 2.1.2 - 2019-07-02

Fixed

  • Command Generate - Fix package.json in app name contains whitespaces.
  • Command Install - Fix SSL_DATABASE parsing.
  • Command Install - Fix install with mongodb.

RELEASE 2.1.1 - 2019-06-27

Fixed

  • Command Install - Add environment variable HOSTNAME.

RELEASE 2.1.0 - 2019-06-26

Fixed

  • Command Generate - Upgrade sequelize version to avoid vulnerabilities.
  • Command Install - Fix install with ssl.
  • Command Generate - Use SSL_DATABASE instead of DATABASE_SSL for generating a project.

RELEASE 2.0.9 - 2019-06-05

Changed

  • Welcome middleware - Change the design of the welcome plugin.

RELEASE 2.0.6 - 2019-05-15

Changed

  • Docker - Install the lumber-cli NPM package in the container.

RELEASE 2.0.5 - 2019-05-15

Changed

  • Docker - Remove the lumber-forestadmin stuff from the Dockerfile.
  • Welcome middleware - Change the design of the welcome plugin.

RELEASE 2.0.4 - 2019-05-13

Changed

  • Docker - Create an image to run the generate command + install the lumber-forestadmin plugin.

RELEASE 2.0.3 - 2019-05-09

Changed

  • Command Generate - Rename all env vars to avoid the prompt.

RELEASE 2.0.2 - 2019-05-07

Fixed

  • Command Generate - Ask for the database hostname when not using -c option.

RELEASE 2.0.1 - 2019-05-06

Changed

  • Docker - Remove docker instruction for now.

RELEASE 2.0.0 - 2019-05-02

Changed

  • Loose coupling - Use Lumber as a backend generator that leverages a set of plugins.

RELEASE 1.14.3 - 2019-04-09

Added

  • 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.

Changed

  • 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.

Fixed

  • 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.

Release 1.14.2

Fixed

  • Command Generate - Avoid to crash if there's a conflict on the project name.

Release 1.14.2

Fixed

  • Command Generate - Avoid to crash if there's a conflict on the project name.

Release 1.14.1

Fixed

  • Command Update - Add the 'ssl' prompt option.

Release 1.14.0

Fixed

  • Inquirer - Upgrade inquirer to 6.2.0 for Win 10 support.

Release 1.13.3

Changed

  • MongoDB - Limit the mapReduce to 100 items to prevent very long query.
  • MongoDB - Force the right collection name to use in the models' definition.

Release 1.13.2

Added

  • MongoDB - Support SRV connection string.
  • MongoDB - Catch the CMD_NOT_ALLOWED: mapreduce error throw by MongoDB Atlas' free plan.

Release 1.13.1

Changed

  • SQLite Support - Remove the SQLite support because node-sqlite3 breaks on each new Node version.

Release 1.13.0

  • Deploy - Change the documentation link.
  • MongoDB Support - Support MongoDB database.

Release 1.12.0

Added

  • SQLite Support - Re-enable the support of SQLite.

Changed

  • Error handling - Catch properly the error when DATABASE_URL does not exist.

Release 1.11.1

Changed

  • Dependency - Upgrade dotenv.

Fixed

  • Command Update - Improve the regexp to detect model and existing fields.

Release 1.11.0

Changed

  • On-boarding - Improve the on-boarding experience.

Release 1.10.3

Fixed

  • Command Update - Fix lumber update command execution.

Release 1.10.0

Changed

  • MySQL & PostgreSQL - Detect enum type for model generation.
  • Technical - Use the "official" domain for the default server host.

Release 1.9.0

Changed

  • Security - Set a stronger password policy.

Fixed

  • Dependency - Add the package expand-home-dir.

Added

  • 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.

Fixed

  • MSSQL Support - BIT types are now detected as Boolean instead of Number.
  • Warnings - Remove a potential console deprecation warning.