Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Gleam v1.5.0 #26

Merged
merged 213 commits into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
55fca4f
Use older version of release upload action
lpil Aug 4, 2024
d5e0be4
Fix crash
GearsDatapacks Aug 4, 2024
cd997ff
Fix go to definition for unqualified functions
GearsDatapacks Jul 31, 2024
e4d96da
Add `no-print-progress` flag to `run` and `build`
crazymerlyn Aug 10, 2024
79368ed
Changes!
lpil Aug 14, 2024
ec5d9a5
Fix confusing `There must be a let to bind variable to value` error
sobolevn Jul 30, 2024
c3d1f41
Fix CI
sobolevn Jul 30, 2024
59cc3bf
Fix CI
sobolevn Jul 30, 2024
e292de1
Fix CI
sobolevn Jul 30, 2024
b0de94c
Address review
sobolevn Jul 30, 2024
4cfeab9
Address review
sobolevn Jul 30, 2024
97df4e2
Update changelog
sobolevn Aug 14, 2024
c651260
Fix another compiler crash for duplicate constructor definition
GearsDatapacks Aug 13, 2024
582ed24
Changelog
GearsDatapacks Aug 13, 2024
6bd2619
Add missing @internal
lpil Aug 16, 2024
2978dfe
Do not create intermediate vector in `pipe.infer_each_expression`
sobolevn Jul 31, 2024
113fd31
Fix JS generation bug
lpil Aug 16, 2024
651a508
Clippy
lpil Aug 16, 2024
f250125
Fix tag generation URL in docs for some VCSs
sobolevn Aug 15, 2024
ab2fdf6
Changes!
lpil Aug 16, 2024
123fd44
Correct name
lpil Aug 16, 2024
97f4b8d
Use `ast` type aliases where possible
sobolevn Aug 1, 2024
b5f5578
Fix CI
sobolevn Aug 1, 2024
4bb9156
Refactor: use `not_in_tail_position` in `javascript/expression.rs`
sobolevn Aug 1, 2024
b20c275
Allow to omit utf8 option in literal string bit array segments
giacomocavalieri Aug 16, 2024
502c825
Add term printer
GearsDatapacks Jul 17, 2024
f9afea0
Implement `ValueNames` struct
GearsDatapacks Jul 27, 2024
bd77799
Fix term printing for shadowed constructors
GearsDatapacks Jul 29, 2024
a483a9b
Tweak wording
lpil Aug 16, 2024
23afd51
Remove debug
lpil Aug 16, 2024
c45208f
Help to infer unannotated `fn` args from the call context
sobolevn Jul 31, 2024
fbacf73
One more test
sobolevn Jul 31, 2024
bf5ff87
More tests!
sobolevn Aug 1, 2024
606322a
Add readme note
sobolevn Aug 16, 2024
15809ca
Replace `typ` with `type_`
giacomocavalieri Aug 16, 2024
750e2a4
Use `SpannedString` alias where possible
sobolevn Aug 17, 2024
d6a0963
Fix bug with code generation
giacomocavalieri Aug 16, 2024
614fc55
Improve lambda functions inference in pipes
sobolevn Aug 17, 2024
1283cf2
One more test
sobolevn Aug 17, 2024
bc8e8bd
Update build.rs
qxrein Aug 7, 2024
3c60aa3
Update build.rs
qxrein Aug 8, 2024
79a7667
formatting fix build.rs
qxrein Aug 16, 2024
a74438c
Improve readability
lpil Aug 17, 2024
f71e32c
Deprecate record pattern matching syntax
giacomocavalieri Aug 18, 2024
3c507e6
Improve error message when accessing module aliases as names
sobolevn Aug 2, 2024
9d4c786
Address review
sobolevn Aug 18, 2024
d828437
Tweak error wording
lpil Aug 19, 2024
de99e70
Clippy
lpil Aug 19, 2024
4d916bc
Fix function calls inference in pipes
sobolevn Aug 18, 2024
82ebb14
Add a hint for a non-module-level named function
sobolevn Aug 18, 2024
60ac11c
Fix lint
sobolevn Aug 18, 2024
5b4c1a3
Add changelog entry
sobolevn Aug 19, 2024
ece5903
fix #3497
vkobinski Aug 16, 2024
3e7b089
Compiler progress in stderr
vkobinski Aug 18, 2024
f7a8d24
Remove unused
lpil Aug 19, 2024
654ea45
CHANGELOG
giacomocavalieri Aug 19, 2024
e63aebe
Correct typo in CHANGELOG.md
rohitpaulk Aug 20, 2024
96f35a4
Fix typo in error message
giacomocavalieri Aug 19, 2024
2178d90
Improve error message on discarded names in case patterns and assignm…
sobolevn Aug 14, 2024
95bc058
Address review
sobolevn Aug 18, 2024
fb5660a
feat: code action to assign `_` to unused value
Frank-III Jul 24, 2024
05ab12f
add tests
Frank-III Jul 24, 2024
f30eb43
chore: clean logs
Frank-III Jul 24, 2024
c118eb5
chore: clean logs
Frank-III Jul 24, 2024
c61542a
update comments
Frank-III Jul 30, 2024
ef3ded6
rework tests
Frank-III Jul 30, 2024
8faec11
I like the new test features!
Frank-III Jul 31, 2024
b5856a7
fix: only show for inner most span
Frank-III Aug 19, 2024
a30a2f9
add changelogs!
Frank-III Aug 19, 2024
82a9549
Fix several bit_array tests on js to expect a compilation error on su…
sobolevn Aug 20, 2024
ec3ea59
Fix CI
sobolevn Aug 20, 2024
c241661
Add a hint about placing functions into types
sobolevn Aug 20, 2024
45b9013
Fix CI
sobolevn Aug 20, 2024
4db7683
Also add a hint for `pub fn`
sobolevn Aug 20, 2024
e24f7b0
Tweak wording
lpil Aug 20, 2024
4ff022c
CHANGELOG
giacomocavalieri Aug 20, 2024
dfa7093
Do not perform analysis if running main of dependency package
giacomocavalieri Aug 19, 2024
1fabdf7
Add test
giacomocavalieri Aug 20, 2024
1d15c09
Address review comments
giacomocavalieri Aug 20, 2024
77c8d9a
Do not load modules if skipping analysis
giacomocavalieri Aug 20, 2024
540d3da
Review comment
giacomocavalieri Aug 20, 2024
0c2ac0e
CHANGELOG
giacomocavalieri Aug 20, 2024
400b027
Move to build tool section
lpil Aug 21, 2024
2779939
Fix new line bug
vkobinski Aug 22, 2024
7fc9c07
Fix warning new line bug
vkobinski Aug 20, 2024
62446c8
Updates test
vkobinski Aug 22, 2024
5a8a4dd
Removed new line complexity
vkobinski Aug 22, 2024
c58982f
chore: html sidebar module name styling
Frank-III Aug 20, 2024
3368010
feat: add padding right and indent
Frank-III Aug 21, 2024
a09e62c
fix REBAR_BARE_COMPILER_OUTPUT_DIR path
gusinacio Aug 11, 2024
d898102
add changelog and test
gusinacio Aug 19, 2024
ae7cb73
document ezstd dep
gusinacio Aug 21, 2024
e664afa
update ci with windows and non-windows test
gusinacio Aug 22, 2024
7afcbb4
Implement code action to import modules
GearsDatapacks Jul 20, 2024
079707b
Change "import module" code action to read from diagnostics,
GearsDatapacks Jul 23, 2024
c40d48a
Add hint for typos in module names
GearsDatapacks Jul 27, 2024
9310907
Improve code action to import modules
GearsDatapacks Aug 21, 2024
af021fc
Address review comments
GearsDatapacks Aug 23, 2024
8e3f1b3
cleanup unused import
Frank-III Aug 25, 2024
ce56ad2
Improve completion test format
lpil Aug 26, 2024
d3cae39
Improve error reporting for inexhaustive case expressions
GearsDatapacks Aug 24, 2024
d89cc89
Changelog
GearsDatapacks Aug 24, 2024
0f3c09e
Fix comments
GearsDatapacks Aug 26, 2024
6969c57
Address review comments
GearsDatapacks Aug 26, 2024
3df253c
Tweak
lpil Aug 27, 2024
0de2b05
Print correct missing patterns for inexhaustive case expressions with…
GearsDatapacks Aug 27, 2024
2e8410e
Make errors consistent
lpil Aug 20, 2024
e91787e
Document errors
lpil Aug 20, 2024
ed460b9
Improved error printing
lpil Aug 20, 2024
b662cdb
Add file attributes
lpil Aug 22, 2024
563fe21
Improve stack printing
lpil Aug 22, 2024
aa3a798
Oops, snapshots
lpil Aug 22, 2024
f9f4b96
Handle windows file attributes in test
lpil Aug 27, 2024
c6484a4
Update panic messages
lpil Aug 27, 2024
0bf6ccc
stderr
lpil Aug 27, 2024
239d32b
Try again!
lpil Aug 27, 2024
adbb8ed
Clippy!
lpil Aug 27, 2024
cfa0d9b
Changes!
lpil Aug 27, 2024
ed4b964
More error printing
lpil Aug 27, 2024
1a1e560
Improve errors more
lpil Aug 27, 2024
866c259
Print linked process exits nicely
lpil Aug 27, 2024
defbce7
Changes!
lpil Aug 27, 2024
a8b06f3
Bump wasm-bindgen from 0.2.92 to 0.2.93
dependabot[bot] Sep 1, 2024
cd5668e
Bump reqwest from 0.12.5 to 0.12.7
dependabot[bot] Sep 1, 2024
8083dd0
Bump thiserror from 1.0.59 to 1.0.63
dependabot[bot] Sep 1, 2024
e187fce
Bump clap from 4.5.13 to 4.5.16
dependabot[bot] Sep 1, 2024
f9edb36
Bump getrandom from 0.2.12 to 0.2.15
dependabot[bot] Sep 1, 2024
7d09bbc
Add code action to fill missing patterns
GearsDatapacks Aug 19, 2024
6e7b0c9
Improve generated code for missing case patterns code action
GearsDatapacks Aug 20, 2024
6423d85
Improve generated code for case expressions with empty lines and no c…
GearsDatapacks Aug 27, 2024
60981bb
Account for case when the case expression doesn't begin the line
GearsDatapacks Aug 29, 2024
aba7640
Clippy
GearsDatapacks Aug 29, 2024
1aee978
Fix typo in `binaryFromSlice` type def
mdarse Sep 1, 2024
0c74ebc
Fix bug for importing modules from pattern constructors
GearsDatapacks Aug 27, 2024
344d8d4
Check target support when a value is imported
GearsDatapacks Sep 3, 2024
1a658c1
Changelog
GearsDatapacks Sep 4, 2024
c33dafd
Bump quinn-proto from 0.11.3 to 0.11.8
dependabot[bot] Sep 3, 2024
db1a4a9
feat: better external target error
Frank-III Aug 29, 2024
1bd83f5
chore:add changelog
Frank-III Aug 29, 2024
8c2db39
add test for unknown external target
Frank-III Sep 1, 2024
84f679e
fix clippy warnings
PgBiel Sep 8, 2024
28e3209
report unused qualified constructors
giacomocavalieri Sep 10, 2024
365fc28
update CHANGELOG
giacomocavalieri Sep 9, 2024
d12da6d
add todo after incomplete use expression
giacomocavalieri Sep 9, 2024
b4055dc
remove additional newline from error message
giacomocavalieri Sep 10, 2024
52ad5fc
Add completions for prelude values
GearsDatapacks Sep 8, 2024
c1f918a
improve error title for unknown module value
giacomocavalieri Sep 5, 2024
aa5d0ef
add helpful error message
giacomocavalieri Sep 5, 2024
f52785e
Infer minimum required version
giacomocavalieri Aug 22, 2024
f7d70ba
Add required_version to PackageInterface
giacomocavalieri Aug 22, 2024
d6b7cea
Little fix
giacomocavalieri Aug 22, 2024
4ba3a82
Add version inference tests
giacomocavalieri Aug 22, 2024
991051f
remove useless file
giacomocavalieri Aug 22, 2024
6b2a511
more tests!
giacomocavalieri Aug 22, 2024
7f569d0
Use version range instead of string in PackageConfiguration
giacomocavalieri Aug 24, 2024
c3be479
add warning for gleam version range that is too permissive
giacomocavalieri Sep 7, 2024
f34d847
refactor feature usage tracking
giacomocavalieri Sep 8, 2024
906579c
do not allow to publish packages with wrong version range
giacomocavalieri Sep 8, 2024
5450a3b
tests
giacomocavalieri Sep 8, 2024
ae12fa5
track location of externals to provide better error message
giacomocavalieri Sep 9, 2024
47997f1
keep track of internal annotation location
giacomocavalieri Sep 9, 2024
7bbc586
clippy!
giacomocavalieri Sep 9, 2024
1cf32e9
rename field
giacomocavalieri Sep 9, 2024
80182f7
comments
giacomocavalieri Sep 9, 2024
fa98bb7
fix minimum required version
giacomocavalieri Sep 12, 2024
9013caa
print something
giacomocavalieri Sep 12, 2024
a240aca
clippy
giacomocavalieri Sep 12, 2024
b6a6662
CHANGELOG
giacomocavalieri Sep 12, 2024
de3a645
switch from arc to rc for the warning emitter
giacomocavalieri Sep 12, 2024
9b715e8
Print what is changed by fix
lpil Sep 12, 2024
5421bdb
use actual function's name and module
giacomocavalieri Sep 11, 2024
b6d722c
add external implementations to functions
giacomocavalieri Sep 11, 2024
9eeafc2
fix erlang codegen for external functions
giacomocavalieri Sep 11, 2024
b3b9cc3
make sure to use external definitions and inline the call
giacomocavalieri Sep 11, 2024
b56343f
rebase gone wrong
giacomocavalieri Sep 11, 2024
085b85b
changelog
giacomocavalieri Sep 11, 2024
440bc50
snapshot test all the things
giacomocavalieri Sep 11, 2024
0405066
include file names in snapshot
giacomocavalieri Sep 11, 2024
4300a22
fix tests on windows
giacomocavalieri Sep 12, 2024
a59942a
review comments
giacomocavalieri Sep 12, 2024
c8e2e65
Report non-byte aligned bit array patterns as compile errors for JS t…
richard-viney Aug 4, 2024
7ccc7d9
make the default minimum version 0.1.0
giacomocavalieri Sep 12, 2024
8c4e410
make sure added version constraint is >=1.x
giacomocavalieri Sep 12, 2024
c6c9883
feat: add function argument and variables suggestions
ezegros Aug 2, 2024
75f99ca
feat: add test case for function argument completion
ezegros Sep 13, 2024
57d629d
feat: refactor code and add doc to improve clarity
ezegros Sep 13, 2024
a0816ae
fix: remove unused snapshots
ezegros Sep 13, 2024
9d20fa7
feat: update changelog
ezegros Sep 13, 2024
3a1e69c
fix: change visibility of method inside visitor
ezegros Sep 13, 2024
22b8b8d
Fix shadowed variable suggestions
lpil Sep 14, 2024
1cc6e6d
v1.5.0-rc1
lpil Sep 14, 2024
8429a47
fix tuple formatting bug
giacomocavalieri Sep 14, 2024
627bc16
CHANGELOG
giacomocavalieri Sep 14, 2024
ea22135
Fix accessor bug
lpil Sep 18, 2024
f75ba32
Appease Clippy
lpil Sep 18, 2024
7d0a6f9
v1.5.0-rc2
lpil Sep 18, 2024
97c46fc
v1.5.0
lpil Sep 19, 2024
6d4d385
rename tests
PgBiel Oct 29, 2024
8a65def
fix enough to compile nix
PgBiel Nov 5, 2024
1e70cb5
fix constructor in const codegen bug
PgBiel Nov 5, 2024
d5ada52
update panic messages in Nix
PgBiel Nov 5, 2024
6478a06
fix binary names in CI
PgBiel Nov 5, 2024
c325f29
add missing external nix information
PgBiel Nov 5, 2024
4082a88
assert nix error
PgBiel Nov 5, 2024
0c4ee8a
some extra bit array tests
PgBiel Nov 5, 2024
8ce91fd
add nix to invalid target error
PgBiel Nov 5, 2024
4073b74
clippy
PgBiel Nov 5, 2024
d727b09
update flake hash
PgBiel Nov 5, 2024
d63b1be
update compiler version
PgBiel Dec 21, 2024
f95be0b
Fix clippy warnings for 1.83
GearsDatapacks Nov 29, 2024
9a171f5
temp fix is_some_and
GearsDatapacks Nov 29, 2024
d8c3f52
fix clippy warnings for nix
PgBiel Dec 21, 2024
1b46cd4
fix macos flake ci
PgBiel Dec 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 17 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,19 @@ jobs:
working-directory: ./test/project_erlang_windows
if: ${{ runner.os == 'Windows' && matrix.run-integration-tests }}

