Scaffolds

Version format: <Rewrite>.<New Features>.<Bug Fixes>.

The changelog diff links are in a private GitHub repository. Please email [email protected] with your GitHub username to request access to this repository. You need a ScaffoldHub license to make this request.

2.7.8 - 2021-08-16

  • Bugfix: Fix path slash for Windows on localhostFileStorage.

  • Bugfix: React forms: mark fields as dirty when set using setValue.

  • Bugfix: Not cleaning ' from labels.

https://github.com/scaffoldhub/documentation/commit/d1fad25c186e8585d407df0abb5936979c748db0

2.7.7 - 2021-06-23

  • IMPORTANT BUGFIX: Fix vulnerability on localhostFileStorage that allows malicious attackers to read files outside the UPLOAD_DIR folder. Affects only when the Localhost File Storage strategy is used.

  • Improvement: Rate Limiter now ignored OPTIONS requests and calls to the import endpoints.

  • Improvement: .env hint about BACKEND_URL.

https://github.com/scaffoldhub/documentation/commit/97928a14d9ebde5ee90d28657c1ade821ff7713e

2.7.6 - 2021-06-03

  • Bugfix: Apostrophe (') on hints and placeholders were breaking the code.

  • Bugfix: Add Dashboard to forbidden words.

2.7.5 - 2021-05-23

  • Bugfix: Failed UserRepository import on backend services.

2.7.4 - 2021-05-20

  • Bugfix: Duplicated backend repository imports on the backend service class.

  • Bugfix: Add AWS_REGION config on upload to Amazon to allow non-default regions.

https://github.com/scaffoldhub/documentation/commit/d2327e225f53de37358a8b87975de3af3627a53f

2.7.2 - 2021-05-16

  • Improvement: GOOGLE_CLOUD_PLATFORM_CREDENTIALS is not required anymore if deploying at Google Cloud platform.

  • Bugfix: Mark Subscription as canceled if stripe status is incomplete_expired.

  • Improvement: Improved validations on the backend.

  • Improvement: Added Stripe scripts on package.json to start Stripe CLI webhooks on localhost.

https://github.com/scaffoldhub/documentation/commit/3477c6baa342dfe9cf3d62acfc173c6867d11fe3

2.7.1 - 2021-04-18

  • Bugfix: Imports load Dates and DateTimes as Date (not string) from the Excel file.

  • Bugfix: React Bootstrap and React TailwindCSS - Null dates displayed as Invalid Date at View pages.

  • Bugfix: React TailwindCSS style for relationship view items. d) Bugfix: React - Fix import of not required date types.

  • Bugfix: MongoDB - When using transactions, some operations were running on the default session transaction instead of the current session transaction.

  • Bugfix: React Material-UI, Bootstrap, and TailwindCSS not passing tenant URL on tenant creation from auth page.

  • Improvement: React forms on auth pages validate only on submit.

https://github.com/scaffoldhub/documentation/commit/173aee3a0b054b8737aca97eb986a2ecb579df08

2.7.0 - 2021-03-12

  • Feature: API Documentation with Swagger UI.

  • Feature: Placeholders and Hints on the Modeling Tool.

  • Refactor: Removed unused API endpoints.

https://github.com/scaffoldhub/documentation/commit/b49fcb0fa866305fcf7aaf2b7c8e718109d61d47

2.6.0 - 2021-03-07

  • Feature: React TailwindCSS.

https://github.com/scaffoldhub/documentation/commit/05c0030ef96923a4ebdb2c21ab675245426ef1a3

2.5.0 - 2021-02-19

  • Feature: Added Social Sign-in.

  • Feature: Added Enumerator (Multiple) field type.

  • Bugfix: Sequelize returns decimals as a string. Added conversion to Number on View pages to prevent a break.

  • Bugfix: Renamed variable PLAN_STRIPE_WEBHOOK_SIGNIN_SECRET to PLAN_STRIPE_WEBHOOK_SIGNING_SECRET.

  • Bugfix: React Material-UI settings not saving.

  • Bugfix: Error when tenant not informed on Email Verification and Password Reset processes.

  • Refactor: Remove redundant comments from the backend.

  • Bugfix: React Ant Design autocompletes always shows selected items first.

  • Bugfix: Email should be case insensitive on authentication.

https://github.com/scaffoldhub/documentation/commit/a5bf460fe23e6158b674979740737a3642783e0fhttps://github.com/scaffoldhub/documentation/commit/093935e8730a176b0bab0fae80ecaa0142b1cf6e

2.4.0 - 2021-01-12

  • Feature: Update to React 17.

  • Feature: Update to Angular 11.

  • Feature: Add the option to remove filter tags.

  • Bugfix: Autocompletes for SQL version were not ordering correctly.

  • Refactor: Autocompletes queries.

  • Bugfix: Vue Element UI shows incorrect pagination when page size is different than 10 after the second search.

  • Bugfix: Changed Yup form validation for arrays to adapt to the Yup new version.

  • Bugfix: React DateTime fields truncating the timezone.

  • Bugfix: Validate duplicated enumerator entries on Modeling Tool.

https://github.com/scaffoldhub/documentation/commit/4360336551d7f55ff5b00f31d30aad15c312573

2.3.6 - 2020-11-01

  • Bugfix: Vue User List page was not filtering when entering on the page.

  • Bugfix: File Localhost Storage errors when moving uploaded files to another device.

  • Bugfix: Vue image-upload.vue fileList reactivity.

https://github.com/scaffoldhub/documentation/commit/62f9c62b62d8a2f099ca1a5d7fe56659567c5973

2.3.5 - 2020-10-14

  • Bugfix: React Bootstrap some buttons were not disabling when submitting the form.

  • Bugfix: Invited users were being signed out on the first sign in.

  • Refactor: Improved React Redux related files to export names that are easy to use with autocomplete.

https://github.com/scaffoldhub/documentation/commit/26a98d58b8810ec5faa5acfa75ec540e20bb4164

2.3.4 - 2020-10-08

  • Bugfix: React Bootstrap switch field had a z-index higher than the select-box.

  • Bugfix: React Ant Design delete button on the view page wasn't working.

  • Bugfix: Vue Element UI error on boolean-field class.

  • Bugfix: Missing PT-BR translation for tenant URL.

https://github.com/scaffoldhub/documentation/commit/65408226c923761e96544bff084e882c10cb2e2e

2.3.3 - 2020-10-06

  • Bugfix: Avoid auto-zoom for mobile.

  • Bugfix: Update debounced search on React Ant Design server-side autocomplete search.

  • Bugfix: Adjust React Material-UI font-size.

  • Bugfix: Add typescript compile step to the backend VSCode debug configuration.

  • Bugfix: Add email verified validation on the backend.

https://github.com/scaffoldhub/documentation/commit/a7d10d656c39e328d8da1affc823d9b5da8f9b5a

2.3.2 - 2020-09-28

  • Important! Bugfix: MongoDB autocompletes were not considering the tenant on the queries when using server-side autocomplete search.*

  • Bugfix: Sign-out all user sessions when the user changes the password.

  • Bugfix: React Material-UI and Bootstrap Audit Log pagination cache was broken.

  • Bugfix: React scaffolds - The value of name could not be cast to a value that satisfies the schema type: "string".

  • Bugfix: Remove unused User authenticationUid column from SQL version.

https://github.com/scaffoldhub/documentation/commit/46a29543080d1a4187e2fd024246a13ef6afe425

*If you use MongoDB on a version between 2.0.0 and 2.3.2 you should manually change those classes. Note: You may have not noticed this bug, because the default search is in-memory, and thisif (search) statement is never called and the bug doesn't happen. But in case you change the autocompletes to server-search, you need this statement to be fixed.

backend/src/database/repositories/userRepository.ts

backend/src/database/repositories/tenantRepository.ts

backend/src/database/repositories/<entityName>Repository.ts

2.3.1 - 2020-09-23

  • Bugfix: Reverted React Bootstrap rc-pagination library version to 2.3.0. The new version had broken CSS.

2.3.0 - 2020-09-22

  • Feature: Show/hide list filters.

  • Bugfix: Trying to call .toFixed(value) on undefined values on view pages.

  • Bugfix: React Ant Design user toolbar wasn't getting the permissions correctly.

  • Bugfix: React Audit Logs not filtering by User activity when received via parameter.

  • Bugfix: React List Filters were not resetting the values correctly.

  • Bugfix: React Material and Bootstrap Form Select not working when the value is false.

https://github.com/scaffoldhub/documentation/commit/c7a24c8f3502f9c543d8e4acb761f7e8e3dbe901

2.2.6 - 2020-09-13

  • Bugfix: React Material UI Form breadcrumbs were directed to 404.

  • Bugfix: Remove unused Formik dependency on React Bootstrap.

  • Bugfix: VSCode settings was referring to javascript instead of typescript.

  • Bugfix: React Material and Bootstrap Form Select not working when the value is 0.

  • Bugfix: Email Verification and Password Reset was using the root domain as links for multi-with-subdomain.

  • Refactor: Created IServiceOptions and IRepositoryOptions typescript interfaces on the backend.

https://github.com/scaffoldhub/documentation/commit/ce08002913a26714a3ab3a846f50e837dadcf612

2.2.5 - 2020-08-25

  • Bugfix: React Ant Design view pages were not showing relation to many fields.

https://github.com/scaffoldhub/documentation/commit/e71cebbca545a9debbdcc47565ef94eeaef8143a

2.2.4 - 2020-08-24

  • Bugfix: Angular and Vue projects were breaking for projects with lists with no filter.

  • Minor layout change: Removed border on authentication pages from React Material, Vue Element UI, and Angular Material.

https://github.com/scaffoldhub/documentation/commit/027810ec81d222a1349b8482b05cef918f6d3094

2.2.3 - 2020-08-19

  • Bugfix: React scaffolds were not previewing.

(No changes in the code)

2.2.2 - 2020-08-19

  • REVERT: Bugfix: Change default React build script to build for localhost.

https://github.com/scaffoldhub/documentation/commit/b7a8c755411462cf19db7ab2b2bb0dc938ea77c4

2.2.1 - 2020-08-18

  • *Bugfix: SQL text-search filters were using the same key on the criteria object.

  • Bugfix: Changed the default React build script to build for the localhost.

  • Bugfix: Changed to start the server using the ts-node. With ts-node, console errors point to the TS files, not the compiled JS ones.

https://github.com/scaffoldhub/documentation/commit/1998b22a21765b8ddc26b39854db2e61eefd4216

*SQL only: I implemented a most sophisticated solution for this bug, but if you have many entities and don't want to update all your repository files, there is a simpler solution; Find all SequelizeFilterUtils.ilike occurrences, and replace the [Op.and] by the name of the field ['name']:

if (filter.name) {
where = {
...where,
// [Op.and]: SequelizeFilterUtils.ilike(
name: SequelizeFilterUtils.ilike(
'customer',
'name', // same as the field name here
filter.name,
),
};
}

2.2.0 - 2020-08-11

  • Feature: Spanish translation 🇪🇸.

  • Feature: Rate limiting.

  • Bugfix: Allow numbers on enumerator values.

  • Bugfix: Added more reserved words to entities and fields to prevent build errors.

https://github.com/scaffoldhub/documentation/commit/b5426bac0770ba12879b630bd26b24dabae6609a

2.1.0 - 2020-08-06

  • Feature: Unique field validation on the database level.

  • Bugfix: SendGrid errors being suppressed and rolling back the transaction only.

https://github.com/scaffoldhub/documentation/commit/0a242e6f63f8c427d7e27da691d122a0ddf7c975

2.0.3 - 2020-07-29

  • Bugfix: Fix the broken password reset label on react front-ends.

  • Avoid importing Stripe on the front-end when payments are off.

https://github.com/scaffoldhub/documentation/commit/52decd8076b317c43fa7dfbae9e2e1765c2ca7f7

2.0.2 - 2020-07-28

  • Bugfix: Backend start script not working on Windows.

  • Bugfix: Fixed typescript errors on backend/src/api/index.ts.

  • Bugfix: Fix error on labels with the ' character.

  • Add the tenant as a reserved word on the modeling tool.

https://github.com/scaffoldhub/documentation/commit/d315885564b25cc7634a813dde03a97a04a210d5

2.0.1 - 2020-07-17

  • Bugfix: React - Mark exporterRenders.decimal argument as optional.

  • Bugfix: React Ant Design - Permissions to edit and destroy tenants were not working.

  • Default max size for files set to 100MB.

https://github.com/scaffoldhub/documentation/commit/b7133e15846363b7cbee4ed4d3bb4a3050bdcdef