Brian Lai (Airbyte)
02/16/2023, 4:25 AMairbyte-cdk:0.29.0. This release contains a number of breaking changes that are intended to improve the overall usability of the language by reorganizing certain concepts, renaming, reducing some field duplication, and removal of fields that are seldom used. The Airbyte team has already worked to migrate all existing connectors in the Airbyte repository to support the changes to the language. However, connectors that are currently in-progress or that have not been merged as of Wednesday 2/15 will have to be adjusted to accommodate the new changes.
Here are a list of the major changes to components that might affect your manifests:
• We have renamed $options to $parameters
• We have changed the notation for referencing other components to the JSON schema notation ($ref: "#/definitions/requester")
• We have deprecated the SimpleRetriever’s stream_slicer in favor of two individual concepts.
• Stream’s will define an incremental_sync field which is responsible for defining how we would support incremental syncs using a cursor field. DatetimeStreamSlicer has been renamed to DatetimeBasedCursor and can be used for this field.
• Retriever’s will now define a partition_router field. We have renamed the remaining slicers to be called SubstreamPartitionRouter and ListPartitionRouter, both of which can be used here as they already have been.
• We’ve deprecated the CartesianProductStreamSlicer because partition_router can accept a list of values and will generate that same cartesian product
• DefaultPaginator no longer has a url_base field. Moving forward, paginators will derive the url_base from the HttpRequester. There are some unique cases for connectors that implement a custom Retriever, which I can go into more detail if necessary.
• primary_key and name no longer need to be defined on Retrievers or Requesters. They will be derived from the stream’s definition
• Stream’s no longer define a stream_cursor_field and will derive it from the incremental_sync. checkpoint_interval has also been deprecated
• DpathExtractor field_pointer has been renamed field_path
• We no longer allow for using RequestOption with inject_into set to path. We now have a dedicated RequestPath component moving forward.
In addition, a change was released a couple of weeks ago where we are now validating manifests against the declarative_component_schema.yaml which is a handwritten schema maintained by our team. You can use that file as a reference document as you write or update manifests.
Thank you being contributors and early access users of the low-code framework and please feel free to reach out to the Airbyte team if you run into issues migrating your in flight connectors and we will try to help ease the process or point you towards sample connectors for your use case.Gergely Imreh
02/16/2023, 8:17 AMBrian Lai (Airbyte)
02/16/2023, 7:10 PMSherif Nada
02/16/2023, 7:14 PMMaxime Carbonneau-Leclerc (Airbyte)
02/16/2023, 7:34 PMJosh Jeffries
02/23/2023, 3:49 PMMaxime Carbonneau-Leclerc (Airbyte)
02/23/2023, 4:01 PMairbyte-cdk==0.28.1 but not airbyte-cdk==0.29.0 which your pip install might be resolving. Can you provide more information as to the issue you are encountering?
The connector builder should be updated soon to create manifest that takes into account those breaking changes. We’ll keep you posted!Josh Jeffries
02/23/2023, 4:21 PMairbyte-cdk==0.28.1 (unless i am looking at the wrong setup.py mine is actually showing up as airbyte-cdk~=0.1 . if i do change it, to 28.1 and run the pip install again, it gets a little further but still has errors (see pic 2)Maxime Carbonneau-Leclerc (Airbyte)
02/23/2023, 4:40 PMJosh Jeffries
02/23/2023, 4:44 PMcd ../../connectors/source-jobadder
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.py specMaxime Carbonneau-Leclerc (Airbyte)
02/23/2023, 4:48 PMsetup.py to set airbyte-cdk==0.28.1 before running pip install -r requirements.txt, the manifest generated by the Connector Builder should work thereJosh Jeffries
02/23/2023, 4:49 PMMaxime Carbonneau-Leclerc (Airbyte)
02/23/2023, 4:49 PMMaxime Carbonneau-Leclerc (Airbyte)
02/23/2023, 5:08 PMJosh Jeffries
02/23/2023, 5:12 PMMaxime Carbonneau-Leclerc (Airbyte)
02/23/2023, 5:14 PM