Skip to content

Commit f079f8a

Browse files
authored
Added license variable JIR-36
Added license variable
2 parents a045afd + e2e2220 commit f079f8a

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Jira one change log
22

3+
**Release 0.9.1** - 2025-07-29
4+
Update:
5+
- License file update
6+
- Removed new argument from enhance_search
7+
8+
39
**Release 0.9.0** - 2025-07-28
410

511
Fixes:

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ Below is the list of supported versions for the jiraone library
66

77
| Version | Supported |
88
|---------|--------------------|
9+
| 0.9.1 | :white_check_mark: |
910
| 0.9.0 | :white_check_mark: |
1011
| 0.8.9 | :white_check_mark: |
1112
| 0.8.8 | :white_check_mark: |
1213
| 0.8.7 | :white_check_mark: |
1314
| 0.8.6 | :white_check_mark: |
1415
| 0.8.5 | :white_check_mark: |
15-
| 0.8.4 | :white_check_mark: |
16+
| 0.8.4 | :x: |
1617
| 0.8.3 | :x: |
1718
| 0.8.2 | :x: |
1819
| 0.8.1 | :x: |

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "jiraone"
3-
version = "v0.9.0"
3+
version = "v0.9.1"
44
authors = [
55
{ name="Prince Nyeche", email="[email protected]" },
66
]
@@ -9,6 +9,7 @@ classifiers = [
99
"Programming Language :: Python :: 3",
1010
"Operating System :: OS Independent",
1111
]
12+
license = "MIT"
1213
license-files = ["LICEN[CS]E*"]
1314
requires-python = ">=3.9"
1415
dependencies = [

src/jiraone/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from jiraone.management import manage
3838

3939
__author__ = "Prince Nyeche"
40-
__version__ = "0.9.0"
40+
__version__ = "0.9.1"
4141
__all__ = [
4242
"LOGIN",
4343
"endpoint",

src/jiraone/utils.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ def create_urls(**kwargs: t.Any) -> str:
509509
def enhance_search(
510510
defined_url: str,
511511
method: str = "GET",
512-
limit: int = 5000,
513512
) -> dict:
514513
"""Performs a search of issues keeping the payload mechanism looking like
515514
the old API for search, while retaining the new features of search in Cloud.
@@ -568,8 +567,6 @@ def enhance_search(
568567
# {"total": 123, "issues": [...] }
569568
570569
571-
:param limit: maximum number of results to return, defaults to 5000.
572-
573570
:return: A dictionary with the results of the search
574571
"""
575572
from jiraone import endpoint, LOGIN
@@ -585,7 +582,6 @@ def enhance_search(
585582
"must not be an empty string."
586583
)
587584
data_obj: dict = {}
588-
issue_count = 0
589585
# switch between GET or POST method automatically based on the provided
590586
# arguments.
591587
if "?" in defined_url:
@@ -652,10 +648,6 @@ def get_issues() -> None:
652648
)
653649
if resp.status_code < 300:
654650
resp_obj = resp.json()
655-
656-
if issue_count >= limit:
657-
break
658-
issue_count += 1
659651
else:
660652
raise JiraOneErrors(
661653
"error","Failed to get issue data - {}".format(

0 commit comments

Comments
 (0)