Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.11.11 #66

Merged
merged 2 commits into from
Feb 26, 2024
Merged

V0.11.11 #66

merged 2 commits into from
Feb 26, 2024

Conversation

pouya-eghbali
Copy link
Member

@pouya-eghbali pouya-eghbali commented Feb 26, 2024

  • Add GraphQL
  • Add null checks for WS client

@pouya-eghbali pouya-eghbali added the WTD Trigger What-The-Diff label Feb 26, 2024
Copy link

what-the-diff bot commented Feb 26, 2024

PR Summary

  • Added new dependencies: Multiple new packages have been introduced to the system to aid the program's operations.
  • Version update: The Version constant in 'constants.go' file has been updated from '0.11.10' to '0.11.11'.
  • Data type changes: Changes have been made to replace the 'math/big' type with a new 'helpers.BigInt' type in 'assetprice.go' and 'assetprice/where.go', improving efficiency. Additional updates were made in 'ent/assetprice_create.go', 'ent/assetprice_query.go' and related files to support these changes.
  • New import: An import for 'github.com/KenshiTech/unchained/gql' has been added to 'cmd/broker.go'.
  • Enhancements to AssetPrice: In 'assetprice/assetprice.go', totalCount and namedSigners properties have been added to the AssetPriceEdges. New methods 'assignValues' and 'scanValues' are also introduced to the AssetPrice type.
  • Updates in ent/assetprice_update.go and ent/assetprice_update_one.go: The existing 'SetPrice' and 'sqlSave' methods have been updated to support better data handling.
  • Client struct improvement: The Client struct in 'ent/client.go' now includes a new field 'tables' for better data structuring.
  • Enhancements in EventLog: A new method, 'NamedSigners', has been added to the 'EventLog' struct in 'eventlog.go', extending its functionality.
  • Added and removed files: New files have been added (ent/gql_collection.go and ent/gql_edge.go), and a file has been removed (ent/generate.go).
  • New files and changes to existing files: This PR introduces several new files - 'ent/entc.go', 'src/ent/gql_node.go', 'src/ent/gql_transaction.go', and 'src/ent/helpers/bigint.go' - each containing significant code or functionality additions. Some modifications have been made in existing files, such as 'src/ent/migrate/schema.go' and 'src/ent/runtime.go'.
  • GraphQL schema definitions: The file 'src/gql/unchained.graphql' has new schemas added.
  • Resolvers and gqlgen configuration: New file 'src/gql/unchained.resolvers.go' has resolver implementations for fields in the GraphQL schema. The 'src/gqlgen.yml' is a new addition for configuration of the 'gqlgen' tool.
  • Bug fixes: Fixed potential nil pointer dereference error in 'src/net/client/client.go', and deprecated method call in 'src/plugins/uniswap/uniswap.go'.
  • Added new dependencies in go.mod: Several new dependencies have been added to support GraphQL operations and multierror handling.
  • New 'Bytes' type: A new 'Bytes' type has been introduced in 'types/bytes.go' for better data handling.
  • Additions in server handlers: Server handlers have been enhanced in the 'server.go' file.

@pouya-eghbali pouya-eghbali merged commit e708e3b into master Feb 26, 2024
1 check passed
@pouya-eghbali pouya-eghbali deleted the v0.11.11 branch February 26, 2024 18:19
logicalangel pushed a commit that referenced this pull request Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WTD Trigger What-The-Diff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant