Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 2, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Oct 2, 2024
cristianoc and others added 29 commits July 15, 2025 16:14
Put the label and type together, so in future it will be possible to represent a function of several arguments with a list.
* Use root package suffix in clean log messages

* Mention RESCRIPT_BSC_EXE if not set.

* Add changelog entry
* Add support for "rescript -w" for compatibility

* CHANGELOG
* Remove trailing comma in empty dict and print inside comment

* Remove extra line

* Add test

* Update CHANGELOG

* Don't use List.is_empty
This should give an explicit handle over how all arrow types are constructed.
… arguments.

The arity is inferred, by just the length of the list of arguments.
…or error messages (#7656)

* prevent trying to read non-existing file when extracting extra info for error messages

* changelog
* Rust implementation of "rescript format"

* Files must be present unless --all or --stdin is set
Functions of several arguments are stored as nested `Ptyp_arrow` ast nodes, with attributes at toplevel in the node.
This change adds an attribute field to type arguments, makin it impossible to distinguish attributes on arguments from attributes on the entire function.
Introduces an 'attrs' field to the 'arg' record in typedtree.ml and typedtree.mli to support attributes on function arguments. Updates related code in typetexp.ml and printtyped.ml to handle the new field, enabling attribute preservation and printing for function argument types.
* Read bs-dev-dependencies if --dev was passed.

* Try and check the file type when allowing dev dependency access.

* Store is_type_dev in SourceFileMeta.

* Only allow usage of dev_dependencies when type:dev is true for source file

* Traverse rescript config for compiler-args command to find out if type = dev

* Collect all qualified package sources

* Expand search for type:dev in rescript config.

* Add some unit test to cover find_is_type_dev_for_path

* Add is_type_dev to Module as well.

* Remove pub

* Add changelog entry

* Add negative test

* Add snapshot

* Normalize paths

* Try --ignore-cr-at-eol

* Revert "Try --ignore-cr-at-eol"

This reverts commit 3a67a8f.

* Trigger CI

* Remove extra lines in changelog

* Add tmate on Windows

* Add tmate on Windows but earlier 🙃

* Remove more stuff

* More general path normalize check on Windows

* This has to be newlines

* Update to beta 1

* Revert line changes
…7658)

* feat: deprecate bs-deps and bs-dev-deps

* feat: deprecate `bsc-flags`

* chore: CHANGELOG

* tests: add tests for compiler-flags
…fault error message (#7630)

* Add optional message argument to Result.getOrThrow and improve default error message

* Add CHANGELOG entry

* Use JsError.panic instead of deprecated Error.panic for Option.getOrThrow

* Update completions

* Note breaking change in CHANGELOG
* ci: add clippy

* fix: warning to show ci failure

* fix: run `cargo clippy --fix`

* fix: rogue comment

* fix: redundant match

* fix: too many args by introducing a wrapper struct

* chore: run cargo fmt

* refactor: get_source_files split match

* refactor: get_source_files use `PackageSource.is_type_dev()`

* refactor: simplify get_source_files

* chore: CHANGELOG

* fix: warnings after rebase
* naive replace

* Add root rescript.json
cknitt and others added 30 commits October 11, 2025 07:27
…#7945)

* Fix: use configured Jsx module for constraining component return type

* CHANGELOG
* undeprecate Js_OO since it is still used

* changelog
* JSX PPX: externals: React.componentLike -> React.component

* Analysis test output

* CHANGELOG
* switch to F#-style binary operators

* fix dangling token selection

* add changelog

* fix migrations
* Fix crash when using bitwise not on incompatible type

* CHANGELOG

* Fix comments
* Handle non-tty mode the same as snapshot mode

* Remove --snapshot-output command line arg

* Rename snapshot_output -> plain_output

* CHANGELOG
* Streamline rewatch help texts

* CHANGELOG
* Rework Makefile; dependency tracking

* Review change

* Restore "make build" as default target, use .yarn/install-state.gz as stamp

* Try to fix build

* Update AGENTS.md
* Add global docstrings

* Completions

* Fix

* Simplify

* Completions again

* Add warning about rather writing own bindings
…7977)

* Fix @directive on function level with async and multiple parameters

* CHANGELOG
* WeakMap docstrings

* MDN links
* WeakSet docstrings

* More examples and MDN links
* Fix fatal error for external with @as

* Add a synthetic unit argument when all external parameters collapse to constants

* Simplify

* CHANGELOG
* TypedArray docstrings

* Completions

* Review

* Remove non-existant MDN links
* Remove unnecessary usage of Ast_uncurried helpers

* CHANGELOG
* Add alternative for dict{} pattern match

* 🔨 😱 ©️
* Reduce logs

* Fix line break

* Removed unused emojis

* Fix extension print

* Add changelog

* Add link
* Intl docstrings

* Fix examples

* Some reverts

* Changelog

* Fix tests

* Remove bigint plural rules select functions (not supported by most runtimes)

* Changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.