Releases: Safe-DS/DSL
Releases · Safe-DS/DSL
v0.14.1
v0.14.0
0.14.0 (2024-05-02)
Features
this
expression (#1111) (c7bd0fa), closes #1107 #1110- allow literal types as upper bounds of type parameters (#1102) (c14159b), closes #1081
- Check truthiness of value (#1131) (0b059a1)
- check usages of
@PythonName
and@PythonCall
on overriding methods (#1100) (3021166) - partial code generation for multiple targets (#1114) (5461a1b), closes #1079
- Stubs for
safe-ds
version 0.22.1 (#1130) (6f7100d) - various methods to work with strings (#1112) (b6d4f16), closes #1108
- visibility modifiers for any module member (#1104) (3d43d38), closes #1083
Bug Fixes
⚠️ Breaking Changes ⚠️
Table.tagColumns
is now calledTable.toTabularDataset
and expects names of extra columns instead of feature columns- Migration Step 1: Rename your call.
- Migration Step 2: Rename the parameter
featureNames
toextraNames
. - Migration Step 3: Specify everything that should be neither target nor feature in
extraNames
.
TaggedTable
is now calledTabularDataset
and has a greatly reduced interface:- Migration: Finish processing your
Table
before you create aTabularDataset
.
- Migration: Finish processing your
isFitted
is now always an attribute instead of a function:- Migration: You must no longer call it.
v0.13.0
0.13.0 (2024-04-24)
Features
- allow schemas in pipeline files (#1080) (9508178), closes #1077
- annotations
@Category
and@Tags
(#1061) (e45a4c9), closes #1021 - check if latest runner is installed (#1097) (93432bb), closes #1096
- do not check whether optional type parameters of classes can be inferred (#1090) (31b8a28), closes #1084 #1084
- generate nested functions for expression lambdas (#1062) (f79fd61)
- mark schemas as experimental (#1089) (09faaf0), closes #1078
- print values via code lens (#1072) (f338023), closes #1032
- run pipeline via code lens (#1068) (392154d)
- show image via code lens (#1071) (bd0946b), closes #984
Bug Fixes
- import error when exploring tables in pipelines that call segments (#1074) (e34b3ff)
- pass optional arguments of memoized calls by name (#1095) (39d9e5a), closes #1087
- possible restart loop after installing the runner (#1073) (7206d62)
- runner not shutting down when extension was closed (#1094) (77a0c1f)
- stub for
Table.transformColumn
(#1065) (aa43316) - type check arguments of annotation calls (#1060) (09ca1cf)
v0.12.0
0.12.0 (2024-04-18)
Features
- better error if
+
is used for string concatenation (#1044) (8be49c5) - collapse class/literal types in inlay hints (#1053) (7db2820), closes #1048
- deps: require latest runner (
v0.11.0
) (#1058) (7ae1f6b) - don't stop validation at syntax errors (#1049) (db0c5d7)
- error if name of static member equals name of inherited member (#1054) (b8e17af)
- hide classes that are only for typing from auto-completion (#1056) (50851d7), closes #1026
- ignore parameter names for default values and yields (#1059) (dde4de0)
- ignore parameter names when type checking arguments (#1052) (a1e6717), closes #1046
- installer for the runner (#1038) (2bde594)
- map literals are no longer experimental (#1039) (1d9af4b)
- separate VS Code languages for pipeline/stub/tests (#1043) (8147480)
- support for examples in documentation comments (#1045) (3da6d6f), closes #1027
- updater for the runner (#1042) (610d45b)
Bug Fixes
v0.11.0
0.11.0 (2024-04-10)
Features
- add
toFloat
methods forInt
andString
(#1018) (55a2050) - fine-grained control over inlay hints for parameter names (#1016) (2667caf)
- messaging service (#1004) (dcf4ecf)
- semantic highlighting of block lambda results (#1011) (228733c)
- start runner in language server (#1006) (ef4bb6f)
- stubs for int conversions (#1008) (b635f5a)
- support relative paths (#1019) (3d3f28d)
- trigger EDA tool via code lenses (#1010) (eb6e4b6)
Bug Fixes
- consumption of source maps (#1005) (ea3da87)
- disable global EDA panel cache (#1014) (f888027)
- generation of dynamic member function calls with memoization + propagating of impurity information across chained calls (#1015) (19015c3), closes #1012 #1013
- only spawn one runner process and shut it down properly (#1009) (2c72cee)
- show EDA tool for
TaggedTable
andTimeSeries
(#1017) (ffae98a)
v0.10.0
0.10.0 (2024-04-06)
Features
- add settings to enable inlay hints individually (#992) (b0f3e62)
- filter suggestions by node type (#999) (8d22e67), closes #998
- forbid instance and static class members with same name (#988) (7fa6fd4)
- improved completion provider (#997) (61e776b), closes #41
- inlay hints for inferred types of lambda parameters (#993) (c064e0e)
- mark entire type cast as wrong if cast is impossible (#991) (72d4e2e)
- profiling in EDA tool (#954) (854122c), closes #929
- require
safe-ds-runner>=0.8.0,<0.9.0
(#976) (1003e6c) - resolve name paths in
@link
tags in documentation (#978) (b59d6f0)
Bug Fixes
- catch internal errors caused by wrong synthetic nodes created by completion provider (#1001) (8a6ab99)
- chained memoized calls (#987) (df89291)
- correctly import declarations for member functions (#983) (79f9b08)
- error in Python generator for assignments with class/enum variant call as RHS (#977) (46b2bb2), closes #975
- generation of memoized class member calls (#982) (ed06aef)
- generation of Python imports (#979) (f69d836), closes #974
- invalid Python code generated for constructor calls (#981) (c7d006f), closes #980
- Python generation for type casts (#1000) (621ab86)
v0.9.0
0.9.0 (2024-04-01)
Features
unknown
default value of stub parameters (#952) (78103e3), closes #951unknown
type (#973) (4638249), closes #967- add constraints to stubs (#953) (dc5bf3b)
- allow any widening/narrowing type cast (#948) (ce01628)
- checking of parameter bounds (#925) (610604f), closes #18
- Markdown documentation generator (#963) (77d04de), closes #663
- stubs for
safe-ds
library (#950) (155b1c0), closes #926 - VS Code command to dump diagnostics into a JSON file (#928) (34fa884), closes #927
Bug Fixes
v0.8.0
0.8.0 (2024-02-26)
Features
- check the runner version to be compatible (#888) (83378a3), closes #880
- check type parameter bounds for default values and named types (#919) (7003ea6), closes #614
- clamp default values of parameter types to upper bound (#921) (76ad869)
- compute highest common subtype (#901) (5630a9f), closes #860
- compute type parameters for calls (#920) (35dc826), closes #861
- consider nullability of upper type parameter bound in various checks (#892) (940515a)
- constraints for segments (#911) (e57f886), closes #903
- EDA on pipeline Tables (#834) (f42c9aa)
- error if parent type is nullable (#891) (add650d)
- escape characters in string conversion of string constants (#908) (72a9c3c), closes #904
- format upper bound of type parameters (#898) (9d6ce28)
- handle invariant/covariant type parameters when computing lowest common supertype (#868) (4d6cb4e), closes #860 #861
- improve handling of subclasses of lists/maps (#890) (bb0c94b)
- improvements to constraints (#896) (b81bef9), closes #18 #860 #18
- include enum name in string conversion of enum variant types (#907) (1f6502e), closes #902
- scoping for member accesses if receiver has type parameter type (#889) (1277bd1)
- shorter message if runner is started but files have errors (#912) (b611b44), closes #910
- simplify union types containing type parameter types disregarding entry order (#894) (cf6e77e)
- singular type is its own lowest common supertype (#893) (79d611d)
- substitute type parameter when type checking calls (#923) (2e09306), closes #915
- substitute type parameters when checking overridden members (#922) (0e657cf), closes #917
- update to
safe-ds-runner
v0.7.0 (#906) (070f406) - use bounds of type system where possible (#899) (cf92762)
Bug Fixes
v0.7.0
0.7.0 (2024-02-12)
Features
- apply type parameter substitutions of receiver type for member accesses (#859) (5780ed7), closes #23
- check position of usages of variant type parameters (#852) (a2672d7), closes #743
- check whether lower and upper bounds of a type parameter are compatible (#885) (2fc7fe6), closes #875
- check whether type parameter bounds are acyclic (#886) (bcf1a4b), closes #874
- check whether type parameter bounds are named types (#878) (d8b4168), closes #876
- error if type parameter has multiple lower/upper bounds (#870) (6035b76), closes #867
- error if type parameter of class is used in static context (#830) (d5cf420), closes #809
- error if type parameters of functions are variant (#869) (9bf5fec)
- handle type parameter types in type checker (#884) (6b6f738), closes #877
- handle type parameters (part 1) (#856) (8a35558), closes #23
- improve type simplification (#871) (0daafb9)
- Memoization (#827) (d0a6c71)
- null-safe call & indexed access (#872) (f1420a2), closes #857 #858
- optional type parameters (#829) (0e9f67a), closes #739
- optionally generate code without runner integration (#836) (0ed9d6e), closes #831
- pre-load all relevant workspace files before executing pipeline (#822) (67ab766)
- simplify computed types (#866) (bde3274)
- simplify substitutions passed to
computeType
(#873) (aa444d4) - substitute type parameters when checking assignability of overriding members (#865) (a1f24e0), closes #862
- substitute type parameters when computing type of inherited members (#864) (33de1e8), closes #863
- support placeholder queries that only request a subset of data (#826) (1e39300)
- type casts (#838) (66c3666), closes #835