-
Notifications
You must be signed in to change notification settings - Fork 476
Comparing changes
Open a pull request
base repository: rescript-lang/rescript
base: master
head repository: rescript-lang/rescript
compare: maintenance/12.x
- 18 commits
- 83 files changed
- 5 contributors
Commits on Jan 27, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b62298a - Browse repository at this point
Copy the full SHA b62298aView commit details -
reanalyze: fix reactive invalidation on refs-only changes
When transitive mode is off, dead-value reporting depends on hasRefBelow, which depends on value_refs_from (cross-file refs). Fix ReactiveSolver so per-file issues are recomputed when value_refs_from changes, not only when dead_decls_by_file changes. This prevents stale warnings in long-lived reanalyze-server sessions. Also add -transitive/-no-transitive CLI overrides (overriding rescript.json) and document/regenerate the checked-in non-transitive reactive pipeline mermaid diagram. Signed-off-by: Cristiano Calcagno <cristianoc@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8fbd4c0 - Browse repository at this point
Copy the full SHA 8fbd4c0View commit details -
Add duplicate package detection to rewatch (#8180)
* Add duplicate package detection to rewatch * Add changelog * Warn to stderr * Set runtime env var * fmt
Configuration menu - View commit details
-
Copy full SHA for f51ddc2 - Browse repository at this point
Copy the full SHA f51ddc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5010fbb - Browse repository at this point
Copy the full SHA 5010fbbView commit details -
* Use correct js path * Print stdout/stderr of js-post-build * Add changelog * Update documentation * Mention the working dir as well # Conflicts: # CHANGELOG.md # docs/docson/build-schema.json # rewatch/CompilerConfigurationSpec.md # tests/build_tests/post-build/input.js
Configuration menu - View commit details
-
Copy full SHA for 0bfe571 - Browse repository at this point
Copy the full SHA 0bfe571View commit details -
Use rescript.json dir as working dir for js-post-build (#8195)
* Use rescript.json working dir. * Add changelog
Configuration menu - View commit details
-
Copy full SHA for 4981cf1 - Browse repository at this point
Copy the full SHA 4981cf1View commit details -
reanalyze: add scoped @@live/@@dead annotations
Add support for @@live/@@dead to set a default liveness annotation for subsequent items in a module/file scope, inheriting into nested modules and allowing later overrides. Add focused DCE fixtures covering override + scope boundaries and live-vs-dead liveness propagation. Update reanalyze deadcode expected output.
Configuration menu - View commit details
-
Copy full SHA for 9a35dad - Browse repository at this point
Copy the full SHA 9a35dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0275b76 - Browse repository at this point
Copy the full SHA 0275b76View commit details -
Override module type for CommonJS runtime (#8194)
* Explicitly add type commonjs for commonjs runtime * Update artifacts.json * Remove es6 package.json because it's already the default * Update CHANGELOG * WIP: Add tests * commit yarn.lock * Update CHANGELOG.md Co-authored-by: Christoph Knittel <christoph@knittel.cc> --------- Co-authored-by: Christoph Knittel <christoph@knittel.cc> # Conflicts: # biome.json
Configuration menu - View commit details
-
Copy full SHA for b973969 - Browse repository at this point
Copy the full SHA b973969View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4f6003 - Browse repository at this point
Copy the full SHA c4f6003View commit details -
Only save formatted files if they changed (#8209)
* Only save formatted files if they changed * Add changelog
Configuration menu - View commit details
-
Copy full SHA for 3d9fce4 - Browse repository at this point
Copy the full SHA 3d9fce4View commit details -
Move generating AST log to when a module is actually being parsed. (#…
…8210) * Move generating AST log to when a module is actually being parsed. * Add changelog
Configuration menu - View commit details
-
Copy full SHA for 4a79ce9 - Browse repository at this point
Copy the full SHA 4a79ce9View commit details -
Fix warning loss during incremental builds in watch mode (#8216)
* Fix warning loss during incremental builds in watch mode * Add changelog * Update lock file * Remove sleep * Update existing snapshots with added warning * Rename field # Conflicts: # CHANGELOG.md # rewatch/tests/02-watch-warnings-persist.sh # rewatch/tests/snapshots/bs-dev-dependency-used-by-non-dev-source.txt # rewatch/tests/snapshots/clean-rebuild.txt # rewatch/tests/snapshots/dependency-cycle.txt # rewatch/tests/snapshots/remove-file.txt # rewatch/tests/snapshots/rename-file-internal-dep-namespace.txt # rewatch/tests/snapshots/rename-file-internal-dep.txt # rewatch/tests/snapshots/rename-file-with-interface.txt # rewatch/tests/snapshots/rename-file.txt # rewatch/tests/snapshots/rename-interface-file.txt # rewatch/tests/suffix.sh # rewatch/tests/suite.sh
Configuration menu - View commit details
-
Copy full SHA for d8b903a - Browse repository at this point
Copy the full SHA d8b903aView commit details -
Reanalyze: link type re-export labels (#8217)
* Reanalyze: link type re-export labels Track manifest type paths on label declarations so re-exported record/variant labels can be linked to their manifest counterparts during type label dependency wiring. Adds a regression test for `type y = x = {...}` field liveness. Signed-off-by: Cristiano Calcagno <cristianoc@users.noreply.github.com> * Changelog: mention reanalyze type re-export label linking Signed-off-by: Cristiano Calcagno <cristianoc@users.noreply.github.com> * Reanalyze: suppress dead warnings on re-exported labels When a type is re-exported via `type y = x = {...}`, the re-exported record/variant labels are restated but not independently actionable. Suppress dead-type warning emission for those labels while keeping per-label liveness and linking intact. Signed-off-by: Cristiano Calcagno <cristianoc@users.noreply.github.com> * Reanalyze: link re-export manifests across modules Track manifest type paths (not just local type ids) so `type y = M.x = ...` and other cross-module type equations correctly link label/case liveness. Extend deadcode tests to cover variants and cross-file record re-exports. Signed-off-by: Cristiano Calcagno <cristianoc@users.noreply.github.com> --------- Signed-off-by: Cristiano Calcagno <cristianoc@users.noreply.github.com> # Conflicts: # tests/analysis_tests/tests-reanalyze/deadcode/expected/deadcode.txtConfiguration menu - View commit details
-
Copy full SHA for 076bd4a - Browse repository at this point
Copy the full SHA 076bd4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eecb607 - Browse repository at this point
Copy the full SHA eecb607View commit details -
Watch folders based on BuildState (#8219)
* Watch folders based on BuildState * Add additional test cases * Code review feedback * Make test cross plat (I hope) * Avoids sleeps in test * Log error when source folder does not exist. * Add changelog entry * Code review feedback * Avoid race condition (I hope) * Trigger CI # Conflicts: # AGENTS.md # CHANGELOG.md # rewatch/tests/03-watch-new-file.sh # rewatch/tests/04-watch-config-change.sh # rewatch/tests/05-watch-ignores-non-source.sh # rewatch/tests/06-watch-missing-source-folder.sh # rewatch/tests/suite.sh # rewatch/tests/watch/02-watch-warnings-persist.sh
Configuration menu - View commit details
-
Copy full SHA for 7995ed7 - Browse repository at this point
Copy the full SHA 7995ed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f97d4cf - Browse repository at this point
Copy the full SHA f97d4cfView commit details -
Merge pull request #8232 from rescript-lang/version-12.2.0-rc.1
Version 12.2.0-rc.1
Configuration menu - View commit details
-
Copy full SHA for 3156d4d - Browse repository at this point
Copy the full SHA 3156d4dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...maintenance/12.x