Releases: KudoAI/chatgpt.js
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.
chatgpt.js v2.6.10
📃 Changelog
- Replaced raw.githubusercontent.com
endpoints.assets
w/ cdn.jsdelivr.net URL (@adamlui) - Removed audio feedback from
chatgpt.notify()
since sites are increasingly tightening CSPs that prevent loading of external resources (@adamlui) - Updated root domain of
endpoints.openAI.session
(@adamlui) - Added commit hash insertion to jsDelivr URLs for GH assets during build process to preserve access to moved/deleted assets (@adamlui)
- Bumped minify.js from 1.5.8 to 1.6.1 (@dependabot, @adamlui)
- Bumped scss-to-css from 1.8.3 to 1.9.0 (@dependabot, @adamlui)
- Bumped ESLint from 9.1.1 to 9.2.0 (@dependabot, @adamlui)
Full Changelog: v2.6.9...v2.6.10
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.6.10/#readme
Note: Asset chatgpt.js-2.6.10.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.6.9
📃 Changelog
- Updated DOM routine in
chatgpt.clearChats()
to work w/ new chat.openai.com UI (@adamlui) - Removed
chatgpt.history
methods outdated as of yesterday's chat.openai.com UI change to always show history (@adamlui) - Removed message fetching/localization due to CSP restrictions (@adamlui, @thedayofcondor)
- Removed no longer used env flags (@adamlui)
- Ensured
data[key].message
existence before checkingdata[key].message.author.role
inchatgpt.getChatData()
'sgetChatMsgs()
(@EMTRY) - Added injection of header comment w/ copyright + source/userguide/latest minified release URLs into chatgpt.min.js during build process (@adamlui)
- Removed no longer used eslint-plugin-yml as dev dependency (@adamlui)
- Bumped ESLint from 8.57.0 to 9.1.1 (@dependabot, @adamlui)
- Bumped minify.js from 1.4.10 to 1.5.8 (@dependabot, @adamlui)
- Bumped scss-to-css from 1.7.8 to 1.8.3 (@dependabot, @adamlui)
Full Changelog: v2.6.8...v2.6.9
For more detailed information and usage instructions, please refer to the README for this release: https://github.com/KudoAI/chatgpt.js/tree/v2.6.9/#readme
🧠 New Contributors
- @EMTRY made their first contribution in #177
- @thedayofcondor made their first contribution in #182
Note: Asset chatgpt.js-2.6.9.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.