orange-orm 5.0.0-beta.8 → 5.0.0

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.
@@ -10102,7 +10102,7 @@ function requireNewOneLeg () {
10102
10102
  c.expand = relation.expand;
10103
10103
 
10104
10104
  c.accept = function(visitor) {
10105
- visitor.visitOne(c);
10105
+ return visitor.visitOne(c);
10106
10106
  };
10107
10107
 
10108
10108
  return c;
package/dist/index.mjs CHANGED
@@ -10103,7 +10103,7 @@ function requireNewOneLeg () {
10103
10103
  c.expand = relation.expand;
10104
10104
 
10105
10105
  c.accept = function(visitor) {
10106
- visitor.visitOne(c);
10106
+ return visitor.visitOne(c);
10107
10107
  };
10108
10108
 
10109
10109
  return c;
package/docs/changelog.md CHANGED
@@ -1,9 +1,12 @@
1
1
  ## Changelog
2
2
  __5.0.0__
3
3
  Breaking: `getAll` was removed. Use `getMany` instead (now with the same signature as the removed `getAll`).
4
+ Breaking: `getOne` no longer accepts a filter as the first argument. Move the filter to the strategy `where` clause (same pattern as `getMany`).
4
5
  ExpressJS: Before/after hooks to facilitate row-level security [#135](https://github.com/alfateam/orange-orm/issues/135)
5
6
  SQLite: Support for invoking user-defined functions [#145](https://github.com/alfateam/orange-orm/issues/145)
6
7
  Support for enums [#100](https://github.com/alfateam/orange-orm/issues/100)
8
+ __4.9.2__
9
+ Bugfix: getManyDto/getMany with parallel hasOne + discriminator could return null columns. [#147](https://github.com/alfateam/orange-orm/issues/147)
7
10
  __4.9.1__
8
11
  Fix: Avoid double-quoting aliases in discriminator join SQL [#144](https://github.com/alfateam/orange-orm/issues/144)
9
12
  __4.9.0__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orange-orm",
3
- "version": "5.0.0-beta.8",
3
+ "version": "5.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -16,7 +16,7 @@ function newLeg(relation) {
16
16
  c.expand = relation.expand;
17
17
 
18
18
  c.accept = function(visitor) {
19
- visitor.visitOne(c);
19
+ return visitor.visitOne(c);
20
20
  };
21
21
 
22
22
  return c;