Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Releases: dsdanielpark/Bard-API

0.1.40

24 Feb 18:47
beef81a
Compare
Choose a tag to compare

Transition to Gemini Icon Gemini API

In February 2024, Bard has changed its service name to Gemini.

  • For some countries/regions where the __Secure-1PSID cookie value ends with a single dot: Bard API >= 0.1.40
  • For all other countries/regions: Starting from March 1st, please go to the Gemini API package.

Moving forward, updates will primarily focus on the Gemini API package.


Bard API - version 0.1.40

$ pip install bardapi==0.1.40
$ pip install -q -U bardapi

What's Changed

0.1.39

18 Jan 15:35
Compare
Choose a tag to compare

Bard API - version 0.1.39

$ pip install bardapi==0.1.39
$ pip install -q -U bardapi

Release Note

  • Add Google Contents: Change type hints for compatibility across various Python versions. by @dsdanielpark @veonua #210
  • Add feature: Auto Rotating Cookies by @szv99 #249 #235 #191 - The following, however, requires further development to fully implement the functionality.
  • Add ask in BardAsync: by @jjkoh95 #223
  • Fix Async Bard: I have made modifications to the implementation of async Bard. Please refer to the code examples in the documentation. I have corrected some incorrect arguments and removed unnecessary processes such as translation to align it with async. However, further development is needed. by @dsdanielpark #253 #255
  • Change cookie value assert to print: We have observed that in some countries, accounts, or regions, the cookie value does not end with a single dot. Thus, Instead of using assert, we are changing it to notify through print statements. by @dsdanielpark #261
  • Fix dependencies and refactoring by @dsdanielpark

You can check Google Official Service at #262


What's Changed

New Contributors

Full Changelog: 0.1.38...0.1.39

0.1.38

02 Oct 12:57
Compare
Choose a tag to compare

0.1.38

$ pip install bardapi==0.1.38
$ pip install -q -U bardapi

Conducted QA on get_answer and ask_about_image method by dsdanielpark

  • In order to prevent confusion in the future, Pull Requests will be rejected if refactoring and contributions are not thoroughly QA-tested.
  • Furthermore, strict rules will be applied regarding additional package imports.
  • We value maintenance of existing features as much as new features for this project, so we will be more careful about future builds.
  • Thank you for your love for the bardapi package. Once again, we thank the contributors and the community. Let's create a great community through consideration and respect for each other.

  • Contributor: dsdanielpark
  • PR index: None
  • Issue index: #198
  • Build Git Hash: 1a90067
    • During the optimization and refactoring process, I identified formatting and import errors. These issues have been addressed through QA to prevent recurrence.

0.1.37

02 Oct 12:31
Compare
Choose a tag to compare

0.1.37

Do not use.

  • Contributor: dsdanielpark
  • PR index: None
  • Issue index: #198
  • Build Git Hash: 222a519
    • During the optimization and refactoring process, I identified formatting and import errors. These issues have been addressed through QA to prevent recurrence.

0.1.36

02 Oct 12:30
Compare
Choose a tag to compare

0.1.36

Do not use.

  • Contributor: dsdanielpark
  • PR index: None
  • Issue index: #198
  • Build Git Hash: 1714a73
    • During the optimization and refactoring process, I identified formatting and import errors. These issues have been addressed through QA to prevent recurrence.

0.1.35

30 Sep 14:47
Compare
Choose a tag to compare

0.1.35

$ pip install bardapi==0.1.35
$ pip install -U bardapi

It may not work as it is only available for certain accounts, regions, and other restrictions.
Google's policy change has led to an increased need for multiple cookie values from users. Some code streamlining is required.

  • Contributor: dsdanielpark
  • PR index: None
  • Issue index: #187, #188, #192
  • Build Git Hash: 045865a
    • While wrapping some of the overall structures, version 0.1.34 could not properly support ask_about_image due to its omission. Please use the GitHub dev version or version 0.1.33 or 0.1.35. We apologize for the confusion. If you have any ideas for better refactoring of the structure, please feel free to contribute! Thank you.

0.1.34

22 Sep 02:44
Compare
Choose a tag to compare

0.1.34

$ pip install bardapi==0.1.34
$ pip install -q -U bardapi

It may not work as it is only available for certain accounts, regions, and other restrictions.
Google's policy change has led to an increased need for multiple cookie values from users. Some code streamlining is required.

  • Contributor: dsdanielpark, aaj-md
  • PR index: None
  • Issue index: #186
  • Build Git Hash: 7a4da93
    • We have applied the revamped input text structures as Google Bard have been just updated.
    • While we kept some parts of the structuring for existing contributors a bit messy, we refactored core.py, core_async.py, and core_cookies.py (which mostly inherits from core.py) to enhance readability.
    • The main refactoring includes separating the structuring part into utils.py and isolating some variables into constant.py, improving code maintainability.
    • This decision was made more from a code maintenance perspective than a comprehensive understanding of the overall flow of many users' code, and we anticipate that Google Palm API will officially provide the API to many users for free in the future.

0.1.33

18 Aug 02:46
Compare
Choose a tag to compare

0.1.33

$ pip install bardapi==0.1.33

It may not work as it is only available for certain accounts, regions, and other restrictions.
Google's policy change has led to an increased need for multiple cookie values from users. Some code streamlining is required.

0.1.32

09 Aug 15:33
Compare
Choose a tag to compare

0.1.32

$ pip install bardapi==0.1.32

It may not work as it is only available for certain accounts, regions, and other restrictions.

  • Contributors: CBoYXD, dsdanielpark
  • PR indexies:
  • Build Git Hash: 0c43df8
    • Refactoring has been carried out for certain features.
    • Additionally, we are adding previously incomplete components, enhancing readability.
    • As minor errors might be present, a version requiring a hotfix could arise.
    • If no hotfix issues are found in 0.1.32, we plan to maintain the 0.1.32 version for a significant period, and version 0.1.33, which includes refactoring and additional feature implementations, will be deployed after thorough QA.

Warning
Refactoring and feature implementation are currently in progress, so issues may arise. It's recommended to refrain from updating and instead use versions below 0.1.30.

0.1.31

09 Aug 01:56
Compare
Choose a tag to compare

0.1.31

$ pip install bardapi==0.1.31

It may not work as it is only available for certain accounts, regions, and other restrictions.

  • Contributors: CBoYXD, lywchaos, dsdanielpark
  • PR indexies: #151, #152, #153, #154, #157
  • Build Git Hash: a4b1c7d
    • Corrected some docstring typos and code formatting. #153
    • Added support for automatic language detection when not specified, especially related to translations. #157
    • Refactored BardAsync object. #152
    • Corrected BardCookies and BardCookies inherit Bard class. #152
    • Add proxies to ask_about_image method #151

I sincerely appreciate the efforts of all contributors.