- name: test/project_erlang export package-interface
- name: test/project_erlang export package-interface (non-windows)
run: |
glistix export package-interface --out="interface.json"
cat interface.json
working-directory: ./test/project_erlang
if: ${{ matrix.run-integration-tests }}
if: ${{ runner.os != 'Windows' && matrix.run-integration-tests }}

- name: test/project_erlang export package-interface (windows)
run: |
glistix export package-interface --out="interface.json"
cat interface.json
working-directory: ./test/project_erlang_windows
if: ${{ runner.os == 'Windows' && matrix.run-integration-tests }}

- name: test/external_only_javascript
run: ./test.sh
Expand All @@ -188,6 +195,13 @@ jobs:
env:
GLEAM_COMMAND: glistix

- name: test/root_package_not_compiled_when_running_dep
run: ./test.sh
working-directory: ./test/root_package_not_compiled_when_running_dep
if: ${{ matrix.run-integration-tests }}
env:
GLEAM_COMMAND: glistix

- name: test/project_javascript
run: |
glistix run
Expand Down Expand Up @@ -365,7 +379,7 @@ jobs:
target: aarch64-unknown-linux-gnu
- os: ubuntu-latest
target: aarch64-unknown-linux-musl
- os: macos-12 # intel
- os: macos-13 # intel (macos-14 only supports aarch64)
target: x86_64-apple-darwin
- os: macos-14 # aarch64
target: aarch64-apple-darwin
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ jobs:
esac

- name: Upload release archive
uses: softprops/action-gh-release@v2
# https://github.com/softprops/action-gh-release/issues/445
# uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@0bd7e8b279c9b5b36661d552472fbbfe671fe26e
with:
draft: true
prerelease: false
Expand Down
Loading
Loading