Skip to content

Releases: mbarbin/provider

0.0.11

05 Nov 12:21
f81d0e4
Compare
Choose a tag to compare

CHANGES:

Changed

  • Simplify the API and remove the term 'handler' from the project (breaking change) (#35, @mbarbin).
  • Change the API to make the library Type-Safe (breaking change) (#34, @mbarbin, @v-gb).
  • Register custom trait names instead of extensible variant names (#31, @mbarbin).

0.0.10

27 Oct 18:39
345bdf3
Compare
Choose a tag to compare

CHANGES:

Added

Changed

  • Split the tests and enable most tests in the CI, including ocaml.4.14 (#25, @mbarbin).
  • Make the library detect invalid Traits earlier (during handler creation) (#20, @mbarbin).
  • Rename explanation section of documentation per diataxis (#11, @mbarbin).

Fixed

  • Made the lib raise an exception instead of a segfault under some invalid usage (#18, @mbarbin).

0.0.9

26 Aug 13:20
395c073
Compare
Choose a tag to compare

CHANGES:

Changed

  • Split test package.
  • Use expect_test_helpers_core.expect_test_helpers_base.

Fixed

  • Attach doc test package so it is not built when running the CI for the main package.

0.0.8

19 Aug 13:36
b3164ad
Compare
Choose a tag to compare

CHANGES:

Fixed

  • Follow-up fixes to binding renaming.

0.0.7

05 Aug 18:13
Compare
Choose a tag to compare

CHANGES:

Added

  • Added dedicated tests for internal functions.

Changed

  • More renamings. Implementation => Binding, Interface => Handler. This brings the lib closer to the original namings from Eio.

0.0.6

02 Aug 15:04
Compare
Choose a tag to compare

CHANGES:

Changed

  • Rename Provider.Trait.Implementation as Provider.Implementation to expose the concepts in a more flat way.
  • Reduce provider package dependencies - reduce from base to sexplib0.

Fixed

  • Make sure to select the right most implementation in case of overrides, as per specification.

Removed

  • Removed Trait.Uid.Comparable.S as this requires Base. Make it compatible with Comparable.Make (Trait.Uid) and add tests for this use case.

0.0.5

26 Jul 09:52
Compare
Choose a tag to compare

CHANGES:

Added

  • Added dependabot config for automatically upgrading action files.

Changed

  • Upgrade ppxlib to 0.33 - activate unused items warnings.
  • Upgrade ocaml to 5.2.
  • Upgrade dune to 3.16.
  • Upgrade eio to 1.0 (no change required).
  • Upgrade base & co to 0.17.

0.0.4

05 Mar 16:36
Compare
Choose a tag to compare

CHANGES:

Changed

  • Uses expect-test-helpers (reduce core dependencies)
  • Upgrade eio to 0.15.
  • Run ppx_js_style as a linter & make it a dev dependency.
  • Upgrade GitHub workflows actions/checkout to v4.
  • In CI, specify build target @all, and add @lint.
  • List ppxs instead of ppx_jane.

0.0.3

21 Feb 13:53
Compare
Choose a tag to compare

CHANGES:

Added

  • Add new tests, improve test coverage.

Changed

  • Improve organization of test files.
  • Rename Class => Trait (breaking change).

Fixed

  • Fix Interface.implements which shouldn't raise on empty interface (#3, @mbarbin).

0.0.2

18 Feb 10:08
Compare
Choose a tag to compare

CHANGES:

Changed

  • Improve tests and documentation.