Skip to content

Releases: valhuber/LogicBank

Fix formula pruning

26 Apr 19:06
Compare
Choose a tag to compare

Fix for issue 12 - Formulas not executed if no references to other attributes.

Also introduces logic_row.is_inserted() (etc), a simplest alternative to logic_row.ins_upd_dlt == "ins".

Syntax warning fixes

05 Mar 02:36
Compare
Choose a tag to compare

Under VSCode (not PyCharm), rule declarations were flagged as type mismatches for derivation rules. This is corrected.

Fixed SQLAlchemy dependency version

01 Oct 14:51
Compare
Choose a tag to compare

No longer loads not-yet-compatible SQLAlchemy 1.4.x

Fix bad warning message

21 Feb 02:27
Compare
Choose a tag to compare

Fix Warning: Missing Parent message

LogicRow.get_derived_attributes()

06 Feb 01:02
Compare
Choose a tag to compare

0.9.0 - Add logicRow.get_derived_attributes, which can be used to enforce behaviors such as Unalterable Derivations.

0.8.0 Extensible Constraint Exception Handling

05 Jan 01:41
Compare
Choose a tag to compare

0.7.0 - Custom Exceptions, Improved docstrings, samples (and Tutorial) reorganized into examples folder

0.8.0 - Custom Exceptions callback signature changed from 0.7.0 to include additional parameters - see link above

0.6.0 - Rule Extensibility, Auditing, Generic Events

27 Dec 19:01
Compare
Choose a tag to compare
  • Rule Extensibility

    • e.g., for auditing
  • Generic early events: early_row_event_all_classes (see Rule Extensibility link above)

    • e.g., for time/date stamping
  • New LogicRow functions (see Rule Extensibility link above):

    • are_attributes_changed

    • set_same_named_attributes

  • Minor rename of logic class in nw. Some screen shots may still show the old name (rules_bank.py) instead of logic.py.

  • Bug Fix: (normal) row events weren't firing (other events - early and commit events - were fine)

0.5.1 - Server Provisions

23 Dec 00:26
68d8420
Compare
Choose a tag to compare

Internal changes to support domain object constructors with complex (side effects) init behavior; use row_mapper.column_attrs (not all_orm_descriptors) to avoid ‘flush already in progress’ when using flask_sqlalchemy

0.5.0 - Referential Integrity (Parent Lookup)

21 Dec 19:39
Compare
Choose a tag to compare

This release introduces Rule.parent_check to augment SQLAlchemy referential integrity support. For details, see Referential Integrity.. Uploaded to PyPi, as version 0.5.0.

0.4.0 - Remove engine from runtime, cleanup nw/test setup, LogicBankUtils upgrade

11 Dec 05:22
Compare
Choose a tag to compare

Reported issues with the use of engine are fixed by removing such references from the runtime. This had affected creating APIs and Web Apps in Flask.

The cumbersome test setup has been simplified as described here.

To enable Logic Bank to be installed with prefixes, a new version of LogicBankUtils is used (0.6.) that supports wildcards, such as LogicBank*. Important if you are refreshing, you must update, e.g., like this

pip uninstall LogicBankUtils
pip install LogicBankUtils