π Breaking Changes
- Replace Value::Opt- and Empty to Value::Null! panarch (169)
`Value` is simplified and now it only has 5 types.
No more `Empty` and `Opt-` prefixed types.
rust
pub enum Value {
Bool(bool),
I64(i64),
F64(f64),
Str(String),
Null,
}
π Features
- Add validation to CREATE \& ALTER TABLE panarch (184)
Changes
- Merge Prepared & Execute in `execute.rs` KyGost (167)
- Remove `Value::from_data_type`, merge to `TryFromLiteral` trait for `Value` panarch (181)
- Add custom `enum Literal`, it replaces `ast::Value` panarch (180)
- Remove `Value::clone_by`, replace to `Value::TryFrom` panarch (172)
Refactoring `Evaluated` enum
- Apply `Cow` to `Evaluate`, remove -Ref types panarch (179)
- Add `EvaluatedRef` to clean `Evaluated` binary operation codes panarch (177)
- Remove `Evaluated::StringRef`, panarch (176)
- Rename `AstValue` to `Literal`, panarch (170)
π Bug Fixes
- Fix type validation to check all possible branches from INSERT & UPDATE panarch (183)
- Remove fake unreachable errors in EvaluateError panarch (173)