greskell-core

Haskell binding for Gremlin graph query language - core data types and tools

https://github.com/debug-ito/greskell/

Version on this page:1.0.0.2
LTS Haskell 23.1:1.0.0.3
Stackage Nightly 2024-12-26:1.0.0.3
Latest on Hackage:1.0.0.3

See all snapshots greskell-core appears in

BSD-3-Clause licensed and maintained by Toshio Ito
This version can be pinned in stack with:greskell-core-1.0.0.2@sha256:7f9dc689fdd88c95b5ccbecba76d7aa4a79ab0b6883bd756c06fc92ab3dfd95b,3690

greskell-core

Haskell binding for Gremlin query language.

See the package description, or project README.

Author

Toshio Ito [email protected]

Changes

Revision history for greskell-core

1.0.0.2 – 2024-09-12

  • Update dependency version bounds with cabal-plan-bounds. This adds support for new packages, while drops support for old ones.

1.0.0.1 – 2022-11-24

  • Confirm test with ghc-9.2.5, vector-0.13.0.0 and aeson-2.1.0.0.
  • Remove doctests. This is because it’s so difficult to maintain doctests with recent GHCs and cabals.
    • doctests have been moved to examples function defined in some modules.
  • Use stylish-haskell to format codes.

1.0.0.0 – 2021-12-28

  • BREAKING CHANGE: GObject variant of GValueBody is now based on KeyMap from aeson-2.0. Before, it was based on HashMap Text. As a result, signature of the following functions has been changed.
    • parseToGMap
    • parseToGMapEntry
    • (.:)
  • BREAKING CHANGE: Remove FromGraphSON instance for Data.Semigroup.Option, which is deprecated.
  • Add FromGraphSON instance to KeyMap and Key from aeson-2.0.
  • Confirm test with aeson-2.0.2.0, semigroups-0.20 and hashable-1.4.0.1, doctest-0.19.0, doctest-0.20.0.

0.1.3.7 – 2021-11-08

  • Confirm test with base-4.15.0.0

0.1.3.6 – 2021-02-11

  • Confirm test with doctest-0.18.

0.1.3.5 – 2020-06-21

  • Confirm test with base-4.14.0.0

0.1.3.4 – 2020-06-06

  • Support doctest-0.17.

0.1.3.3 – 2020-05-30

  • Support aeson-1.5.0.0.

0.1.3.2 – 2020-03-29

  • Confirm test with QuickCheck-2.14.

0.1.3.1 – 2019-12-30

  • Confirm test with base-4.13.0.0

0.1.3.0 – 2019-12-27

GraphSON module

  • Add FromGraphSON instances to the following wrapper types.
    • Identity functor
    • NonEmpty list
    • From Data.Semigroup
      • Min
      • Max
      • First
      • Last
      • WrappedMonoid
      • Dual
      • Option
    • From Data.Monoid
      • First
      • Last
      • Sum
      • Product
      • All
      • Any

AsIterator module

  • Add AsIterator instance to NonEmpty.

0.1.2.7 – 2019-10-02

  • Confirm test with hashable-1.3.0.0 and semigroups-0.19.1.

0.1.2.6 – 2019-06-10

  • Adapt test spec to aeson-1.4.3.0 (#1).

0.1.2.5 – 2019-03-31

  • Confirm test with QuickCheck-2.13.1.

0.1.2.4 – 2018-10-03

  • Confirm test with base-4.12.0.0 and containers-0.6.0.1

0.1.2.3 – 2018-09-05

  • Confirmed test with QuickCheck-2.12 and hspec-2.5.6.

0.1.2.2 – 2018-07-24

  • Confirmed test with doctest-discover-0.2.0.0.

0.1.2.1 – 2018-06-24

  • Confirmed test with doctest-0.16.0.

0.1.2.0 – 2018-06-21

  • Add GMap module.
  • Add AsIterator module.
  • Add GraphSON.GValue module.
  • Confirmed test with aeson-1.4.0.0.

GraphSON module

  • Change behavior of instance FromJSON GraphSON. Now {”@type”: null} goes to failure. Before, “@type”:null fell back to direct (bare) parsing. If it finds “@type” key, I think it should expect that the JSON object is a GraphSON wrapper. It’s more or less a bug fix, so it doesn’t bump major version.
  • Add Generic and Hashable instances to GraphSON.
  • Add GValue and GValueBody types and related functions.
  • Add FromGraphSON class and related functions.
  • Add instance GraphSONTyped Either.
  • Add instance GraphSONTyped to types in containers package.
  • Re-export Aeson’s Parser type for convenience.

Greskell module

  • Add valueInt, gvalue, gvalueInt functions.

0.1.1.0 – 2018-04-08

  • Add Semigroup instance to Greskell.
  • Confirmed test with base-4.11.

0.1.0.0 – 2018-03-12

  • First version. Released on an unsuspecting world.