dobo 2.6.4 → 2.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/collect-drivers.js +1 -1
- package/lib/collect-models.js +1 -1
- package/package.json +1 -1
- package/wiki/CHANGES.md +6 -1
package/lib/collect-drivers.js
CHANGED
|
@@ -26,7 +26,7 @@ async function collectDrivers () {
|
|
|
26
26
|
const instance = new Cls(this, name)
|
|
27
27
|
if (!(instance instanceof DoboDriver)) this.fatal('invalidDriverClass%s%s', this.ns, name)
|
|
28
28
|
me.drivers.push(instance)
|
|
29
|
-
me.log.trace('- %s', name)
|
|
29
|
+
me.log.trace('- %s:%s', this.ns, name)
|
|
30
30
|
}, { glob: 'driver/*.js', prefix: this.ns })
|
|
31
31
|
await runHook(`${this.ns}:afterCollectDrivers`)
|
|
32
32
|
this.log.debug('collected%s%d', this.t('driver'), this.drivers.length)
|
package/lib/collect-models.js
CHANGED
|
@@ -255,7 +255,7 @@ async function createSchema (item) {
|
|
|
255
255
|
if (item.base) {
|
|
256
256
|
for (const ns of this.app.getAllNs()) {
|
|
257
257
|
const plugin = this.app[ns]
|
|
258
|
-
const glob = `${plugin.dir.pkg}/extend/dobo/extend/${item.ns}/
|
|
258
|
+
const glob = `${plugin.dir.pkg}/extend/dobo/extend/${item.ns}/model/${item.base}.*`
|
|
259
259
|
const files = await fastGlob(glob)
|
|
260
260
|
for (const file of files) {
|
|
261
261
|
const extender = await readConfig(file, { ns: plugin.ns, ignoreError: true })
|
package/package.json
CHANGED
package/wiki/CHANGES.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 2026-02-17
|
|
4
|
+
|
|
5
|
+
- [2.6.5] Bug fix on model extender
|
|
6
|
+
- [2.6.5] Bug fix on trace logging
|
|
7
|
+
|
|
3
8
|
## 2026-02-05
|
|
4
9
|
|
|
5
|
-
- [2.6.
|
|
10
|
+
- [2.6.4] Bug fix on driver options, ```noCheckUnique``` must be perform in ```create```, ```update``` and ```upsert```
|
|
6
11
|
|
|
7
12
|
## 2026-02-03
|
|
8
13
|
|