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

Release v1.20.0 #1022

Merged
merged 12 commits into from
Sep 16, 2024
Merged

Release v1.20.0 #1022

merged 12 commits into from
Sep 16, 2024

Conversation

aryanmehrotra
Copy link
Member

@aryanmehrotra aryanmehrotra commented Sep 16, 2024

Release v1.20.0

✨ Features

  • Support for Solr
    Solr can now be used as a datasource, for adding Solr use AddSolr(cfg Solr.Config) method of gofrApp.
    Refer documentation for detailed info.
    Supported Functionalities are:
     Search(ctx context.Context, collection string, params map[string]any) (any, error)  
     Create(ctx context.Context, collection string, document *bytes.Buffer, params map[string]any) (any, error)  
     Update(ctx context.Context, collection string, document *bytes.Buffer, params map[string]any) (any, error)  
     Delete(ctx context.Context, collection string, document *bytes.Buffer, params map[string]any) (any, error)  
       
     Retrieve(ctx context.Context, collection string, params map[string]any) (any, error)  
     ListFields(ctx context.Context, collection string, params map[string]any) (any, error)  
     AddField(ctx context.Context, collection string, document *bytes.Buffer) (any, error)  
     UpdateField(ctx context.Context, collection string, document *bytes.Buffer) (any, error)  
     DeleteField(ctx context.Context, collection string, document *bytes.Buffer) (any, error)
    

🛠 Enhancements

  • Added mocks for HTTP Service
    Testing GoFr HTTP client was having issues as mocks were not generated, added the mocks for the HTTP service in GoFr's MockContainer.

@srijan-27 srijan-27 merged commit 343d135 into main Sep 16, 2024
11 checks passed
@srijan-27 srijan-27 deleted the release/v1.20.0 branch September 16, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants