Skip to content

Commit

Permalink
Merge branch 'main' into start-date-replication-value
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Aug 23, 2022
2 parents 09f2a6b + 9dac11c commit 4c53c31
Show file tree
Hide file tree
Showing 50 changed files with 507 additions and 305 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body:
attributes:
label: Singer SDK Version
description: Version of the library you are using
placeholder: "0.1.0"
placeholder: "0.8.0"
validations:
required: true
- type: dropdown
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip==22.2.1
poetry==1.1.14
virtualenv==20.16.2
nox==2022.1.7
pip==22.2.2
poetry==1.1.15
virtualenv==20.16.3
nox==2022.8.7
nox-poetry==1.0.1
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/[email protected]

- name: Set up Python
uses: actions/setup-python@v4.1.0
uses: actions/setup-python@v4.2.0
with:
python-version: "3.10"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
poetry --version
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.1.0
uses: actions/setup-python@v4.2.0
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
poetry --version
- name: Setup Python 3.10
uses: actions/setup-python@v4.1.0
uses: actions/setup-python@v4.2.0
with:
python-version: '3.10'
architecture: x64
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
poetry --version
- name: Set up Python
uses: actions/setup-python@v4.1.0
uses: actions/setup-python@v4.2.0
with:
python-version: '3.10'
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4.1.0
uses: actions/setup-python@v4.2.0
with:
python-version: "3.10"
architecture: x64
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repos:
exclude: (cookiecutter/.*|singer_sdk/helpers/_simpleeval/.*)

- repo: https://github.com/pycqa/flake8
rev: 5.0.2
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies:
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0



## v0.8.0 (2022-08-05)

### 🐛 Fixes

- [#784](https://github.com/meltano/sdk/issues/784) Update return type for `backoff_max_tries` to reflect it accepts a callable that returns an integer
- [#874](https://github.com/meltano/sdk/issues/874) Singer metrics are now properly emitted in JSON format --_Thanks, **@Jack-Burnett!**_

### 📚 Documentation Improvements

- [#869](https://github.com/meltano/sdk/issues/869) Cleanup whitespace in backoff code samples


## v0.7.0 (2022-07-21)

### ✨ New
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache 2.0"
[tool.poetry.dependencies]
python = "<3.11,>=3.7.1"
requests = "^2.25.1"
singer-sdk = "^0.7.0"
singer-sdk = "^0.8.0"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache 2.0"
[tool.poetry.dependencies]
python = "<3.11,>=3.7.1"
requests = "^2.25.1"
singer-sdk = "^0.7.0"
singer-sdk = "^0.8.0"

[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
Expand Down
8 changes: 2 additions & 6 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,10 @@ ReadtheDocs.org. When a push is detected by readthedocs.org, they automatically
and republish the docs. ReadtheDocs is also version aware, so it retains prior and unreleased
versions of the docs for us.

To build the docs:
To build the docs and live-reload them locally:

```bash
# Build docs
nox -rs docs

# Open in the local browser:
open build/index.html
nox -rs docs-serve
```

Sphinx will automatically generate class stubs, so be sure to `git add` them.
Expand Down
1 change: 1 addition & 0 deletions docs/_templates/class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

.. autoclass:: {{ name }}
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.BatchSink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: BatchSink
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.GraphQLStream.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: GraphQLStream
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.InlineMapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: InlineMapper
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.RESTStream.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: RESTStream
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.RecordSink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: RecordSink
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.SQLConnector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: SQLConnector
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.SQLSink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: SQLSink
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.SQLStream.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: SQLStream
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.SQLTap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: SQLTap
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.SQLTarget.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: SQLTarget
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.Sink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: Sink
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.Stream.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: Stream
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.Tap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: Tap
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.Target.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk

.. autoclass:: Target
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.authenticators

.. autoclass:: APIKeyAuthenticator
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.authenticators

.. autoclass:: BasicAuthenticator
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.authenticators

.. autoclass:: BearerTokenAuthenticator
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.authenticators

.. autoclass:: OAuthAuthenticator
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.authenticators

.. autoclass:: OAuthJWTAuthenticator
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.authenticators

.. autoclass:: SimpleAuthenticator
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.exceptions.ConfigValidationError.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: ConfigValidationError
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.exceptions.FatalAPIError.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: FatalAPIError
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: InvalidStreamSortException
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.exceptions.MapExpressionError.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: MapExpressionError
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: MaxRecordsLimitException
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: RecordsWitoutSchemaException
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.exceptions.RetriableAPIError.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: RetriableAPIError
:members:
:members:
:special-members: __init__
3 changes: 2 additions & 1 deletion docs/classes/singer_sdk.exceptions.StreamMapConfigError.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: StreamMapConfigError
:members:
:members:
:special-members: __init__
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.. currentmodule:: singer_sdk.exceptions

.. autoclass:: TapStreamConnectionFailure
:members:
:members:
:special-members: __init__
Loading

0 comments on commit 4c53c31

Please sign in to comment.