Skip to content

Release/v2.0.0 #26

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 136 commits into from
Oct 8, 2024
Merged

Release/v2.0.0 #26

merged 136 commits into from
Oct 8, 2024

Conversation

PabloPardoGarcia
Copy link
Member

@PabloPardoGarcia PabloPardoGarcia commented Sep 25, 2024

Release v2.0.0

This release includes breaking changes.

Breaking changes

  • Remove PipelineClient and GlassFlowClient.get_pipeline_client in favor of top level new classes PipelineDataSource and PipelineDataSink

New features

  • GlassFlow client accepts argument personal_access_token (needed for all the management related operations)
  • GlassFlow client has the following new methods:
    • create_pipeline: Creates a new pipeline
    • get_pipeline : Gets a Pipeline object from a pipeline_id
    • list_pipelines: Returns all pipelines available to the user
    • create_space: Creates a new space
    • list_spaces: Returns all spaces available to the user
  • New top level class Pipeline with methods:
    • fetch: fetches a pipeline from the API
    • create: creates a new pipeline
    • update: updates parameters from the pipeline
    • delete: deletes existing pipeline
    • get_source: gets a PipelineDataSource with the pipeline credentials
    • get_sink: gets a PipelineDataSink with the pipeline credentials
    • _get_access_tokens: Pulls the Pipeline's access tokens from the API
    • _get_function_source: Pulls the Pipeline's function source from the API
    • get_logs: Returns the logs from the function
  • New top level classes PipelineDataSource and PipelineDataSink have method validate_credentials which raises an error if the provided credentials are invalid.
  • New top level class Space with methods create and delete

Under the hood

  • Use https://staging.api.glassflow.dev/v1 during integration tests
  • Add more exhaustive unit and integration tests
  • Add coverage tests and coverage report message to GA on PR to main
  • Add api data models automatically generated by make generate-api-data-models

PabloPardoGarcia and others added 30 commits September 18, 2024 13:03
…gement-token-parameter-to-gf-client

Pablo/dev 157 add personal management token parameter to gf client
…-client

Pablo/add request method in api client
@vkd
Copy link

vkd commented Oct 1, 2024

So far, looks good to me! ✅

@PabloPardoGarcia PabloPardoGarcia merged commit a3b4e5a into main Oct 8, 2024
7 checks passed
@PabloPardoGarcia PabloPardoGarcia deleted the release/v2.0.0 branch October 8, 2024 02:39
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