8000 Release/v1.38.0 by Umang01-hash · Pull Request #1677 · gofr-dev/gofr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Release/v1.38.0 #1677

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

Merged
merged 30 commits into from
Apr 24, 2025
Merged

Release/v1.38.0 #1677

merged 30 commits into from
Apr 24, 2025

Conversation

Umang01-hash
Copy link
Member

Release - v1.38.0

🚀 Features

Elasticsearch Integration Support

  • GoFr now supports Elasticsearch as a pluggable data source with a standard interface for document indexing, searching, and cluster management.

  • Developers can inject any compatible Elasticsearch client that implements the following interface:

    type Elasticsearch interface {
        Connect()
        CreateIndex(ctx context.Context, index string, settings map[string]any) error 
        DeleteIndex(ctx context.Context, index string) error 
        IndexDocument(ctx context.Context, index, id string, document any) error 
        GetDocument(ctx context.Context, index, id string) (map[string]any, error)
        UpdateDocument(ctx context.Context, index, id string, update map[string]any) error 
        DeleteDocument(ctx context.Context, index, id string) error 
        Search(ctx context.Context, indices []string, query map[string]any) (map[string]any, error)
        Bulk(ctx context.Context, operations []map[string]any) (map[string]any, error)
        HealthChecker
    }
  • Official GoFr-compatible driver is available via:

    go get gofr.dev/pkg/gofr/datasource/elasticsearch@latest
    
  • Example usage in your main.go:

    func main (){
    	    app := gofr.New()
    	    
    		es := elasticsearch.New(elasticsearch.Config{
    	        Addresses: []string{"http://localhost:9200"},
    	        Username: "elastic",
    	        Password: "changeme",
    	    })
    
    	    app.AddElasticsearch(es)
    	    
    		app.Run ()
    }
  • Checkout our official documentation for more details.

dependabot bot and others added 30 commits April 15, 2025 05:51
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.228.0 to 0.229.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](googleapis/google-api-go-client@v0.228.0...v0.229.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.229.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the go_modules group with 1 update: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.37.0 to 0.38.0
- [Commits](golang/net@v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
…olang.org/api-0.229.0

Bump google.golang.org/api from 0.228.0 to 0.229.0
* Update go version in Dockerfile

* update go version to 1.24 across all docker files

---------

Co-authored-by: umang01-hash <mundhraumang.02@gmail.com>
Co-authored-by: Aryan Mehrotra <aryanmehrotra2000@gmail.com>
* minor

* enabled the usetesting and used fixed usetesting command to fix some issue

* removed unused context from import

* updated go.work.sum after rebase

* removed usetesting unused settings

* reverted the go.work.sum file

* resolve linter in gofr/config dir

---------

Co-authored-by: umang01-hash <mundhraumang.02@gmail.com>
Co-authored-by: Aryan Mehrotra <aryanmehrotra2000@gmail.com>
@aryanmehrotra aryanmehrotra merged commit 72e836f into main Apr 24, 2025
17 checks passed
@aryanmehrotra aryanmehrotra deleted the release/v1.38.0 branch April 24, 2025 15:31
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.

8 participants
0