Skip to content

Commit

Permalink
v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
I3oris committed Sep 12, 2022
1 parent cea6562 commit daf388e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
40 changes: 38 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# 0.5.1 (Mon Sep 12 2022)

### New
* The auto-completion behavior is improved:
* Now entries are narrowed as the user types.
* Matching part of the name are now displayed in bright.
* Auto-completion is available on inner of `def` (Experimental)
* It takes account of parameter types:
```cr
def foo(a, b : String, c = 0, *args, **options)
a.| # => Any
b.| # => String
c.| # => Int32
args.| # => Tuple(Any)
options. | # => NamedTuple()
```
* It takes account of scope.
* A new fictitious type `Any` is introduced, bypassing the semantics check on `Call`. (`foo(<Any>).bar.baz # => Any`)
* The following is not yet supported:
* Block parameter
* Instance var parameter
* Free vars
* Class def
* Def in generic type.
* Auto-completion now works inside a `Array`.
* Update to the last crystal version (1.5.1).

### Bugs fix
* Fix bad unindent on `include` (unindent still work for `in`).
* Fix broken auto-completion after `.class`.
* Fix broken auto-completion after a suffix `if`.

### Internal
* Fix wrong `CRYSTAL_PATH` in Makefile (preventing to add lib dependency).
* Remove some ameba excludes.

# 0.5.0 (Fry Jul 15 2022)

### New
Expand Down Expand Up @@ -135,7 +171,7 @@
### Note
The project change his goal, it not aims to reproduce an interpreter, it aims to provide a nice interface to wrap crystal interpreter

# 0.2.1 (Fri Nov 12 2022)
# 0.2.1 (Fri Nov 12 2021)

### Commits
* Fix multiline not trigger on `begin\rescue`
Expand Down Expand Up @@ -251,4 +287,4 @@ The project change his goal, it not aims to reproduce an interpreter, it aims to
* improve the command interface!

# 0.1.0
* ICR is coming!
* ICR is coming!
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ic
version: 0.5.0
version: 0.5.1
description: REPL Interface wrapping Crystal Interpreter (crystal-i).
authors:
- I3oris
Expand Down
2 changes: 1 addition & 1 deletion src/ic.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require "./repl"
require "option_parser"

module IC
VERSION = "0.5.0"
VERSION = "0.5.1"
end

repl = Crystal::Repl.new
Expand Down

0 comments on commit daf388e

Please sign in to comment.