Cao-lang

Latest version: v0.2.5

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 12

0.1.109

Bug Fixes

- Do not panic if cast_match fails ([e6164f8](e6164f8ace581d93a7b7cba9be945226c9eb6616))
- Fix min/max. Fix for-each altering table orders ([83f5d9f](83f5d9f9a0f83f81d8cab3902b5657ad1d08bb63))
- Fix non-identity key functions being ignored by min/max ([48a63e8](48a63e8a4cdada5782ded277fa624d18b6e55b38))
- Fix an issue in the HashMap implementation that could lead to spurious lookup failures after removing items ([3e33f23](3e33f2375ac3d65387721d5a2aac9c781f9df354))

Features

- [**breaking**] Native functions must return a Value on success instead of manipulating the stack for return values ([a38355f](a38355f04ee39a3a26429202736d66a599c81c03))
- Add a method for native functions to call cao-lang ([aa97618](aa976188b958db393a1bcc52a7aed6bf7e8b5074))
- Standard lib sort function ([5dbcf28](5dbcf28cf6cfd7111e4c5b3cbfa950e3aca00421))
- Add anonymous functions ([2c480f6](2c480f6d97f58083ba27c61bcc3ae069615ec9ea))
- Nested functions ([7451789](745178931a019eeb5ba87b7fd03f89595fe1fcb4))
- Function can capture variables from enclosing scopes ([1e4598f](1e4598f55369c833a872cc92235a8525b0517307))

Refactor

- [**breaking**] Return an object with `key` `value` keys when getting a row from a table ([71874c9](71874c9f65abc51863fc0de24a25c1e2cbd7a543))
- Rename Lanes to Functions ([52f8b44](52f8b44ecf12edf27432975f98b85b36b1bbbb92))
- [**breaking**] Rename `register_native_function` ([a72f480](a72f480bef8f170047f82c1a6714e912a2f1ad94))
- [**breaking**] Remove function serialization ([1eae87d](1eae87dd531f4af33f0ab52343debfea1ea480e6))

0.1.108

Bug Fixes

- Fix table remove ([8482a01](8482a0115eb78da8efc722d544da412da2a1dc79))
- Fix min/max by key ignoring the first row ([694081c](694081c3717e96161152f2369b1ab0b8ca5a8796))
- Help native functions not to GC freshly allocated objects ([4a15edb](4a15edb72614f05004f99aa0d09b0914856da459))

Refactor

- [**breaking**] Create an Object type for all Cao-Lang objects, currently it wraps Tables ([e6d7154](e6d7154f98903e16de902ab3735f81d50f6595fb))
- [**breaking**] Cao-Lang strings are now Cao-Lang objects. This fixes a memory leak introduced by the new allocator ([9514d3c](9514d3c9fec697c34dbd03dc142787c90d6c0641))
- [**breaking**] Remove ClearStack card ([49342ac](49342ac3e4fbcd12ecd063e8cca60aaa36baef46))

0.1.107

Features

- Add append/pop table ([fa09cd7](fa09cd7e14d5120c1743f8c2c549bf761ed9daca))
- Add array card ([200180f](200180f1fa5eaa654b10b436bb0f61b0f8c46c03))

Refactor

- [**breaking**] Rename FieldTable -> CaoLangTable ([280cbcd](280cbcd55a0479e1279384f92ba3ff0338f7796b))
- [**breaking**] Tables now respect the order in which keys were inserted ([d78c6a9](d78c6a9674983d7aad00fe20fa19731e8c22b2c0))

0.1.106

Features

- Add map function ([f3493bc](f3493bceebee4897242889a99ef85fd3318f03a0))
- Allow reading the ith element of a Table ([1d8dadb](1d8dadb1da3231e51c8aa2403c93fd025c93576a))
- Add min/max functions ([810c65e](810c65e99475d07e8974724ddfe5b290b34bbff3))
- Add min/max by key ([d816a80](d816a80583450ab268f8dd3d0ef6aaf7743e5fe3))
- Add any ([6c463f9](6c463f96dadc979f622abc18b2d7c1fe8d0c8cbd))

0.1.105

Bug Fixes

- Traces now include their namespace ([3bc0f20](3bc0f2023cea9a9396fa70657ae6a4b5ce803fa2))

Features

- Init the standard library ([29ee7c8](29ee7c89e1cba98e5a5d92afd97f0d7109a92991))
- Read property shorthands ([1d89e0c](1d89e0c7270537b8d89269649af7ad279101766d))
- Set property shorthands ([e347ad5](e347ad5c860e1d104c4d3392053536c398872904))

Refactor

- Rename ForEach variable ([b5e3125](b5e31252cd84148e2234f69c0e7d4a16d52144ed))
- [**breaking**] Move the `value` parameter on `SetProperty` to the first place ([a61a936](a61a9362689099c33d551e2653834a84d3bc6f66))

Break

- Remove subprogram desc ([f641a01](f641a017ed75dc938a6ada81737095875502363c))

0.1.104

Features

- Add Function values, redefine Jump card in terms of Function value ([7420433](7420433966fc66f8a75dd0d73b8b856d54d6e6b3))
- DynamicJump card ([b509962](b509962912edbee27874cb87f6656d388a16c700))

Refactor

- Manual PartialOrd impl for Value ([33fe786](33fe786c8b56376cb5040502ed3a1211d270986b))

Page 2 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.