Skip to content

Commit

Permalink
removed Redact API support, added changelog entries for v4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkahan committed Aug 26, 2023
1 parent 7a87e10 commit ffe8a37
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 79 deletions.
13 changes: 12 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 4.0.0
New features:
- Added support for the Vonage Video API
- Added error handling for APIs that return a 200 on failure

Breaking changes:
- Removed redundant intermediary `Error` class
- Removed `Pay` action from NCCO builder
- Removed `Redact` class and support for the Redact API as it's a dev preview product that's unsupported in the SDK
- Removed `ApplicationV2` class. Use `Application` instead

# 3.9.0
- Dropped support for Python 3.7 as it's end-of-life and no longer receiving security updates

Expand Down Expand Up @@ -83,7 +94,7 @@ Enhancements:
- Added Messages API v1.0 support. Messages API can now be used by calling the `client.messages.send_message()` method.

# 2.7.0
- Moved some client methods into their own classes: `account.py, application.py,
- Moved some client methods into their own classes: `account.py, application.py,
message_search.py, number_insight.py, numbers.py, short_codes.py, ussd.py`
- Deprecated the corresponding client methods. These will be removed in a major release that's coming soon.
- Client now instantiates a class object for each API when it is created, e.g. `vonage.Client(key="mykey", secret="mysecret")`
Expand Down
1 change: 0 additions & 1 deletion src/vonage/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from .number_insight import NumberInsight
from .number_management import Numbers
from .proactive_connect import ProactiveConnect
from .redact import Redact
from .short_codes import ShortCodes
from .sms import Sms
from .subaccounts import Subaccounts
Expand Down
5 changes: 0 additions & 5 deletions src/vonage/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ class PricingTypeError(ClientError):
"""A pricing type was specified that is not allowed."""


class RedactError(ClientError):

"""Error related to the Redact class or Redact API."""


class InvalidAuthenticationTypeError(ClientError):
"""An authentication method was specified that is not allowed."""

Expand Down
31 changes: 0 additions & 31 deletions src/vonage/redact.py

This file was deleted.

5 changes: 0 additions & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ def messages(client):
return vonage.Messages(client)


@pytest.fixture
def redact(client):
return vonage.Redact(client)


@pytest.fixture
def application_v2(client):
import vonage
Expand Down
36 changes: 0 additions & 36 deletions tests/test_redact.py

This file was deleted.

0 comments on commit ffe8a37

Please sign in to comment.