Skip to content

Releases: liontariai/samarium

v0.28.2 - Fragment Aliases

17 Jan 11:38

Choose a tag to compare

Fragment Aliases Support

This release adds support for fragment aliases in GraphQL queries, enabling you to use the same fragment multiple times with different aliases.

Features:

  • Implement fragment alias functionality, allowing fragments to be reused with custom field name prefixes
  • Lazy restructuring of aliased fragment data for proper property access
  • Full compatibility with Object.* methods through eager reconstruction in the proxify function

Improvements:

  • Selection callbacks now support non-SLW (selection-like-wrapper) values, enabling conditional queries where keys can be set to undefined

Known Issues:

  • When using console.log on parent-parent objects containing aliased fragments, the output displays real data with alias-prefixed fields. However, when accessed programmatically, the data is correctly restructured under the alias key.

Full Changelog: v0.28.1...v0.28.2

v0.27.2

31 Dec 15:29

Choose a tag to compare

Full Changelog: v0.27.1...v0.27.2

v0.27.1

29 Dec 13:57

Choose a tag to compare

Full Changelog: v0.27.0...v0.27.1

v0.27.0 - Major stability update

28 Dec 13:35

Choose a tag to compare

v0.26.0 - GQL Selection is now optional!

26 Dec 12:53

Choose a tag to compare

v0.24.3

23 Jul 12:09

Choose a tag to compare

v0.24.3

v0.24.1

17 Jul 15:02

Choose a tag to compare

Full Changelog: v0.24.0...v0.24.1

v0.24.0

10 Jun 07:51

Choose a tag to compare

What's Changed

  • Allow Remapping enum key/values via JSDoc comments for the generated ts enum by @liontariai in #31
  • [SM-62] correctly handle null values in underlying data by @liontariai in #32
  • Improve proxied arrays performance by @liontariai in #33

Full Changelog: v0.23.1...v0.24.0

v0.23.0 - magic $all selection helper

25 May 15:23

Choose a tag to compare

What's Changed

  • implement magic $all helper function to select all nested fields by @liontariai in #30

Full Changelog: v0.22.0...v0.23.0

v0.22.0 - Subscriptions over SSE for GraphQL

07 Apr 08:11

Choose a tag to compare

What's Changed

Full Changelog: v0.21.2...v0.22.0