Releases: liontariai/samarium
Releases · liontariai/samarium
v0.28.2 - Fragment Aliases
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.logon 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
Full Changelog: v0.27.1...v0.27.2
v0.27.1
Full Changelog: v0.27.0...v0.27.1
v0.27.0 - Major stability update
Full Changelog: v0.26.0...v0.27.0
v0.26.0 - GQL Selection is now optional!
Full Changelog: v0.24.3...v0.26.0
v0.24.3
v0.24.3
v0.24.1
Full Changelog: v0.24.0...v0.24.1
v0.24.0
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
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
What's Changed
- Implement Subscriptions over SSE for GraphQL by @liontariai in #29
Full Changelog: v0.21.2...v0.22.0