Fixes #7468 The fix is pretty simple: we reuse the existing functionality for importing stuff and generating expressions. It fixes issues with `Nothing` or `Report_Unmatched` types. https://github.com/enso-org/enso/assets/6566674/4e7addf9-2175-4f2a-a571-4ef823de5cb0 While debugging, I found it easier to work with a suggestion database when exported to some external format. Hence, I implemented serde serialization support for database entries and also a new debug shortcut <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>u</kbd> to dump all entries to the console.
91 KiB
Next Release
Visual Environment
- Camera is panned to newly created nodes.
- Long names on the Node Searcher's list are truncated. The part of the name that doesn't fit in the Searcher's window is replaced with an ellipsis character ("…").
- Magnet Alignment algorithm is used while placing new nodes. When we find an available free space for a new node, the node gets aligned with the surrounding nodes horizontally and vertically. This helps to preserve a nice grid-like layout for all the nodes.
- Nodes created via the TAB key or by clicking the (+) button on the screen are now placed below all the selected nodes when more than one node is selected. (Previously, they were placed below the first node that was selected.) This makes it easier to achieve a compact, vertical layout of the graph.
- Nodes created near existing nodes via the TAB key or by dropping a connection are now repositioned and aligned to existing nodes. This is to make the resulting graph prettier and avoid overlapping. In such cases, created nodes will be placed below an existing node or on the bottom-left diagonal if there is no space underneath.
- Nodes can be added to the graph by double-clicking the output ports of existing nodes (or by clicking them with the right mouse button).
- Node Searcher preserves its zoom factor. The visible size of the node searcher and edited node is now fixed. It simplifies node editing on non-standard zoom levels.
- Nodes can be added to the graph by clicking (+) button on the screen. The button is in the bottom-left corner. Node is added at the center or pushed down if the center is already occupied by nodes.
- Maximum zoom factor is limited to 1.0x if IDE is not in Debug Mode.
- Debug Mode for Graph Editor can be activated/deactivated using a shortcut. It allows access to a set of restricted features. See debug-shortcuts.
- New nodes can be created by dragging and dropping a connection on the scene.
- Node connections can be dropped by pressing the Esc key while dragging them.
- Added support of source maps for JS-based visualizations.
- Fixed the alignment of newly created nodes to existing nodes with visualizations enabled. When applicable, new nodes are now placed below visualizations. (Previously, they were placed to the left of the visualizations.)
- Fixed histograms coloring and added a color legend.
- Lazy visualization for scatter plot.
- Fixed broken node whose expression contains non-ASCII characters.
- Fixed developer console warnings about views being created but not registered.
- Fixed developer console errors related to Language Server (mentioning code 3003 and "Invalid version"), occurring during project opening and after new node cration.
- Fixed developer console error about failing to decode a notification "executionContext/visualisationEvaluationFailed"
- New Version of the Node Searcher - the Component Browser The available
methods, atoms and functions are presented in nice, categorized view. The most
popular tools are available at hand. The panel is unstable, and can be
disabled with the
--enable-new-component-browser=false
flag. - Fixed error handling during startup. This prevents entering IDE into a "zombie" state, where processes were started but not visible to user. They could cause issues with starting further IDE instances.
- New nodes are created in the project source when the searcher is opened and a new node is created.
- Proper Polyglot Vector and Array Support
- IDE uses new visualization API.
- Visualization of long textual values improved
- Selecting a suggestion from the searcher or component browser now updates the visualisation of the edited node to preview the results of applying the suggestion.
- Remove here keyword from IDE.
- Shortcut changes: Pressing
Enter
when no node is edited opens Component Browser. Entering node shortcut changed tocmd
+Enter
. - Added support for scrolling by pressing and holding a mouse button on a scrollbar.
- Added scroll bounce animation which activates when scrolling past the end of scrollable content.
- The default text visualisation now loads its content lazily from the backend. This means that the visualisation cannot be overwhelmed by large amounts of data.
- Added project snapshot saving on shortcut
- The color of the displayed project name indicates whether the project's current state is saved in a snapshot. The project name is darker when the project is changed from the last saved snapshot and lighter when the snapshot matches the current project state.
- Added shortcut to interrupt the program
- Added suggestion dropdown for function arguments. The dropdown is present only when the argument is of type that has a predefined set of values.
- Separate component browser navigator sections for modules imported from different namespaces
- Internal components (private API) are not displayed in the component browser.
- The correct default visualisation for tables is shown on new nodes.
- Added restoring of last project snapshot on shortcut.
- Added contextual suggestions to argument dropdowns. Dropdowns will now contain suggestions which are based on evaluated data.
- Added a shortcut to show internal components (private API) in the component browser.
- Improved component browser entry filtering and sorting. The component browser will now provide suggestions matching either the component's label or the corresponding code.
- Improved argument placeholder resolution in more complex expressions. It is now possible to drop node connections onto missing arguments of chained and nested function calls.
- The component browser suggestions take into account entry aliases. The searcher input is now matched to entry aliases too. The alias match is used to filter and sort component browser entries.
- The Component Browser icons are cached on texture improving its performance on slower machines.
- Fixed missing result preview when editing nodes.
- Application retries its initialization after failures, allowing a reconnecting after connectivity problems.
- Improved Component Browser Filtering. The best match is always selected first, and the groups are rearranged, so the best matches are on the bottom.
- Named arguments syntax is now recognized in IDE. Connections to function arguments will now use named argument syntax instead of inserting wildcards on all preceding arguments.
- Added boilerplate React app for authorization via Cognito+AWS Amplify. This PR adds a React app that renders the dashboard (which has been ported from the cloud. The dashboard displays a list of projects, and allows users to open them in the IDE (which is not part of the React app, but can be switched to from the dashboard). The PR also adds authentication+authorization (i.e., sign up and sign in for users), via either email/password or GitHub/Google.
- New Enso documentation parser. Smaller and faster; enables planned improvements to internal documentation representation.
- Dropdown widgets now support custom labels and automatically generate shortened labels for entries with long module paths. When an option is selected from the dropdown, the necessary module imports are inserted, eliminating the need for fully qualified names.
- The IDE now has a new UI element for selecting the execution mode of the project.
- Added tooltips to icon buttons for improved usability. Users can now quickly understand each button's function.
- File associations are created on Windows and macOS. This allows opening Enso files by double-clicking them in the file explorer.
- AI-powered code completions. It is now possible to get AI-powered completions when using node searcher with Tables.
- Added capability to create node widgets with complex UI. Node widgets such as dropdown can now be placed in the node and affect the code text flow.
- The IDE UI element for selecting the execution mode of the project is now sending messages to the backend..
- Feedback when renaming a project. When the user tries to rename the project to an invalid name, a helpful error message is shown and the text field stays the same as to give the user the opportunity to fix the mistake.
- Area selectionof nodes no longer takes into account the visualisation that belongs to the node..
- List Editor Widget. Now you can edit lists by clicking buttons on nodes or by dragging the elements.
- Visualisations now show a loading spinner while waiting on data..
- Fixed text visualisations which were being cut off at the last line.
- Fixed a bug where, when scrolling or dragging on a full-screen visualization, the view of the graph changed as well.
- Changed the shortcut for restoring to the last saved version of a project from cmd+r to cmd+shift+r to make it less likely that it would be triggered by accident. As a consequence, the program execution shortcuts changed from cmd+shift+t/r to cmd+alt+t/r.
- Fixed a bug where selecting a nested breadcrumb would cause the order of breadcrumbs to change incorrectly.
- Changed the shortcut to show the full-screen visualization for a node from space space to shift+space. so that it doesn't interfere with the shortcut for toggling the small visualization.
- Cloud dashboard, which supersedes the startup screen. Features also added in various other PRs. The new dashboard includes tables for projects, folders, files and secrets, a list of templates from which new projects can be created, a user menu, and a search bar.
- The Application will try to reload file in backend on synchronization failure. It should make it more resilient to connectivity issues and occasional bugs. The reload may be forced by the user with cmd+shift+x shortcut.
- When selecting a function from the main module through the component browser,
it is now referenced via the
Main
namespace instead of the project namespace, e.g.Main.func1
instead ofMyProject.func1
. This makes it robust against project name changes. - Added a button to return from an opened project back to the project dashboard.
- Keyboard shortcuts for graph editing are now disabled when the full-screen visualization is active.
- A loading animation is now shown when opening and creating projects, as the previous behaviour of showing a blank screen while the project was being loaded was potentially confusing to users.
- Error message is displayed in the status bar when the backend reports execution failed.
- Performance and readability of documentation panel was improved. The documentation is now split into separate pages, which are much smaller.
- IDE no longer inserts redundant imports when selecting options from dropdown widgets. The code was unified with the component browser, and it now correctly handles reexports and already existing imports.
- Fixed cursor position when ctrl-clicking the node. Sometimes ctrl-clicking to edit the node placed the mouse cursor in the wrong position in the text. This is fixed now.
- Added prototype AI Searcher that can be used to create new nodes from natural language input
- Allow visualization resizing. Now the user can adjust the visualization size by dragging its right and bottom borders. Visualization width also follows the node's width, and visualizations are aligned to the left side of the node.
- Component Browser was redesigned. The three columns of groups turned out to be non-practical, as they give too much information to comprehend. Also, filtering results was kept in groups making second-best match not easily available. Therefore, we introduced a new, impler CB design with single column.
- Help chat. The link to the Discord server is replaced with a chat bridge to the Discord server. This is intended to have the chat visible at the same time as the IDE, so that help can be much more interactive.
- New breadcrumbs design. Breadcrumbs now optionally show the icon of the item they represent. They also follow the new design of the component browser.
- [The libraries' authors may put entities to groups by adding GROUP tag in the docstring]. It was requested as more convenient way than specifying full names in package.yaml.
- Graph editor node was redesigned. Nodes have a color and icon matching the selected entry in the component browser. Clear separating lines between method arguments were added. The node selection was made easier with additional thick interactive selection border.
- The shortcut for opening Component Browser was changed to enter
- Connections to lamdas are displayed correctly. It is possible to drag a connection to any expression inside the lambda body.
- [Atom types in dropdowns do not produce redundant imports][#7670]. The possibility of imports conflicts is reduced.
- Copying and pasting a single node. Using the common cmd+C and cmd+V shortcuts, it is now possible to copy a single selected node and paste its code to the graph or another program.
EnsoGL (rendering engine)
- You can change font and set letters bold in the
text::Area
component. Use theset_font
andset_bold_bytes
respectively. - Fixed a text rendering issue in nested sublayer.
- Added a new component: Grid View. It's parametrized by Entry object, display them arranged in a Grid. It does not instantiate all entries, only those visible, and re-use created entries during scrolling thus achieving great performance. There are variants of grid view with selection and highlight, scrollbars, and both.
- Massive improvements of text rendering performance. Different text instances are now reusing the shape shaders and the same sprite system under the hood. This drastically reduces the amount of required draw calls for scenes with a lot of text.
- Text rendering quality improvements. Glyphs are now hinted in a better way. Also, additional fine-tuning is performed per font and per host operating system.
- Display objects can now emit and receive events in the same style as JavaScript DOM events. The events system implements very similar behavior to the one described here: https://javascript.info/bubbling-and-capturing.
- Added a new component: Slider. It allows adjusting a numeric value with the mouse. The precision of these adjustments can be increased or decreased.
- Slider component functionality improvements. The slider component now supports multiple ways to handle out-of-range values. The slider's value can be edited as text, and a new vertical slider layout is available.
- Added ProjectsGrid view for Cloud Dashboard. It provides the first steps towards migrating the Cloud Dashboard from the existing React (web-only) implementation towards a shared structure that can be used in both the Desktop and Web versions of the IDE.
- Removed Cloud Dashboard. The Cloud Dashboard was being rewritten in EnsoGL but after internal discussion we've decided to rewrite it in React, with a shared implementation between the Desktop and Web versions of the IDE.
- Added a new component: Dropdown. A list of selectable labeled entries, suitable for single and multi-select scenarios.
- Compile-time shader optimizer was implemented. It is capable of extracting non-optimized shaders from the compiled WASM artifacts, running stand-alone optimization toolchain (glslc, spirv-opt, spirv-cross), and injecting optimized shaders back to WASM during its initialization process. Unfortunately, it caused our theme system to stop working correctly, because generated shaders differ per theme (only light theme is available, the dark theme has been disabled). We will support multiple themes in the future, but this is not on our priority list right now.
- Performance monitor was extended with the ability to print details of actions performed in a given frame. In particular, you can now inspect names of all symbols rendered in a given frame. You can also pause the performance monitor and inspect results recorded in the past.
- ToggleButtons can now have tooltips.
- Rendering of tooltips was improved. Their text is now more vertically centered and the delay before showing them was extended.
- Accurate GPU performance measurements have been implemented. It is possible now to track both the time spent on both the CPU and the GPU sides.
Enso Standard Library
- Implemented
Vector.distinct
allowing to remove duplicate elements from a Vector - Implemented
Duration.time_execution
allowing timing of the execution of an expression within the UI - Improved performance of
Vector.filter
andVector.each
; implementedVector.filter_with_index
. MadeVector.at
accept negative indices and ensured it fails with a dataflow error on out of bounds access instead of an internal Java exception. - Implemented the
Table.select_columns
operation. - Implemented the
Table.remove_columns
andTable.reorder_columns
operations. - Implemented the
Table.sort_columns
operation. - Fixed
Vector.sort
to handle tail-recursive comparators - Implemented
Range.find
,Table.rename_columns
andTable.use_first_row_as_names
operations - Implemented
Text.at
andText.is_digit
methods - Implemented
Runtime.get_stack_trace
together with some utilities to process stack traces and code locations - Implemented
Vector.flatten
- Significant performance improvement in
Natural_Order
and newFaker
methods added toStandard.Test
- Implemented
Integer.parse
- Made
Text.compare_to
correctly handle Unicode normalization - Extend
Text.contains
API to support regex and case insensitive search. - Implemented new
Text.take
andText.drop
functions, replacing existing functions - Implemented new
Text.starts_with
andText.ends_with
functions, replacing existing functions - Implemented
Text.to_case
, replacingText.to_lower_case
andText.to_upper_case
- Implemented initial
Table.group_by
function on Standard.Table - Implemented
Text.pad
andText.trim
- Updated
Text.repeat
and added*
operator shorthand - General improved Vector performance and new
Vector.each_with_index
,Vector.fold_with_index
andVector.take
methods. - Implemented new
Text.insert
method - Implemented
Bool.compare_to
method - Implemented
Map.first
,Map.last
functions. ExpandedTable.group_by
to also compute mode, percentile, minimum, maximum. - Implemented
Text.location_of
andText.location_of_all
methods. - Replaced
Table.group_by
withTable.aggregate
- Implemented
Panic.catch
and helper functions for handling errors. Added a type parameter toPanic.recover
to recover specific types of errors. - Added warning handling to
Table.aggregate
- Improved performance of
Table.aggregate
and full warnings implementation - Implemented
Text.reverse
- Implemented support for most Table aggregations in the Database backend.
- Update
Text.replace
to new API. - Add encoding support to
Text.bytes
andText.from_bytes
. Renamed and added encoding toFile.read_text
. NewFile.read
API. - Improved the
Range
type. Added adown_to
counterpart toup_to
andwith_step
allowing to change the range step. - Aligned
Text.split
API with other methods and addedText.lines
. - Implemented a basic reader for the
Delimited
file format. - Implemented a reader for the
Excel
file format. - Added custom encoding support to the
Delimited
file format reader. - Implemented
compute
method onVector
for statistics calculations. - Promote get and put to be methods of Ref type rather than of Ref module
- Implemented
Table.parse_values
, parsing text columns according to a specified type. - Promote with, take, finalize to be methods of Managed_Resource instance
- Implemented automatic type detection for
Table.parse_values
. - Integrated value parsing with the
Delimited
file reader. - Implemented the
Infer
setting for headers in theDelimited
file format and made it the default. - Implemented a
Table.from Text
conversion allowing to parse strings representingDelimited
files without storing them on the filesystem. - Added rank data, correlation and covariance statistics for
Vector
- Implemented
Table.order_by
for the SQLite backend. - Implemented
Table.order_by
for the PostgreSQL backend. - Implemented
Table.order_by
for the in-memory table. - Renamed
File_Format.Text
toPlain_Text
, updatedFile_Format.Delimited
API and added builders for customizing less common settings. - Allow control of sort direction in
First
andLast
aggregations. - Implemented
Text.write
, replacingFile.write_text
. - Removed obsolete
select
,group
,sort
and releated types from tables. - Removed obsolete
from_xls
andfrom_xlsx
functions. Added support for reading column names from first row inFile_Format.Excel
- Added
File_Format.Delimited
support toTable.write
for new files. - Adjusted
Database.connect
API to new design. - Added
File_Format.Excel
support toTable.write
for new files. - identity,const,flip,curry,uncurry functions
- Added append support for
File_Format.Excel
. - Added support for custom encodings in
File_Format.Delimited
writing. - Allow filtering caught error type in
Error.catch
. - Implemented
Append
mode forFile_Format.Delimited
. - Added
Vector.write_bytes
function and removed oldFile.write_bytes
- Added
line_endings
andcomment_character
options toFile_Format.Delimited
. - Fixed the case of various type names and library paths
- Added support for parsing
.pgpass
file andPG*
environment variables for the Postgres connection - Added
Regression
to theStandard.Base
library and removed legacyModel
type fromStandard.Table
. - Created
Index_Sub_Range
type and updatedText.take
andText.drop
. - Added
Vector.from_polyglot_array
to makeVector
s backed by polyglot Arrays - Updated
Vector.take
andVector.drop
and removed their obsolete counterparts. - Short-hand syntax for
order_by
added. - Expanded
Table.at
to support index access and addedTable.column_count
method. - Removed
Array.set_at
. - Added various date part functions to
Date
andDate_Time
. - Implemented
Table.take
andTable.drop
for the in-memory backend. - Implemented specialized storage for the in-memory Table.
- Implemented
Table.distinct
for the in-memory backend. - Added
databases
,schemas
,tables
support to database Connection. - Implemented
start_of
andend_of
methods for date/time types allowing to find start and end of a period of time containing the provided time. - Implemented
type_of
andis_of_type
methods for getting the type of a value and comparing types, respectively. - Implemented
work_days_until
for counting work dys between dates andadd_work_days
which allows to shift a date by a number of work days. - Added
query
andread
functions to Database connections. - Added
Date_Period.Week
tostart_of
andend_of
methods. - Replaced
Table.where
with a new API relying onTable.filter
. - Added
Filter_Condition
toVector
,Range
andList
. - Extended
Filter_Condition
withIs_Empty
,Not_Empty
,Like
andNot_Like
. - Reimplemented
Duration
as a built-in type. - Implemented
Table.replace_text
for in-memory table. - Extended
Filter_Condition
withIs_In
andNot_In
. - Replaced
Table.drop_missing_rows
withfilter_blank_rows
with an updated API. - Replaced
Table.drop_missing_columns
withTable.remove_columns Column_Selector.Blank_Columns
by adding the new column selector variant. - Implemented
Table.rows
giving access to a vector of rows. - Define Enso epoch start as 15th October 1582
- Implemented
Period
type - Implemented new functions on Column and added expression syntax support to create derived Columns.
- Added support for milli and micro seconds, new short form for rename_columns and fixed issue with compare_to versus Nothing
- Aligned
Text.match
/Text.locate
API - There is a new API to lazily feed visualisation information to the IDE.
- Added
transpose
andcross_tab
to the In-Memory Table. - Improvements to JSON, Pair, Statistics and other minor tweaks.
- Overhauled the JSON support (now based of JavaScript),
Data.fetch
and other minor tweaks - Enable Date, Time and DateTime to be read and written to Excel.
- Aligning core APIs for Vector, List and Range. Adding some missing functions to the types.
- Implemented
Table.distinct
for Database backends. - Implemented
Table.union
for the in-memory backend. - Implemented
Table.cross_join
andTable.zip
for the in-memory backend. - Updated
Text.starts_with
,Text.ends_with
andText.contains
to new simpler API. - Updated
Table.set
to new API. NewColumn.parse
function and added case sensitivity toFilter_Condition
and column functions. - Updated column selector APIs and new
Excel_Workbook
type. - Moved regex functionality out of
Text.locate
andText.locate_all
intoText.match
andText.match_all
. File.parent
may returnNothing
.- Removed non-regex functionality from
is_match
,match
, andmatch_all
, and renamed them tomatch
,find
,find_all
(respectively). - Updated
rename_columns
to new API. Addedfirst_row
,second_row
andlast_row
to Table types - Introducing
Meta.Type
. - Remove many regex compile flags; separated
match
intomatch
andmatch_all
. - Aligned names of columns created by column operations.
- Improved
cross_tab
. Renamedfill_missing
andis_missing
tofill_nothing
andis_nothing
. Addedfill_empty
. - Removed many regex compile flags from
replace
; addedonly_first
anduse_regex
flag. - Implemented proper support for Value Types in the Table library.
- Removed many regex compile flags from
split
; addedonly_first
anduse_regex
flag. - Added
Text.tokenize
- Added support for Date/Time columns in the Postgres backend and added
year
/month
/day
operations to Table columns. Text.split
can now take a vector of delimiters.- Add
has_warnings
,remove_warnings
andthrow_on_warning
extension methods. - Implemented
Table.union
for the Database backend. - Array & Vector have the same methods & behavior
- Implemented
Table.split
andTable.tokenize
for in-memory tables. - Added
trim
andreplace
toColumn
. Enhanced number parsing with support for thousands and decimal point automatic detection. - Implemented
Table.parse_text_to_table
. - Added
Table.parse_to_columns
. - Added parsing methods for
Integer
,Decimal
,Json
,Date
,Date_Time
,Time_Of_Day
,Time_Zone
, andURI
toText
. - Implemented
create_database_table
allowing upload of in-memory tables. - Added execution context control to writing files and dry run capabilities to
Text.write
. - Implemented
create_database_table
allowing saving queries as database tables. - Implemented
Column.format
for in-memoryColumn
s. - Added
at_least_one
flag toTable.tokenize_to_rows
. - Moved
Redshift
connector into a separateAWS
library. - Added
Date_Range
. - Implemented the
cast
operation forTable
andColumn
. - Added
.round
and.int
toInteger
andDecimal
. - Added
.round
,.truncate
,.ceil
, and.floor
toColumn
. - Added execution control to
Table.write
and various bug fixes. - Implemented
Table.add_row_number
. - Handling edge cases in rounding.
- Split
Table.create_database_table
intoConnection.create_table
andTable.select_into_database_table
. - Speed improvements to
Column
.truncate
,.ceil
, and.floor
. - Implemented addition and subtraction for
Date_Period
andTime_Period
. - Added AWS credential support and initial S3 list buckets API.
- [Added
round
,ceil
,floor
,truncate
to the In-Database Column type] 6988 - Implemented
Table.update_database_table
. - Removed
module
argument fromenso_project
and other minor tweaks. - Integrated Database write operations with Execution Contexts.
Column.fill_nothing
and.fill_empty
no longer rename the column. AddedTable.fill_nothing
and.fill_empty
.- Implemented
add_row_number
for Database tables. - [Added
replace
to in-memory table. Changed replace forText
, in-memoryColumn
, and in-memoryTable
to take aRegex
in addition to aText
.] 7223 - Added
cross_join
support to database tables. - Improving date/time support in Table - added
date_diff
,date_add
,date_part
and some shorthands. ExtendedTime_Period
with milli-, micro- and nanosecond periods. - Implemented
replace
on database columns. - Retire
Column_Selector
and allow regex based selection of columns. Text.parse_to_table
can take aRegex
.- Expose
Text.normalize
. - Implemented new value types (various sizes of
Integer
type, fixed-length and length-limitedChar
type) for the in-memoryTable
backend. - Introducing generic
Any.to
conversion method - Added
take
anddrop
to database tables. - Added ability to specify expected value type in
Column.from_vector
,Column.map
andColumn.zip
.
Enso Compiler
- Added overloaded
from
conversions. - Upgraded to Graal VM 21.3.0
- Added the ability to decorate values with warnings.
- Fixed issues related to constructors' default arguments
- Fixed compiler issue related to module cache.
- Fixed execution of defaulted arguments of Atom Constructors
- Converting Enso Date to java.time.LocalDate and back
- Incremental Reparsing of a Simple Edits
- Functions with all-defaulted arguments now execute automatically
- Provide
tagValues
for function arguments in the language server - Delay construction of Truffle nodes to speed initialization
- Frgaal compiler integration to allow for latest Java constructs
- Support for Chrome developer tools --inspect option
- Move Builtin Types and Methods definitions to stdlib
- Reduce boilerplate by generating BuiltinMethod nodes from simple method signatures
- Generate boilerplate classes related to error handling and varargs in builtins from method signatures
- Avoid needless concatenations of warning/error messages
- Added a full-blown DSL for builtins
- Integration of Enso with Ideal Graph Visualizer
- Lazy evaluation of RHS argument for || and &&
- Drop Core implementation of IR
- Replace
this
withself
- Introduce a smaller version of the standard library, just for testing
- Remove
here
and make method name resolution case-sensitive - Explicit
self
- Added benchmarking tool for the language server
- Support module imports using a qualified name
- Using parser written in Rust.
- Enable caching in visualisation functions
- Update Scala compiler and libraries
- Support importing module methods
- Support Autosave for open buffers
- Generate native-image for engine-runner
- Support pattern matching on constants
- Builtin Date_Time, Time_Of_Day and Zone types for better polyglot support
- Implement new specification of data types:
type
has a runtime representation, every atom has a type - main = "Hello World!" is valid Enso sample
- Invalidate module's IR cache if imported module changed
- Don't rename imported Main module that only imports names
- Notify node status to the IDE
- Make instance methods callable like statics
- Distinguish static and instance methods
- By-type pattern matching
- Fix performance of method calls on polyglot arrays
- Improved support for static and non-static builtins
- Missing foreign language generates proper Enso error
- Connecting IGV 4 Enso with Engine sources
- Made Vector performance to be on par with Array
- Introduced IO Permission Contexts
- Accept Array-like object seamlessly in builtins
- Initialize Builtins at Native Image build time
- Split Atom suggestion entry to Type and Constructor
- Any number can be converted to double
- Update to GraalVM 22.3.0
- Connecting IGV 4 Enso with Engine sources
- Add the
Self
keyword referring to current type - Support VCS for projects in Language Server
- Support multiple exports of the same module
- Import modules' extension methods only with unqualified imports
- Support expression evaluation in chromeinspector console
- Don't export polyglot symbols
- From/all import must not include module in name resolution
- Vector returns warnings of individual elements
- Enso.getMetaObject, Type.isMetaInstance and Meta.is_a consolidation
- Add executionContext/interrupt API command
- Any.== is a builtin method
- Simplify exception handling for polyglot exceptions
- Simplify compilation of nested patterns
- IGV can jump to JMH sources & more
- Basic support of VSCode integration
- Sync language server with file system after VCS restore
ArrayOverBuffer
behaves like anArray
andArray.sort
no longer sorts in place- Implement hashing functionality for all objects
- Introducing Meta.atom_with_hole
- Report failures in name resolution in type signatures
- Attach visualizations to sub-expressions
- Add Meta.get_annotation method
- Resolve Fully Qualified Names
- Optimize Atom storage layouts
- Make instance methods callable like statics for builtin types
- Convert large longs to doubles, safely, for host calls
- Consistent ordering with comparators
- Profile engine startup
- Report type of polyglot values
- Engine can now recover from serialization failures
- Use sbt runEngineDistribution
- Update to GraalVM 22.3.1
- Cache library bindings to optimize import/export resolution
- Comparators support partial ordering
- Merge ordered and unordered comparators
- Use SHA-1 for calculating hashes of modules' IR and bindings
- Don't install Python component on Windows
- Detect potential name conflicts between exported types and FQNs
- Ensure calls involving warnings remain instrumented
- One can define lazy atom fields
- Replace IOContexts with Execution Environment and generic Context
- Vector.sort handles incomparable types
- Removing need for asynchronous thread to execute ResourceManager finalizers
- Warning.get_all returns only unique warnings
- Reimplement
enso_project
as a proper builtin - Limit number of reported warnings per value
- Suggestions are updated only when the type of the expression changes
- Add project creation time to project metadata
- Upgrade GraalVM to 22.3.1 JDK17
- Ascribed types are checked during runtime
- Add compiler pass that discovers ambiguous and duplicated symbols
- Improve and colorize compiler's diagnostic messages
- Execute some runtime commands synchronously to avoid race conditions
- Automatic conversion for runtime checked arguments
- Scala 2.13.11 update
- Add special handling for static method calls on Any
- Improve parallel execution of commands and jobs in Language Server
- Added retries when executing GraalVM updater
- Add method call info for infix operators
executionComplete
response is sent on successful execution only- Send info about function values
- Cache dataflow errors
- Add endpoint for downloading a project
- Update to GraalVM 23.0.0
- Using official BigInteger support
- Allow users to give a project other than Upper_Snake_Case name
- Support renaming variable or function
- Replace custom logging service with off the shelf library
- Only use types as State keys
- Allow Java Enums in case of branches
- Notification about the project rename action
- Use
numpy
& co. from Enso! - Changed layout of local libraries directory, making it easier to reference projects next to each other
Enso 2.0.0-alpha.18 (2021-10-12)
Enso Compiler
- [Updated Enso engine to version 0.2.30][engine-0.2.31]. If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Visual Environment
- Fixed freezing after inactivity. When the IDE window was minimized or covered by other windows or invisible for any other reason for a duration around one minute or longer then it would often be frozen for some seconds on return. Now it is possible to interact with the IDE instantly, no matter how long it had been inactive.
Enso 2.0.0-alpha.17 (2021-09-23)
Visual Environment
- Correct handling of command-line flags. Command line arguments of the
form
--backend=false
or--backend false
are now handled as expected and turn off the "backend" option. The same fix has been applied to all other boolean command-line options as well. - Visualizations will be attached after project is ready. This addresses a rare issue when initially opened visualizations were automatically closed rather than filled with data.
Enso Compiler
- Updated Enso engine to version 0.2.30. If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.16 (2021-09-16)
Visual Environment
- Auto-layout for new nodes. When a node is selected and a new node gets created below using Tab then the new node is automatically positioned far enough to the right to find sufficient space and avoid overlapping with existing nodes.
Enso Compiler
- Updated Enso engine to version 0.2.29. If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Visual Environment
Enso 2.0.0-alpha.15 (2021-09-09)
Visual Environment
- Fixed parsing of the
--no-data-gathering
command line option. Flag's name has been changed to--data-gathering
, so now--data-gathering=false
and--data-gathering=true
are supported as well.
Enso 2.0.0-alpha.14 (2021-09-02)
Visual Environment
- Visualization previews are disabled. Previously, hovering over a node's output port for more than four seconds would temporarily reveal the node's visualization. This behavior is disabled now.
Enso Compiler
- Updated Enso engine to version 0.2.28. If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.13 (2021-08-27)
Enso Compiler
- Updated Enso engine to version 0.2.27. If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.12 (2021-08-13)
Visual Environment
- Improvements to visualization handling. These improvements are fixing possible performance issues around attaching and detaching visualizations.
- GeoMap visualization will ignore points with
null
coordinates. Now the presence of such points in the dataset will not break initial map positioning.
Enso Compiler
- Updated Enso engine to version 0.2.26. If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.11 (2021-08-09)
This update contains major performance improvements and exposes new privacy user settings. We will work towards stabilizing it in the next weeks in order to make these updates be shipped in a stable release before the end of the year.
Visual Environment
- New look of open project dialog. Now it has a "Open project" title at the top.
- Documentation coments are displayed next to the nodes..
Enso Compiler
- [Updated Enso engine to version 0.2.22][1762]. If you are interested in the enhancements and fixes made to the Enso compiler, you can find out more details in the engine release notes.
Visual Environment
- Fixed a bug where edited node expression was sometimes altered. When
editing node expression, the changes were occasionally reverted, or the
grayed-out parameter names were added to the actual expression.
Enso 2.0.0-alpha.10 (2021-07-23)
Enso Compiler
- Updated Enso engine to version 0.2.15. If you're interested in the enhancements and fixes made to the Enso compiler, you can find out more details in the engine release notes.
Enso 2.0.0-alpha.9 (2021-07-16)
Visual Environment
- Improved undo-redo. Node selection, enabling/disabling visualisations and entering a node are now affected by undo/redo and are restored on project startup.
Enso 2.0.0-alpha.8 (2021-06-09)
Enso Compiler
- Updated Enso engine to version 0.2.12. If you're interested in the enhancements and fixes made to the Enso compiler, you can find out more details in the engine release notes.
Enso 2.0.0-alpha.7 (2021-06-06)
Visual Environment
- User Authentication. Users can sign in to Enso using Google, GitHub or email accounts.
Visual Environment
- Fix node selection bug . Fix nodes not being deselected correctly in some circumstances. This would lead to nodes moving too fast when dragged [1650] or the internal state of the project being inconsistent [1626].
Enso 2.0.0-alpha.6 (2021-06-28)
Visual Environment
- [Profling mode.][1546] The IDE contains a profiling mode now which can be entered through a button in the top-right corner or through the keybinding ctrl+p. This mode does not display any information yet. In the future, it will display the running times of nodes and maybe more useful statistics.
- Area selection. You can now select multiple nodes at once. Just click and drag on the background of your graph and see the beauty of the area selection appear.
- Opening projects in application graphical interface. Press
cmd
+o
to bring the list of projects. Select a project on the list to open it. - Initial support for undo-redo. Press cmd+z to undo last action and cmd+z to redo last undone action. This version of undo redo does not have proper support for text editor and undoing UI changes (like selecting nodes).
EnsoGL (rendering engine)
Visual Environment
- Nodes in graph no longer overlap panels. The Searcher, project name, breadcrumbs and status bar are displayed "above" nodes.
Enso Compiler
Enso 2.0.0-alpha.5 (2021-05-14)
Visual Environment
- Create New Project action in Searcher. When you bring the searcher
with tab having no node selected, a new action will be available next to the
examples and code suggestions:
Create New Project
. When you choose it by clicking with mouse or selecting and pressing enter, a new unnamed project will be created and opened in the application. Then you can give a name to this project. - Signed builds. Our builds are signed and will avoid warnings from the operating system about being untrusted.
EnsoGL (rendering engine)
- Components for picking numbers and ranges.. We now have some internal re-usable UI components for selecting numbers or a range. Stay tuned for them appearing in the IDE.
Visual Environment
- Delete key will delete selected nodes. Only the non-intuitive backspace key was assigned to this action before.
- It is possible to move around after deleting a node with a selected visualization. Deleting a node while its attached visualization was selected made it impossible to pan or zoom around the stage afterwards. This error is fixed now.
- Fixed an internal error that would make the IDE fail on some browser.. Instead of crashing on browser that don't support the feature we use, we are now just start a little bit slower.
Enso Compiler
If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.4 (2021-05-04)
Visual Environment
- Window management buttons.. The IDE now has components for "fullscreen" and "close" buttons. They will when running IDE in a cloud environment where no native window buttons are available.
- Customizable backend options. When invoking Enso IDE through command
line interface, it is possible to add the
--
argument separator. All arguments following the separator will be passed to the backend. - Added
--verbose
parameter. If--verbose
is given as command line argument, the IDE and the backend will produce more detailed logs.
Visual Environment
- Some command line arguments were not applied correctly in the IDE. Some arguments were not passed correctly to the IDE leading to erroneous behavior or appearance of the electron app. This is now fixed.
Enso Compiler
If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.3 (2020-04-13)
Visual Environment
- The status bar reports connectivity issues. The IDE maintains a connection to the Enso Language Server. If this connection is lost, any unsaved and further work will be lost. In this build we have added a notification in the status bar to signal that the connection has been lost and that the IDE must be restarted. In future, the IDE will try to automatically reconnect.
- Visualizations can now be maximised to fill the screen by selecting the node and pressing space twice. To quit this view, press space again.
- Visualizations are previewed when you hover over an output port. There is now a quick preview for visualizations and error descriptions. Hovering over a node output will first show a tooltip with the type information and then, after some time, will show the visualization of the node. This preview visualization will be located above other nodes, whereas the normal view, will be shown below nodes. Errors will show the preview visualization immediately. Nodes without type information will also show the visualization immediately. You can enter a quick preview mode by pressing ctrl (or command on macOS), which will show the preview visualization immediately when hovering above a node's output port.
- Database Visualizations. Visualizations for the Database library have been added. The Table visualization now automatically executes the underlying query to display its results as a table. In addition, the SQL Query visualization allows the user to see the query that is going to be run against the database.
- Histogram and Scatter Plot now support Dataframes. The
Table
andColumn
datatypes are properly visualized. Scatter Plot can display points of different colors, shapes and sizes, all as defined by the data within theTable
. - Many small visual improvements. See the source issue for more details.
- The dark theme is officially supported now. You can start the IDE with the
--theme=dark
option to enable it. - You can hide the node labels with the
--no-node-labels
option. This is useful when creating demo videos. - Added a Heatmap visualization. Just as for the Scatter Plot, it
supports visualizing
Table
, but alsoVector
. - Add a background to the status bar.
- Display breadcrumbs behind nodes and other objects.
- Image visualization.. Visualizations for the Enso Image library. Now
you can display the
Image
type and a string with an image encoded in base64. The histogram visualization has been adjusted, allowing you to display the values of the precomputed bins, which is useful when the dataset is relatively big, and it's cheaper to send the precomputed bins rather than the entire dataset. - [Output type labels.][1427] The labels, that show the output type of a node on hover, appear now in a fixed position right below the node, instead of a pop-up, as they did before.
Visual Environment
- Not adding spurious imports. Fixed cases where the IDE was adding unnecessary library imports when selecting hints from the node searcher. This makes the generated textual code much easier to read, and reduces the likelihood of accidental name collisions.
- Hovering over an output port shows a pop-up with the result type of a node. This allows easy discovery of the result type of a node, which can help with both debugging and development.
- Visualizations can define the context for preprocessor evaluation. Users can now decide which module's context should be used for visualization preprocessor. This allows providing visualizations with standard library functionalities or defining utilities that are shared between multiple visualizations.
- Fixed an issue with multiple instances of the IDE running. This fixes an issue where multiple instances of the IDE (or even other applications) could lead to the IDE not working.
- Allow JS to log arbitrary objects. Previously using
console.log
in a visualisation or during development would crash the IDE. Now it correctly logs the string representation of the object. This is great for debugging custom visualizations. - Fix the mouse cursor offset on systems with fractional display scaling. The cursor now works with any display scaling, instead of there being an offset between the visible cursor and the cursor selection.
- Disable area selection. The area selection was visible despite being non-functional. To avoid confusion, area selection has been disabled until it is correctly implemented.
- Fix an error after adding a node. Sometimes, after picking a suggestion, the inserted node was spuriously annotated with "The name could not be found" error.
- Handle syntax errors in custom-defined visualizations. The IDE is now able to run properly, even if some of the custom visualizations inside a project contain syntax errors.
- Fix issues with pasting multi-line text into single-line text fields. The line in the copied text will be inserted and all additional lines will be ignored.
- Users can opt out of anonymous data gathering. This can be done with
the
--no-data-gathering
command-line flag when starting the IDE. - Provide a theming API for JavaScript visualizations. It is now possible to use the Enso theming engine while developing custom visualizations in JavaScript. You can query it for all IDE colors, including the colors used to represent types.
- You can now start the IDE service without a window again. The command
line argument
--no-window
now starts all the required backend services again, and prints the port on the command line. This allows you to open the IDE in a web browser of your choice. - JS visualizations have gestures consistent with the IDE. Panning and zooming now works just as expected using both a trackpad and mouse.
- Running
watch
command works on first try.. Running the build commandrun watch
would fail if it was run as the first command on a clean repository. This now works. - The
inputType
field of visualizations is actually taken into consideration. The visualization chooser shows only the entries that work properly for the node's output type. - Fix applying the output of the selected node to the expression of a new
node. For example, having selected a node with
Table
output and adding a new node with expressionat "x" == "y"
, the selected node was applied to the right side of==
:at "x" == operator1."y"
instead ofoperator1.at "x" == "y"
. Enso_Project.data
is visible in the searcher.- The Geo Map visualization recognizes columns regardless of the case of their
name. This allows visualizing tables with columns like
LONGITUDE
orLongitude
, where previously onlylongitude
was recognized. - It is possible now to switch themes. Additionally, the theme manager
was integrated with the FRP event engine, which has been a long-standing issue
in the IDE. Themes management was exposed to JavaScript with the
window.theme
variable. It is even possible to change and develop themes live by editing theme variables directly in the Chrome Inspector. Use the following command to give this a go:theme.snapshot("t1"); theme.get("t1").interactiveMode()
. - The active visualization is highlighted. Now it is clearly visible when the mouse events are passed to the visualization.
- Fixed an issue where projects containing certain language constructs failed to load.
- Fixed a case where IDE could lose connection to the backend after some time.
- Improved the performance of the graph editor, particularly when opening a project for the first time.
EnsoGL (rendering engine)
- Unified shadow generation. Added a toolset to create shadows for arbitrary UI components.
Enso Compiler
If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.2 (2020-03-04)
This is a release focused on bug-fixing, stability, and performance. It improves the performance of workflows and visualizations, and improves the look and feel of the graphical interface. In addition, the graphical interface now informs the users about errors and where they originate.
- Learn how to define custom data visualizations in Enso.
- Learn how to use Java libraries in Enso, to build a webserver.
- Learn how to use Javascript libraries in Enso, to build custom server-side website rendering.
- Discover why Enso Compiler is so fast and how it was built to support a dual-representation language.
- Learn more about the vision behind Enso and about its planned future.
Visual Environment
- Errors in workflows are now displayed in the graphical interface. Previously, these errors were silently skipped, which was non-intuitive and hard to understand. Now, the IDE displays both dataflow errors and panics in a nice and descriptive fashion.
- Added geographic map support for Tables (data frames). Tables that
have
latitude
,longitude
, and optionallylabel
columns can now be shown as points on a map. - Added a shortcut for live reloading of visualization files. This drastically improves how quickly new visualizations can be tested during their development. This is currently limited in that, after reloading visualization definitions, the currently visible visualizations must be switched to another and switched back to refresh their content. See the video podcast about building custom visualizations to learn more.
- Added a visual indicator of the ongoing standard library compilation. Currently, each time IDE is started, the backend needs to compile the standard library before it can provide IDE with type information and values. Because of that, not all functionalities are ready to work directly after starting the IDE. Now, there is a visible indication of the ongoing background process.
- Added the ability to reposition visualisations. There is now an icon in the visualization action bar that allows dragging the visualization away from a node. Once the visualization has been moved, another icon appears that can pin the visualization back to the node.
- There is now an API to show Version Control System (like Git) status for nodes.
Visual Environment
- You can now use the table visualization to display data frames. Please note, that large tables will get truncated to 2000 entries. This limitation will be lifted in future releases.
- Performance improvements during visual workflow. Nodes added with the searcher will have their values automatically assigned to newly generated variables, which allows the Enso Engine to cache intermediate values and hence improve visualization performance.
- Minor documentation rendering fixes. Fixed cases where text would be misinterpreted as a tag, added support for new tag types, added support for more common characters, properly renders overflowing text.
- Improved handling of projects created with other IDE versions. The IDE is now better at dealing with incompatible metadata in files, which stores node visual position information, the history of chosen searcher suggestions, etc. This will allow IDE to correctly open projects that were created using a different IDE version and prevent unnecessary loss of metadata.
- Pressing and holding up and down arrow keys make the list view selection move continuously.
- The shortcuts to close the application and to toggle the developer tools at runtime now work on all supported platforms.
- The loading progress indicator remains visible while IDE initializes. Previously the loading progress indicator completed too quickly and stopped spinning before the IDE was ready. Now it stays active, giving a visual indication that the initialization is still in progress.
- Fixed visual glitch where a node's text was displayed as white on a white background. Most notably this occurred with the output node of a function generated using the node collapse refactoring.
- Many visual glitches were fixed, including small "pixel-like" artifacts appearing on the screen.
- Several parser improvements. The parser used in the IDE has been
updated to the latest version. This resolves several issues with language
constructs like
import
, lambdas, and parentheses, whereupon typing certain text the edit could be automatically reverted. - The auto-import functionality was improved. Libraries'
Main
modules are omitted in expressions inserted by the searcher. For example, thepoint
method ofGeo
library will be displayed asGeo.point
and will insert importGeo
instead ofGeo.Main
. - Cursors in text editors behave correctly now (they are not affected by scene pan and zoom). This was possible because of the new multi-camera management system implemented in EnsoGL.
- Fixed method names highlighted in pink. There was a bug introduced
after one of the latest Engine updates, that sent
Unresolved_symbol
types, which made all methods pink. This is fixed now.
EnsoGL (rendering engine)
- A new multi-camera management system, allowing the same shape systems to be rendered on different layers from different cameras. The implementation automatically caches the same shape system definitions per scene layer in order to minimize the amount of WebGL draw calls and hence improve performance.
- A new depth-ordering mechanism for symbols and shapes. It is now possible to define depth order dependencies between symbols, shapes, and shape systems.
- Various performance improvements, especially for the text rendering engine.
- Display objects handle visibility correctly now. Display objects are not visible by default and need to be attached to a visible parent to be shown on the screen.
Enso Compiler
If you're interested in the enhancements and fixes made to the Enso compiler, you can find their release notes here.
Enso 2.0.0-alpha.1 (2020-01-26)
This is the first release of Enso, a general-purpose programming language and environment for interactive data processing. It is a tool that spans the entire stack, going from high-level visualization and communication to the nitty-gritty of backend services, all in a single language.
Anonymous Data Collection
Please note that this release collects anonymous usage data which will be used to improve Enso and prepare it for a stable release. We will switch to opt-in data collection in stable version releases. The usage data will not contain your code (expressions above nodes), however, reported errors may contain brief snippets of out of context code that specifically leads to the error, like "the method 'foo' does not exist on Number". The following data will be collected:
- Session length.
- Graph editing events (node create, dele, position change, connect, disconnect, collapse, edit start, edit end). This will not include any information about node expressions used.
- Navigation events (camera movement, scope change).
- Visualization events (visualization open, close, switch). This will not include any information about the displayed data nor the rendered visualization itself.
- Project management events (project open, close, rename).
- Errors (IDE crashes, WASM panics, Project Manager errors, Language Server errors, Compiler errors).
- Performance statistics (minimum, maximum, average GUI refresh rate).