Releases: KudoAI/chatgpt.js
chatgpt.js v3.0.2
📃 Changelog
- Updated selectors in
chatgpt.sidebar
methods (@svan-b, @Jeff-Zzh, @adamlui) - Optimized
isToggleBtn
inchatgpt.sidebar.toggle()
(@adamlui) - Shortened function declarations for readablity (@adamlui)
- Bumped actions/setup-node from v2 to v4 (@adamlui)
- Bumped husky from 9.1.1 to 9.1.5 (@dependabot, @adamlui)
- Bumped ESLint from 9.7.0 to 9.9.1 (@dependabot, @adamlui)
- Bumped minify.js from 1.8.1 to 1.8.3 (@dependabot, @adamlui)
- Bumped eslint-plugin-json from 4.0.0 to 4.0.1 (@dependabot, @adamlui)
Full Changelog: v3.0.1...v3.0.2
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v3.0.2/#readme
🧠 New Contributors
- @svan-b made their first contribution in adamlui/ai-web-extensions#75
- @Jeff-Zzh made their first contribution in adamlui/ai-web-extensions#75
Note: Asset chatgpt.js-3.0.2.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v3.0.1
📃 Changelog
Full Changelog: v3.0.0...v3.0.1
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v3.0.1/#readme
Note: Asset chatgpt.js-3.0.1.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v3.0.0
📃 Changelog
- Removed args from
chatgpt.clearChats()
due to deprecation of DOM method resulting from UI changes (@adamlui) - Removed
.browser
methods from top-level that aren't semantic (@adamlui) - Added key names to
keyHandler()
inchatgpt.alert()
to widen compatibility (@adamlui) - Added
chatgpt.code.isIdle()
(@adamlui, @grayfallstown) - Added
chatgpt.focusChatbar()
(@adamlui) - Replaced deprecated
navigator.userAgent
w/.userAgentData
in Chromium browser detection methods (@adamlui) - Added
chatgpt.browser.isEdge()
(@adamlui) - Added
chatgpt.browser.isChrome()
(@adamlui) - Added
chatgpt.browser.isBrave()
(@adamlui) - Added function synonym 'ff' for 'firefox' (@adamlui)
- Added Space key to
chatgpt.alert()
dismissers (@adamlui) - Added slight dim to light-mode
chatgpt.alert()
bg (@adamlui) - Increased
fadeDuration
+0.05s inchatgpt.notify()
(@adamlui) - Changed shape of Close button hover underlay in
chatgpt.alert()
to circle (@adamlui) - Updated
chatgpt.sidebar.toggle()
to work w/ UI update (@adamlui) - Moved
endpoints
from top-level tochatgpt
to avoid namespace pollution (@adamlui) - Renamed top-level objs to avoid namespace pollution (@adamlui)
- Condensed
.is<Idle|Loaded>()
methods (@adamlui) - Replaced eslint-plugin-json-schema-validator w/ far unbuggier eslint-plugin-json (@adamlui)
- Bumped scss-to-css from 1.10.0 to 1.10.3 (@dependabot, @adamlui)
- Bumped minify.js from 1.7.0 to 1.8.1 (@dependabot, @adamlui)
- Bumped ESLint from 9.3.0 to 9.7.0 (@dependabot, @adamlui)
- Bumped husky from 9.0.11 to 9.1.1 (@dependabot, @adamlui)
- Bumped braces from 3.0.2 to 3.0.3 (@dependabot, @adamlui)
- Bumped ws from 7.5.9 to 7.5.10 (@dependabot)
- Bumped actions/checkout from v2 to v4 (@adamlui)
Full Changelog: v2.9.3...v3.0.0
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v3.0.0/#readme
🧠 New Contributors
- @grayfallstown made their first contribution in #272
Note: Asset chatgpt.js-3.0.0.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.9.3
📃 Changelog
- Added temp chat refresh icon targeting to
chatgpt.getNewChatButton()
selector (@adamlui) - Revised
chatgpt.sidebar.isLoaded()
to timeout 5s afterchatgpt.isLoaded()
due to new occasional absence of New Chat link (@adamlui) - Halved check frequencies of
.is<Idle|Loaded>()
methods to widen browser support (@adamlui) - Bumped ESLint from 9.2.0 to 9.3.0 (@dependabot, @adamlui)
Full Changelog: v2.9.2...v2.9.3
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.9.3/#readme
Note: Asset chatgpt.js-2.9.3.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.9.2
📃 Changelog
Full Changelog: v2.9.1...v2.9.2
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.9.2/#readme
Note: Asset chatgpt.js-2.9.2.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.9.1
📃 Changelog
- Corrected
chatgpt.sidebar.isloaded()
to camel case + added lowercase alias (@adamlui) - Added lowercase alias for
.isFullScreen()
(@adamlui)
Full Changelog: v2.9.0...v2.9.1
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.9.1/#readme
Note: Asset chatgpt.js-2.9.1.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.9.0
📃 Changelog
- Added
chatgpt.sidebar.isLoaded()
(@adamlui) - Added
chatgpt.response.continue()
+ aliases (@adamlui) - Added post-GPT-4o UI support to
getStopGeneratingButton()
(@adamlui) - Added post-GPT-4o UI support to
chatgpt.response.stopGenerating()
(@adamlui) - Added fallback to API method if DOM routine in
chatgpt.clearChats()
fails when no args passed (@adamlui) - Added alias
.getStopButton()
for.getStopGeneratingButton()
(@adamlui) - Added alias
.getContinueButton()
for.getContinueGeneratingButton()
(@adamlui) - Added aliases for
.stop()
(@adamlui) - Added synonyms for 'chats' + 'clear' in function names (@adamlui)
- Added more logging to
chatgpt.clearChats()
(@adamlui) - Updated selector + var name in
chatgpt.getContinueGeneratingButton()
(@adamlui) - Updated
sendButton
init inchatgpt.send()
to usechatgpt.getSendButton()
for easier maintenance (@adamlui) - Updated root domains of OpenAI backend API endpoints (@adamlui)
- Updated
chatgpt.menu.<open|close>()
to always log detailed err msgs (@adamlui) - Replaced sub-second interval funcs w/ timer ones to avoid potential overlapping for wider compatibility (@adamlui)
- Replaced general err msgs in
.click()
methods w/ detailed logs (@adamlui) - Condensed DOM routine in
chatgpt.clearChats()
w/ delay func (@adamlui) - Condensed
chatgpt.menu.<open|close>()
(@adamlui) - Condensed
.click()
methods to single-liners + using function aliases (@adamlui)
Full Changelog: v2.8.0...v2.9.0
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.9.0/#readme
Note: Asset chatgpt.js-2.9.0.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.8.0
📃 Changelog
- Added post-GPT-4o UI support to
chatgpt.getSendButton()
(@adamlui, @micz) - Added post-GPT-4o UI support to sender name stripping in
chatgpt.response.getFromDOM()
(@micz, @adamlui) - Added post-GPT-4o UI support to
chatgpt.isLoaded()
(@adamlui) - Added post-GPT-4o UI support to
chatgpt.sidebar.isOn()
(@adamlui) - Added post-GPT-4o UI support to
chatgpt.sidebar.toggle()
(@adamlui) - Added
chatgpt.getNewChatButton()
(@adamlui) - Added aliases for
.startNewChat()
(@adamlui) - Refactored return of
chatgpt.getChatData()
for improved readability/efficiency (@adamlui) - Updated URL in
window.location.href
condition to pick DOM/API methods inchatgpt.response.get()
(@adamlui) - Simplified
chatgpt.getResponse()
to callchatgpt.response.get()
for easier maintenance (@adamlui) - Eliminated reliance on English in
chatgpt.getNewChatLink()
to support non-English UIs (@adamlui) - Eliminated reliance on English in
chatgpt.startNewChat()
to support non-English UIs (@adamlui) - Replaced interval w/ timer func in
chatgpt.isLoaded()
to avoid potential overlapping (@adamlui) - Condensed
chatgpt.history.isLoaded()
using IIFE (@adamlui) - Removed hiding of no-longer-existent enable history spam div from
chatgpt.sidebar.activateObserver()
(@adamlui) - Bumped minify.js from 1.6.1 to 1.6.3 (@dependabot, @adamlui)
- Bumped scss-to-css from 1.9.0 to 1.10.0 (@dependabot, @adamlui)
Full Changelog: v2.7.1...v2.8.0
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.8.0/#readme
🧠 New Contributors
- @imranaalam made their first contribution in #259
Note: Asset chatgpt.js-2.8.0.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.7.1
📃 Changelog
- Added alias
.getScrollButton()
for.getScrollToBottomButton()
(@adamlui) - Added
Math.random()
fallback tochatgpt.randomFloat()
return in casewindow.crypto || window.msCrypto
not found (@adamlui) - Corrected error msgs in
chatgpt.menu.open()
(@adamlui) - Changed
chatgpt.menu.<open|close>()
caught err msgs toerr.message
(@adamlui) - Removed throws from
chatgpt.menu.<open|close>()
for uninterrupted program flow in calling apps (@adamlui) - Updated CSS selector in DOM routine of
chatgpt.clearChats()
(@adamlui)
Full Changelog: v2.7.0...v2.7.1
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.7.1/#readme
Note: Asset chatgpt.js-2.7.1.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.
chatgpt.js v2.7.0
📃 Changelog
- Added
chatgpt.getScrollToBottomButton()
(@adamlui) - Added
chatgpt.getHeaderDiv()
+ alias (@adamlui) - Added
chatgpt.getFooterDiv()
+ alias (@adamlui) - Added
chatgpt.hideHeader()
(@adamlui) - Added
chatgpt.hideFooter()
(@adamlui) - Added
chatgpt.showHeader()
(@adamlui) - Added
chatgpt.showFooter()
(@adamlui) - Added function synonym 'btn' for 'button' (@adamlui)
- Replaced userguide links in READMEs w/ versioned URLs to trigger sync w/ each bump for accurate context per release (@adamlui)
- Updated CSS selector in
chatgpt.getRegenerateButton()
to work w/ new chatgpt.com UI (@micz) - Updated node returned by
chatgpt.getRegenerateButton()
to be the button instead of its parent node (@adamlui) - Updated
chatgpt.response.generate()
to rely onchatgpt.getRegenerateButton()
+ added error logging (@adamlui) - Updated
chatgpt.regenerate()
to callchatgpt.response.regenerate()
for improved maintainability (@adamlui) - Updated
chatgpt.scrollToBottom()
to rely onchatgpt.getScrollToBottomButton()
+ added error logging (@adamlui)
Full Changelog: v2.6.10...v2.7.0
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.7.0/#readme
🧠 New Contributors
Note: Asset chatgpt.js-2.7.0.tgz is the official release package as published to npm. *.tar.gz and *.zip files are auto-generated by GitHub, they contain a git snapshot of the entire repo at the time of this release.