Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: melange-re/melange

Tags

6.0.1-414

Toggle 6.0.1-414's commit message
Release 6.0.1-414

CHANGES:

- fix(core): catch file not found error when finding location snippet
  [#1673](#1673)
    - Fixes a regression introduced in
      [#1457](#1457) that broke
      builds in the Dune sandbox.

6.0.1-54

Toggle 6.0.1-54's commit message
Release 6.0.1-54

CHANGES:

- fix(core): catch file not found error when finding location snippet
  [#1673](#1673)
    - Fixes a regression introduced in
      [#1457](#1457) that broke
      builds in the Dune sandbox.

6.0.1-53

Toggle 6.0.1-53's commit message
Release 6.0.1-53

CHANGES:

- fix(core): catch file not found error when finding location snippet
  [#1673](#1673)
    - Fixes a regression introduced in
      [#1457](#1457) that broke
      builds in the Dune sandbox.

6.0.1-52

Toggle 6.0.1-52's commit message
Release 6.0.1-52

CHANGES:

- fix(core): catch file not found error when finding location snippet
  [#1673](#1673)
    - Fixes a regression introduced in
      [#1457](#1457) that broke
      builds in the Dune sandbox.

6.0.1-51

Toggle 6.0.1-51's commit message
Release 6.0.1-51

CHANGES:

- fix(core): catch file not found error when finding location snippet
  [#1673](#1673)
    - Fixes a regression introduced in
      [#1457](#1457) that broke
      builds in the Dune sandbox.

6.0.0-414

Toggle 6.0.0-414's commit message
Release 6.0.0-414

CHANGES:

- Support `Sys.opaque_identity` to turn off optimizations
  ([#1276](#1276))
- Upgrade the Melange JS parser to [Flow
  v0.266.0](https://github.com/facebook/flow/releases/tag/v0.266.0)
  ([#1380](#1380))
- Add `[@mel.spread]` in `external`s to spread polymorphic variants with
  payloads ([#1404](#1404))
- melange.ppx: improve the inference of `@mel.as` in polymorphic variant
  arguments to `external`s, allow to mix ints and strings in the different
  variant branches ([#1418](#1418))
- Fix code generation bug when assigning functions to variables
  ([#1429](#1429))
- Allow `@mel.int` polymorphic variants in `external`s to carry payload
  ([#1419](#1419))
- support null variants @mel.as in mixed @mel.unwrap
  ([#1442](#1442))
- `melc`: exit when `--modules` is passed instead of proceeding to compile
  ([#1478](#1478))
- Optimize file reading / writing in Melange
  ([#1457](#1457),
  [#1459](#1459))
- add `-cmi-file` for flag compatibility with upstream OCaml
  ([#1488]((#1488)))
- code generation: inline more binary operations
  ([#1526](#1526))
- code generation: fix wrong optimization related to option unnesting
  ([#1530](#1530))
- code generation: omit undefined argument on foo () unit application
  ([#1538](#1538))
- code generation: omit undefined trailing arguments when generating
  JavaScript, e.g. those that are optionally labeled don't become explicitly
  `undefined` in the JavaScript output
  ([#1564](#1564))
- BREAKING(runtime): consolidate functions in `Js.Date` to account for the recent
  improvement in code generation related to omitting trailing undefined
  arguments ([#1597](#1597))
- BREAKING(ppx): Remove `[@@deriving abstract]` in favor of:
    - `[@@deriving jsProperties]` derives a JS object creation function that
      can generate a JS object with optional keys (when using `[@mel.optiona]`)
    - `[@@deriving getSet]` derives getter / setter functions for the JS object
       derived by the underlying record.
    - `[@@deriving abstract]` had been deprecated since Melange 5 (in
      [#979](#979)), and has now been
      removed in [#1624](#1624)
- runtime: support more functions in `Stdlib.Float`
  ([#1625](#1625))
- Upgrade the Melange JS parser to [Flow
  v0.288.0](https://github.com/facebook/flow/releases/tag/v0.288.0)
  ([#1627](#1627))
- runtime: add more functions to `Js.Array` module
  ([#1635](#1635))
- core: update reserved keywords list to account for new browser additions
  ([#1644](#1644))
- ppx: disallow empty `%raw` expressions, which would cause syntax errors in
  code generation ([#1651](#1651))
- ppx: support all valid `Longident`s in string interpolation
  ([#1653](#1653))

6.0.0-54

Toggle 6.0.0-54's commit message
Release 6.0.0-54

CHANGES:

- Support `Sys.opaque_identity` to turn off optimizations
  ([#1276](#1276))
- Upgrade the Melange JS parser to [Flow
  v0.266.0](https://github.com/facebook/flow/releases/tag/v0.266.0)
  ([#1380](#1380))
- Add `[@mel.spread]` in `external`s to spread polymorphic variants with
  payloads ([#1404](#1404))
- melange.ppx: improve the inference of `@mel.as` in polymorphic variant
  arguments to `external`s, allow to mix ints and strings in the different
  variant branches ([#1418](#1418))
- Fix code generation bug when assigning functions to variables
  ([#1429](#1429))
- Allow `@mel.int` polymorphic variants in `external`s to carry payload
  ([#1419](#1419))
- support null variants @mel.as in mixed @mel.unwrap
  ([#1442](#1442))
- `melc`: exit when `--modules` is passed instead of proceeding to compile
  ([#1478](#1478))
- Optimize file reading / writing in Melange
  ([#1457](#1457),
  [#1459](#1459))
- add `-cmi-file` for flag compatibility with upstream OCaml
  ([#1488]((#1488)))
- code generation: inline more binary operations
  ([#1526](#1526))
- code generation: fix wrong optimization related to option unnesting
  ([#1530](#1530))
- code generation: omit undefined argument on foo () unit application
  ([#1538](#1538))
- code generation: omit undefined trailing arguments when generating
  JavaScript, e.g. those that are optionally labeled don't become explicitly
  `undefined` in the JavaScript output
  ([#1564](#1564))
- BREAKING(runtime): consolidate functions in `Js.Date` to account for the recent
  improvement in code generation related to omitting trailing undefined
  arguments ([#1597](#1597))
- BREAKING(ppx): Remove `[@@deriving abstract]` in favor of:
    - `[@@deriving jsProperties]` derives a JS object creation function that
      can generate a JS object with optional keys (when using `[@mel.optiona]`)
    - `[@@deriving getSet]` derives getter / setter functions for the JS object
       derived by the underlying record.
    - `[@@deriving abstract]` had been deprecated since Melange 5 (in
      [#979](#979)), and has now been
      removed in [#1624](#1624)
- runtime: support more functions in `Stdlib.Float`
  ([#1625](#1625))
- Upgrade the Melange JS parser to [Flow
  v0.288.0](https://github.com/facebook/flow/releases/tag/v0.288.0)
  ([#1627](#1627))
- runtime: add more functions to `Js.Array` module
  ([#1635](#1635))
- core: update reserved keywords list to account for new browser additions
  ([#1644](#1644))
- ppx: disallow empty `%raw` expressions, which would cause syntax errors in
  code generation ([#1651](#1651))
- ppx: support all valid `Longident`s in string interpolation
  ([#1653](#1653))

6.0.0-53

Toggle 6.0.0-53's commit message
Release 6.0.0-53

CHANGES:

- Support `Sys.opaque_identity` to turn off optimizations
  ([#1276](#1276))
- Upgrade the Melange JS parser to [Flow
  v0.266.0](https://github.com/facebook/flow/releases/tag/v0.266.0)
  ([#1380](#1380))
- Add `[@mel.spread]` in `external`s to spread polymorphic variants with
  payloads ([#1404](#1404))
- melange.ppx: improve the inference of `@mel.as` in polymorphic variant
  arguments to `external`s, allow to mix ints and strings in the different
  variant branches ([#1418](#1418))
- Fix code generation bug when assigning functions to variables
  ([#1429](#1429))
- Allow `@mel.int` polymorphic variants in `external`s to carry payload
  ([#1419](#1419))
- support null variants @mel.as in mixed @mel.unwrap
  ([#1442](#1442))
- `melc`: exit when `--modules` is passed instead of proceeding to compile
  ([#1478](#1478))
- Optimize file reading / writing in Melange
  ([#1457](#1457),
  [#1459](#1459))
- add `-cmi-file` for flag compatibility with upstream OCaml
  ([#1488]((#1488)))
- code generation: inline more binary operations
  ([#1526](#1526))
- code generation: fix wrong optimization related to option unnesting
  ([#1530](#1530))
- code generation: omit undefined argument on foo () unit application
  ([#1538](#1538))
- code generation: omit undefined trailing arguments when generating
  JavaScript, e.g. those that are optionally labeled don't become explicitly
  `undefined` in the JavaScript output
  ([#1564](#1564))
- BREAKING(runtime): consolidate functions in `Js.Date` to account for the recent
  improvement in code generation related to omitting trailing undefined
  arguments ([#1597](#1597))
- BREAKING(ppx): Remove `[@@deriving abstract]` in favor of:
    - `[@@deriving jsProperties]` derives a JS object creation function that
      can generate a JS object with optional keys (when using `[@mel.optiona]`)
    - `[@@deriving getSet]` derives getter / setter functions for the JS object
       derived by the underlying record.
    - `[@@deriving abstract]` had been deprecated since Melange 5 (in
      [#979](#979)), and has now been
      removed in [#1624](#1624)
- runtime: support more functions in `Stdlib.Float`
  ([#1625](#1625))
- Upgrade the Melange JS parser to [Flow
  v0.288.0](https://github.com/facebook/flow/releases/tag/v0.288.0)
  ([#1627](#1627))
- runtime: add more functions to `Js.Array` module
  ([#1635](#1635))
- core: update reserved keywords list to account for new browser additions
  ([#1644](#1644))
- ppx: disallow empty `%raw` expressions, which would cause syntax errors in
  code generation ([#1651](#1651))
- ppx: support all valid `Longident`s in string interpolation
  ([#1653](#1653))

6.0.0-52

Toggle 6.0.0-52's commit message
Release 6.0.0-52

CHANGES:

- Support `Sys.opaque_identity` to turn off optimizations
  ([#1276](#1276))
- Upgrade the Melange JS parser to [Flow
  v0.266.0](https://github.com/facebook/flow/releases/tag/v0.266.0)
  ([#1380](#1380))
- Add `[@mel.spread]` in `external`s to spread polymorphic variants with
  payloads ([#1404](#1404))
- melange.ppx: improve the inference of `@mel.as` in polymorphic variant
  arguments to `external`s, allow to mix ints and strings in the different
  variant branches ([#1418](#1418))
- Fix code generation bug when assigning functions to variables
  ([#1429](#1429))
- Allow `@mel.int` polymorphic variants in `external`s to carry payload
  ([#1419](#1419))
- support null variants @mel.as in mixed @mel.unwrap
  ([#1442](#1442))
- `melc`: exit when `--modules` is passed instead of proceeding to compile
  ([#1478](#1478))
- Optimize file reading / writing in Melange
  ([#1457](#1457),
  [#1459](#1459))
- add `-cmi-file` for flag compatibility with upstream OCaml
  ([#1488]((#1488)))
- code generation: inline more binary operations
  ([#1526](#1526))
- code generation: fix wrong optimization related to option unnesting
  ([#1530](#1530))
- code generation: omit undefined argument on foo () unit application
  ([#1538](#1538))
- code generation: omit undefined trailing arguments when generating
  JavaScript, e.g. those that are optionally labeled don't become explicitly
  `undefined` in the JavaScript output
  ([#1564](#1564))
- BREAKING(runtime): consolidate functions in `Js.Date` to account for the recent
  improvement in code generation related to omitting trailing undefined
  arguments ([#1597](#1597))
- BREAKING(ppx): Remove `[@@deriving abstract]` in favor of:
    - `[@@deriving jsProperties]` derives a JS object creation function that
      can generate a JS object with optional keys (when using `[@mel.optiona]`)
    - `[@@deriving getSet]` derives getter / setter functions for the JS object
       derived by the underlying record.
    - `[@@deriving abstract]` had been deprecated since Melange 5 (in
      [#979](#979)), and has now been
      removed in [#1624](#1624)
- runtime: support more functions in `Stdlib.Float`
  ([#1625](#1625))
- Upgrade the Melange JS parser to [Flow
  v0.288.0](https://github.com/facebook/flow/releases/tag/v0.288.0)
  ([#1627](#1627))
- runtime: add more functions to `Js.Array` module
  ([#1635](#1635))
- core: update reserved keywords list to account for new browser additions
  ([#1644](#1644))
- ppx: disallow empty `%raw` expressions, which would cause syntax errors in
  code generation ([#1651](#1651))
- ppx: support all valid `Longident`s in string interpolation
  ([#1653](#1653))

6.0.0-51

Toggle 6.0.0-51's commit message
Release 6.0.0-51

CHANGES:

- Support `Sys.opaque_identity` to turn off optimizations
  ([#1276](#1276))
- Upgrade the Melange JS parser to [Flow
  v0.266.0](https://github.com/facebook/flow/releases/tag/v0.266.0)
  ([#1380](#1380))
- Add `[@mel.spread]` in `external`s to spread polymorphic variants with
  payloads ([#1404](#1404))
- melange.ppx: improve the inference of `@mel.as` in polymorphic variant
  arguments to `external`s, allow to mix ints and strings in the different
  variant branches ([#1418](#1418))
- Fix code generation bug when assigning functions to variables
  ([#1429](#1429))
- Allow `@mel.int` polymorphic variants in `external`s to carry payload
  ([#1419](#1419))
- support null variants @mel.as in mixed @mel.unwrap
  ([#1442](#1442))
- `melc`: exit when `--modules` is passed instead of proceeding to compile
  ([#1478](#1478))
- Optimize file reading / writing in Melange
  ([#1457](#1457),
  [#1459](#1459))
- add `-cmi-file` for flag compatibility with upstream OCaml
  ([#1488]((#1488)))
- code generation: inline more binary operations
  ([#1526](#1526))
- code generation: fix wrong optimization related to option unnesting
  ([#1530](#1530))
- code generation: omit undefined argument on foo () unit application
  ([#1538](#1538))
- code generation: omit undefined trailing arguments when generating
  JavaScript, e.g. those that are optionally labeled don't become explicitly
  `undefined` in the JavaScript output
  ([#1564](#1564))
- BREAKING(runtime): consolidate functions in `Js.Date` to account for the recent
  improvement in code generation related to omitting trailing undefined
  arguments ([#1597](#1597))
- BREAKING(ppx): Remove `[@@deriving abstract]` in favor of:
    - `[@@deriving jsProperties]` derives a JS object creation function that
      can generate a JS object with optional keys (when using `[@mel.optiona]`)
    - `[@@deriving getSet]` derives getter / setter functions for the JS object
       derived by the underlying record.
    - `[@@deriving abstract]` had been deprecated since Melange 5 (in
      [#979](#979)), and has now been
      removed in [#1624](#1624)
- runtime: support more functions in `Stdlib.Float`
  ([#1625](#1625))
- Upgrade the Melange JS parser to [Flow
  v0.288.0](https://github.com/facebook/flow/releases/tag/v0.288.0)
  ([#1627](#1627))
- runtime: add more functions to `Js.Array` module
  ([#1635](#1635))
- core: update reserved keywords list to account for new browser additions
  ([#1644](#1644))
- ppx: disallow empty `%raw` expressions, which would cause syntax errors in
  code generation ([#1651](#1651))
- ppx: support all valid `Longident`s in string interpolation
  ([#1653](#1653))