Releases: KudoAI/chatgpt.js
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.