waibu-db
Version:
314 lines (197 loc) • 8.65 kB
Markdown
# Changes
## 2026-07-13
- [2.28.0] Update documentations
- [2.28.0] Add feature to allow export only if `options.allowExport` is set to true
- [2.28.1] Bug fix in `export-handler.js`
## 2026-07-12
- [2.27.1] Bug fix in `util.js`
## 2026-06-29
- [2.27.0] Add ```isActionAllowed()``` in ```wdb-base```
- [2.27.0] Add all related action permission on all widgets & page handlers
## 2026-06-24
- [2.26.4] Bug fix in ```wdb-btn-columns``` widget
- [2.26.4] Bug fix in ```wdb-forms``` widget
## 2026-06-19
- [2.26.2] Bug fix in ```add-handler.js```
## 2026-06-18
- [2.26.1] Bug fix in ```get-schema-ext.js```
## 2026-06-17
- [2.25.2] Bug fix in ```wdb-data-table``` widget
- [2.25.2] Bug fix in ```wdb-form``` widget
- [2.25.2] Bug fix in ```get-schema-ext.js```
- [2.26.0] Add feature to edit schema only on main site
## 2026-06-13
- [2.25.1] Bug fix in ```transaction```: only applicable to ```CUD```
## 2026-06-12
- [2.25.0] Necessary updates to ```bajo@2.18.0``` specs
## 2026-06-11
- [2.24.1] Bug fix in ```wdb-form``` widget
- [2.24.1] Bug fix in ```_details-btns.html``` partial
## 2026-06-10
- [2.24.0] Add secure routes declaration
- [2.24.0] Bug fix in ```wdb-btn-columns``` widget
- [2.24.0] Add support for ```sumba:immutable``` feature
## 2026-06-05
- [2.23.1] Add ```form``` widget
## 2026-06-03
- [2.23.0] Add ```getAutoModels()```
- [2.23.0] Display link in ```data-table``` widget as separate link inside a ```badge```
- [2.23.0] Bug fix in ```form.js```
- [2.23.0] Add folder redirection
- [2.23.0] Bug fix in model route, now correctly works for allowed models only
- [2.23.0] Bug fix in ```get-schema-ext.js```
## 2026-06-01
- [2.21.3] Bug fix in ```wdb-form``` widget
- [2.22.0] Now use the new ```format``` definition for ```virtual``` column in ```wdb-data-table``` widget
## 2026-05-28
- [2.21.1] Bug fix in ```get-schema-ext.js```
## 2026-05-25
- [2.21.0] Auto detect theme & iconset
## 2026-05-22
- [2.20.1] Bug fix in admin menu
- [2.20.1] Bug fix in ```wdb-btn-columns``` widget
- [2.20.1] Bug fix in ```wdb-data-table``` widget
- [2.20.1] Bug fix in ```wdb-form``` widget
## 2026-05-16
- [2.20.0] Change to ```wdb-data-table``` widget to handle immutable rows
- [2.20.0] Change to ```wdb-lookup-select``` widget to allow new value creation
- [2.20.0] Change to ```getSchemaExt()``` to allow auto widget creation
## 2026-05-11
- [2.19.0] Updates to match ```dobo@2.23.0``` specs
- [2.19.0] Bug fix in ```wdb-btn-export``` widget
## 2026-05-03
- [2.18.3] Bug fix in ```wdb-data-table``` widget
- [2.18.4] Bug fix in ```wdb-data-table``` widget
## 2026-05-02
- [2.18.2] Bug fix in ```wdb-data-table``` widget
- [2.18.2] Bug fix in ```wdb-form``` widget
## 2026-04-25
- [2.18.0] Change options to format value using the new key set by dobo
- [2.18.0] Remove ```options.retainOriginalValue``` since it is not needed anymore
- [2.18.0] Add all necessary ```options``` for all auto generated api endpoints
## 2026-04-23
- [2.17.2] Bug fix in ```getSchemaExt()```
- [2.17.2] Bug fix in ```WdbDataTable``` widget
## 2026-04-21
- [2.17.1] Bug fix in ```WdbLookupSelect.build()```
## 2026-04-19
- [2.17.0] Rename ```WdbTable``` to ```WdbDataTable``` widget
- [2.17.0] ```getSchemaExt()``` now include export related model too
## 2026-04-18
- [2.16.3] Bug fix in ```WdbForm``` widget
- [2.16.3] Bug fix in ```WdbTable``` widget
- [2.16.3] Bug fix in ```add-handler.js``` module
- [2.16.3] Bug fix in ```edit-handler.js``` module
## 2026-04-17
- [2.16.2] Bug fix in ```WdbTable``` widget
- [2.16.2] Bug fix in ```WdbForm``` widget
- [2.16.2] Remove reduncat codes in ```WdbBase``` widget
## 2026-04-16
- [2.16.1] Bug fix in ```WdbBtnExport``` widget
- [2.16.1] Bug fix in ```WdbForm``` widget
- [2.16.1] Bug fix in ```WdbTable``` widget
- [2.16.1] Bug fix in ```prepCrud()```
- [2.16.1] Bug fix in ```createRecord()```
- [2.16.1] Bug fix in ```updateRecord()```
## 2026-04-13
- [2.16.0] Add ```oldData``` propety to ```WdbBase``` widget
- [2.16.0] Change ```WdbBase.getSetting()``` to also respect setting from ```waibu.getSetting()```
- [2.16.0] Rewrite ```WdbForm``` widget entirely
- [2.16.0] Remove redundant call to get old record in ```updateRecord()```
## 2026-04-11
- [2.15.0] Add ```control``` key in config object
- [2.15.0] Bug fix in ```formatRow()```
- [2.15.0] Add ```WdbBase.getRefName()```
- [2.15.0] Add ```WdbBase.getSetting()```
- [2.15.0] Update placeholder in ```WdbQuery``` based on model's ```scanables``` values
- [2.15.0] ```getSchemaExt()``` now support ```format```, ```formatValue``` and ```formatCell```
- [2.15.0] All default handlers now support ```options.formatValue``` and ```options.retainOriginalValue````
## 2026-04-07
- [2.14.0] Add ```wdb-lookup-select``` widget
- [2.14.0] Add ```WdbBase.getRef()```
- [2.14.0] Add ```WdbBase.getRefValue()```
- [2.14.0] Rewrite necessary changes to use dobo's new lookup mechanism through model references
## 2026-04-02
- [2.12.6] Bug fix in ```wdb-query``` widget
- [2.13.0] Add warnings template
- [2.13.0] Changes in all crud handlers, now the first parameter is an object of ```req``` and ```model```
- [2.13.0] Bug fix in ```wdb-form``` widget
## 2026-04-01
- [2.12.5] Bug fix in ```wdb-btn-column``` widget
- [2.12.5] Bug fix in ```wdb-pagination``` widget
- [2.12.5] Bug fix in ```wdb-query``` widget
- [2.12.5] Bug fix in ```wdb-recs-info``` widget
- [2.12.5] Bug fix in ```wdb-data-table``` widget
- [2.12.5] Bug fix in remove attachment
## 2026-03-30
- [2.12.3] Bug fix in transaction supports
- [2.12.4] Bug fix in ```options.limit```, removed due to use ```findAllRecords()```
## 2026-03-27
- [2.12.1] Bug fix in all ```view.format``` & ```view.formatValue```
- [2.12.2] Bug fix in ```wdb-form``` & ```wdb-data-table``` widgets, now correctly use value from format if provided
## 2026-03-26
- [2.11.0] Adding ```suppressError``` to model options
- [2.12.0] ```suppressError``` can now be either one or more actions. If set to ```true```, it assumed to be all actions
- [2.12.0] Print error log even in ```suppressError```
## 2026-03-25
- [2.10.3] Bug fix in ```getOneRecord()```
## 2026-03-22
- [2.10.1] Bug fix in reference records
- [2.10.2] Bug fix in ```wdb-btn-edit``` widget
## 2026-03-19
- [2.10.0] Data value tooltip can now be turned off with ```no-data-value-ref```
## 2026-03-15
- [2.9.0] Add ability to overwrite ```base``` through ```options```
- [2.9.0] Bug fix in ```wdb-btn-columns``` widget
- [2.9.0] Bug fix in ```wdb-data-table``` widget
## 2026-03-08
- [2.8.1] Bug fix in ```build-params.js```
- [2.8.2] Bug fixes for record not found
- [2.8.3] Compine all helpers into one single file ```helper.js```
## 2026-03-05
- [2.8.0] Add dobo's transaction support
## 2026-02-22
- [2.7.1] Bug fix in query parser
## 2026-02-20
- [2.7.0] Update ```WdbBtnColumns``` to allow untick ID field too
- [2.7.0] Bug fix in theme & iconset resolver
- [2.7.0] Add capability to set value from ```prop.values``` in ```WdbTable```
- [2.7.0] Bug fix in query builder
- [2.7.0] Add capability to handle value from ```prop.values``` in ```getSchemaExt()```
## 2026-02-18
- [2.6.0] Update attribute functions from ```waibu```
- [2.6.0] Bug fix in ```getSchemaExt()```'s ```applyLayout()```
- [2.6.1] Bug fix in ```getSchemaExt()```
## 2026-02-15
- [2.5.0] Add ```findAllRecord()```
## 2026-02-08
- [2.4.0] Add ```timeZone``` options in ```formatRow()```
## 2026-02-04
- [2.3.2] Bug fix in ```detailsHandler()```
- [2.3.2] Bug fix in ```getOneRecord()```
- [2.3.3] Bug fix in calling ```getOneRecord()``` without scope
## 2026-02-03
- [2.3.1] Bug fix in widget menu direction
- [2.3.1] Bug fix in widget's fields visibility
## 2026-01-30
- [2.3.0] Record ID that passed to ```getRecord()```, ```removeRecord()```, ```updateRecord()``` now get screened first against auto query produced by ```req``` object
## 2026-01-24
- [2.2.2] Remove annoying console.log trap
## 2026-01-24
- [2.2.0] Model's option can now be sent through ```modelOpts``` object in ```options``` handler
- [2.2.0] ```prepCrud()``` now accept model instance or model name only
- [2.2.0] ```getSchemaExt``` now accept model instance or model name only
## 2026-01-21
- [2.1.7] Bug fix in page titles
## 2026-01-19
- [2.1.6] Bug fix in app title
- [2.1.6] Add some missing translations
## 2026-01-17
- [2.1.4] Bug fix
- [2.1.5] Add capability to set custom theme & iconset through headers
## 2026-01-16
- [2.1.2] Bug fix in model references
## 2026-01-13
- [2.1.1] Bug fix in waibuMpa's widgeting system
## 2025-12-28
- [2.1.0] Ported to ```bajo@2.2.x``` & ```dobo@2.2.x``` specs