-
-
Notifications
You must be signed in to change notification settings - Fork 1
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 1.3.0 #8
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [vec1](https://github.com/rustonaut/vec1) from 1.12.0 to 1.12.1. - [Changelog](https://github.com/rustonaut/vec1/blob/nightly/CHANGELOG.md) - [Commits](https://github.com/rustonaut/vec1/commits/v1.12.1) --- updated-dependencies: - dependency-name: vec1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.38.0 to 1.39.0. - [Release notes](https://github.com/mitsuhiko/insta/releases) - [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md) - [Commits](mitsuhiko/insta@1.38.0...1.39.0) --- updated-dependencies: - dependency-name: insta dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [spdx](https://github.com/EmbarkStudios/spdx) from 0.10.4 to 0.10.6. - [Release notes](https://github.com/EmbarkStudios/spdx/releases) - [Changelog](https://github.com/EmbarkStudios/spdx/blob/main/CHANGELOG.md) - [Commits](EmbarkStudios/spdx@0.10.4...0.10.6) --- updated-dependencies: - dependency-name: spdx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
`maybe` is reserved as of Erlang/OTP 27. See https://www.erlang.org/doc/system/expressions.html#maybe for more info.
This patch fixes excessive generation by checking if `modules` is empty. Two other possible solutions have been ruled out: - Checking for file existence may result in not updating outdated files - Comparing contents is slow
This reverts commit 50d7a90b3328298b3d370190abea9b8f49c83fde.
…on js Try to detect when someone tries to make a non byte aligned array on Javascript. This compile time error still fails to trigger if the size value is a variable though. So we still need the runtime error in the Javascript template too. Fixes #1591
It seems our current behaviour is to assume a negative size really means a size of 0 so might as well document this with some tests
feat: add error message for trying to match after a spread fix: typo chore: add changelog fix: pr changes chore: update changelog fix: handle the parsing better to fully match a list pattern chore: update changelog fix: change test case and cleanup Changes! Alter error copy basic statement level fault tolerance changelog more tests handle patterns fix for unsupported public function Changes! Fix JS const bug Closes gleam-lang/gleam#3294 Further tests Snaps wip warn for deprecated prepend syntax fix-3108 CHANGELOG! Add missing contributor to changelog Fix wrong warning wording Remove additional fields from list Remove additional fields from list pattern Prepare things before big refactoring Emit parsing warnings Rephrase changelog entry Use better name for parser function Use WarningEmitter instead of TypeWarningEmitter Fix #3288 fix excessive `gleam.mjs` generation This patch fixes excessive generation by checking for file existence. An earlier attempt (#3238) had done this by checking for empty `modules`, noting in its commit message that file existence checks will cause old `gleam.mjs` to never be updated when a new version is available. I have since learned that that was incorrect, as new versions of `gleam` delete `build` folders created by previous versions. closes #3178 Changes! Add else to Erlang's reserved keywords Rename method fix-3250 Support arithmetic in guards Add to CHANGELOG.md Add failing test for module import alias used in case expr It is failing but it shouldn't. It is used so there shouldn't be any warnings. Remove module alias from 'unused' when used This comes up in case-expressions. Without this case we get a warning as covered by the test in the last commit. This change is a best guess and it fixes the test. It is not based on any understanding of the code base. Add changelog entry Adjust test name and add link to original issue For clarity. I'm not sure that previous name was particularly clear. feat: handle pubgrub compatible versions at package download feat: update version parser at package download to use @ as delimiter and map to pubgrub ranges test: error handling of version specifier parser fix: typo in err msg of InvalidVersionFormat refac: rename hex requirement parser refac: break down multiple asserts for parse_hex_requirement into separate tests refac: address clippy errors on indexing_slicing chore: update changelog Use @1 in README improved lsp rendering of extra labels and added locations to cycled imports changelog move diagnostics to be subdiagnostic move diagnostics to be subdiagnostic write dependency srcspans to metadata restructure to Vec1 of tuple feedback Wrap text Do not autocomplete if cursor is in a comment Add tests Do not provide completions on empty comment Move comment context detection for ignoring autocompletion to `is_within_comment` Changes! Add Information About Found Token in UnexpectedToken Error Type (#3299) Alter error Annotate javascript constants as pure Make sure lists constructors are annotated as pure Replace with_spread with spread location Display missing fields clippy! CHANGELOG! Avoid needless clones v1.3.0-rc1 Remove unclear example Update to macos-12 in release-nightly and release macos-11 was deprecated 2 days ago leaving the nightly release job hanging with no error message lol. mentioned in 2 places, apparently: - https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/ - https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job Fix typo in changelog Remove all foo-bar-baz from code Turn LS tests into snapshot tests replace raw Positions with PositionFinder allow assert_hover macro to accept literal string Remove references to the term 'pointer' Fix wrong formatting of case subjects bump all macos runners to latest compatible versions macos 13 for x64 Bump oven-sh/setup-bun from 1 to 2 Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 1 to 2. - [Release notes](https://github.com/oven-sh/setup-bun/releases) - [Commits](oven-sh/setup-bun@v1...v2) --- updated-dependencies: - dependency-name: oven-sh/setup-bun dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Bump docker/build-push-action from 5 to 6 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Fixed spelling mistake in function get_module_inferface -> get_module_interface Make sure all constants inside a module constant definition are marked as pure CHANGELOG! Review comments v1.3.0-rc3 Correct message v1.3.0 Co-authored-by: Ace <[email protected]> Co-authored-by: Ameen Radwan <[email protected]> Co-authored-by: Antonio Iaccarino <[email protected]> Co-authored-by: Danielle Maywood <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: djaruun <[email protected]> Co-authored-by: GearsDatapacks <[email protected]> Co-authored-by: Giacomo Cavalieri <[email protected]> Co-authored-by: graphiteisaac <[email protected]> Co-authored-by: Louis Pilfold <[email protected]> Co-authored-by: Michael Jones <[email protected]> Co-authored-by: Nicky Lim <[email protected]> Co-authored-by: Ofek Doitch <[email protected]> Co-authored-by: Rahul D. Ghosal <[email protected]> Co-authored-by: Rahul Ghosal <[email protected]> Co-authored-by: Robert Attard <[email protected]> Co-authored-by: TankorSmash <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO: