Skip to content
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

Bump version to 3.3.0 #508

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion line-openapi
2 changes: 1 addition & 1 deletion linebot/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"""Meta data of line-bot-sdk."""


__version__ = '3.2.0'
__version__ = '3.3.0'
__author__ = 'LINE Corporation'
__copyright__ = 'Copyright 2016, LINE Corporation'
__license__ = 'Apache 2.0'
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/audience/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.audience.api.manage_audience import ManageAudience
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/audience/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/audience/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/audience/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 2 additions & 0 deletions linebot/v3/audience/models/audience_group_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class AudienceGroupType(str, Enum):
VIDEO_VIEW = 'VIDEO_VIEW'
WEBTRAFFIC = 'WEBTRAFFIC'
IMAGE_CLICK = 'IMAGE_CLICK'
RICHMENU_IMP = 'RICHMENU_IMP'
RICHMENU_CLICK = 'RICHMENU_CLICK'

Comment on lines 41 to 44
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main change

@classmethod
def from_json(cls, json_str: str) -> AudienceGroupType:
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/insight/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.insight.api.insight import Insight
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/insight/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/insight/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/insight/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/liff/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.liff.api.liff import Liff
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/liff/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/liff/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/liff/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/messaging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.messaging.api.messaging_api import MessagingApi
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/messaging/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/messaging/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/messaging/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/module/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.module.api.line_module import LineModule
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/module/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/module/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/module/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/moduleattach/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.moduleattach.api.line_module_attach import LineModuleAttach
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/moduleattach/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/moduleattach/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/moduleattach/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/oauth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.oauth.api.channel_access_token import ChannelAccessToken
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/oauth/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/oauth/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/oauth/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/shop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""


__version__ = "3.2.0"
__version__ = "3.3.0"

# import apis into sdk package
from linebot.v3.shop.api.shop import Shop
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/shop/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python/3.2.0'
self.user_agent = 'line-bot-sdk-python/3.3.0'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/shop/async_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers['Authorization'] = 'Bearer ' + configuration.access_token
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'line-bot-sdk-python-async/3.2.0'
self.user_agent = 'line-bot-sdk-python-async/3.3.0'
self.client_side_validation = configuration.client_side_validation

async def __aenter__(self):
Expand Down
2 changes: 1 addition & 1 deletion linebot/v3/shop/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 0.0.1\n"\
"SDK Package Version: 3.2.0".\
"SDK Package Version: 3.3.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down