Skip to content

0.10.0

Latest
Compare
Choose a tag to compare
@gwgrubbs gwgrubbs released this 03 Apr 14:55
d0c4962

dbExpression has graduated from HatTrick Labs with this release and is on its own!

Added

  • Filter expressions are less restrictive, can now (for example) perform greater than/less than, etc on strings

Changed

  • Removed HatTrick Labs references in all source files, assets, etc.
  • Code gen now prefers a filename of dbexpression.config.json
  • Additional settings for code generation that is required if dbExpression is to operate in "static" mode (i.e. without dependency injection)

Fixed

  • Better handling of tokens and exceptions in events that causes async/await issues in certain scenarios

Breaking Changes

  • All namespaces changed from a prefix of HatTrick.DbEx to dbExpression. All using statements will have to be changed to this new namespace prefix.
  • Tools update is required. Uninstall HatTrick.DbEx.Tools and install DbExpression.Tools (see docs for install example)
  • If an output directory is not specified in the config file, the new default location of "dbExpression" (not "DbEx") will be used
  • Files generated by the CLI tool will not be prefixed with "DbEx", i.e. "DbExDataService.cs" -> "DataService.cs". Ensure after generation that "old" files have been deleted
  • If dbExpression is used statically using the db accessor, additional configuration is required ("runtime") in the config file. (See "runtime" in docs)