From 4dc7537a874f7f15385b9158e9cdb58c17e5fae4 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Sun, 13 Sep 2026 15:52:41 +0000 Subject: [PATCH 1/2] Remove unused Base dependency Signed-off-by: Christoph Knittel --- compiler/flow_parser/collections/dune | 3 +-- compiler/flow_parser/parser/dune | 2 +- dune-project | 2 -- rescript.opam | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/compiler/flow_parser/collections/dune b/compiler/flow_parser/collections/dune index 2cd0c8c91e..51da3435b6 100644 --- a/compiler/flow_parser/collections/dune +++ b/compiler/flow_parser/collections/dune @@ -3,5 +3,4 @@ (library (name collections) (wrapped false) - (modules Flow_map Flow_set SSet StringKey) - (libraries base)) + (modules Flow_map Flow_set SSet StringKey)) diff --git a/compiler/flow_parser/parser/dune b/compiler/flow_parser/parser/dune index 4b03556b33..6b74a4e67d 100644 --- a/compiler/flow_parser/parser/dune +++ b/compiler/flow_parser/parser/dune @@ -29,6 +29,6 @@ Statement_parser Token Type_parser) - (libraries base wtf8 flow_sedlexing collections) + (libraries wtf8 flow_sedlexing collections) (preprocess (pps ppx_gen_rec ppx_deriving.std flow_sedlexing_ppx))) diff --git a/dune-project b/dune-project index 8e34a29f11..3638e482ac 100644 --- a/dune-project +++ b/dune-project @@ -21,8 +21,6 @@ (ocaml (>= 5.0.0)) dune - (base - (>= v0.16.3)) (ppxlib (>= 0.38.0)) (ppx_deriving :build) diff --git a/rescript.opam b/rescript.opam index ddd418b554..bbae7e26ad 100644 --- a/rescript.opam +++ b/rescript.opam @@ -9,7 +9,6 @@ bug-reports: "https://github.com/rescript-lang/rescript-compiler/issues" depends: [ "ocaml" {>= "5.0.0"} "dune" {>= "3.17"} - "base" {>= "v0.16.3"} "ppxlib" {>= "0.38.0"} "ppx_deriving" {build} "ppx_gen_rec" {build} From dff8196a88655cc715dad8832b74ecc9b60518eb Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Sun, 13 Sep 2026 16:25:59 +0000 Subject: [PATCH 2/2] Document Base dependency removal Signed-off-by: Christoph Knittel --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35327ab57a..2958a0c989 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,6 +85,7 @@ #### :house: Internal +- Remove the unused Jane Street `base` dependency left over from vendoring the Flow parser. https://github.com/rescript-lang/rescript/pull/8655 - Refactor parser token handling to separate inspection (`peek`/`peek2`) from consumption, removing Diamond mode and `prev_end_pos` bookkeeping and moving missing JSX prop recovery from an editor-analysis regex heuristic into the parser. https://github.com/rescript-lang/rescript/pull/8633 - Give regexp literals a dedicated AST node. https://github.com/rescript-lang/rescript/pull/8634 - Developer playground: Make panes resizable with wrapping text. https://github.com/rescript-lang/rescript/pull/8628