- Fix regression in DOM observers, introduced in 1.1.13. Thanks @kinkoazc!
- Drop bundled jQuery, support jQuery 4, support explicit no-jQuery mode
- Fix reply button selector to support Gmail in text labels mode
- Fix
api.get.user_email()
.
- Use MutationObserver for DOM Node changes. Thanks @cancan101!
- Fix issue in
api.dom.compose.is_inline()
. Thanks @MadcowD!
- Fix
api.observe.on("view_email", ...)
not working.
- Fix
api.dom.right_toolbar()
, by @stevepeak.
- Fix
api.helper.get.is_delegated_inbox
, by @moodsey211.
- Fix incorrect variable name in GmailCache definition
- Fix for
api.tools.parse_attachment_url
.
- Better fix for
view_thread
event not triggeriong, by @cancan101.
- Improved parsing of embedded json data, by @onestep.
- Tentative fix for
view_thread
event not triggeriong, by @cancan101.
- Fix subject-value in
api.observe.on("send_message")
event-data, by @cancan101.
- Even more fixes for
api.observe.on("send_message")
by @huksley.
- Try some fixes for
api.observe.on("send_message")
.
- More fixes for
api.new.get.email_data()
andapi.new.get.thread_data()
.
- First release to fix new XHR format in Gmail. This fixes
api.new.get.email_data()
andapi.new.get.thread_data()
.
- Fix error in
insertion_observer()
. - Remove no longer working functions:
gmail.get.loggedin_accounts()
,gmail.get.manager_email()
andgmail.get.delegated_to_email()
.
- Fix incompatibility with Mixmax extension. Thanks @DrParanoia!
- Various typescript type-improvements. Thanks again @cancan101!
- Fix errors when trying to prefetch email-data. Once again, thanks to @cancan101!
- Introduce new function
gmail.tools.add_more_send_option()
. Even more thanks to @cancan101! - Make
gmail.get.email_source_*()
handle new-style and old-style identifiers natively.
- Fix error in TypeScript type-definitions. No functional/runtime changes. Thanks @cancan101
- Fix compose button being duplicated when using
gmail.tools.add_compose_button
more than once.
- Fix parsing of attachments in emails form embedded JSON. Thanks @onestep!
- Fix ussyes with
gmail.dom.visible_messages()
. Thanks @mhatvan!
- Fix
gmail.observe.on("http_event")
andgmail.observe.after("http_event")
triggers to receive all XHR requests. - Fix issue of
api.tools.parse_requests
mutating thexhrParams
variable, causing stacked instances ofgmail-js
to not work as expected around XHR events. This closes issue 662.
- Fix issue with accessing to(), cc() and bcc() in compose-fields with new Gmail "PeopleKit" UI. Thanks @huksley!
- Persist if a message is a draft during request parsing.
- Fix error in
gmail.get.localization()
, which should have been caught by CI.
- Fix error in
gmail.get.localization()
. This closes issue 652.
- Fix cursor when hovering over button created using
gmail.tools.add_compose_button
.
- Better attempt at fixing incorrect triggering of custom buttons created through GmailJS.
- Fix incorrect triggering of custom buttons created through GmailJS.
- Fix Firefox-compatibility issue in Gmail click-jack prevention.
- Fix issues with Gmail preventing click-events on buttons registered thourgh GmailJS. Closes #648.
- Fix
gmail.compose.start_compose()
.
- Improve ergonomics of
gmail.dom.email()
. Support new email-id in constructor.
- Fix
gmail.check.is_inside_email()
- Make
compose
cc() and bcc() methods force show cc and bcc-fields before updating.
- Fix for
compose
to(), cc() and bcc() methods not updating email correctly.
- Fix selector for start-compose button. Thanks @mikob!
- major improvements in populating the email-cache. Thanks @Fabi1Sc! NOTE: requires changes to extension-loading. See README!
- deprecate more old-style APIs
- add support for getting visible emails through DOM (replaces api.get.visible_emails())
- add support for parsing sent email data in new Gmail.
- add norwegian localizations.
- fix attachment URLs in non-primary gmail accounts.
- fix emails-property in gmail.new.get.thread_data().
- fix incorrect email counts in gmail.get.unread_emails() and related functions.
- add thread_id() function to DOM compose instances.
- fix issues with crash when invoked in cross-origin context.
- add support for closing compose-windows.
- add event for
send_scheduled_message
event.
- Further API compatibility and ergonomics improvements.
- Make
api.new.get.email_id()
able to work with DOMEmail directly.
- Fix bug introduced in
api.new.get.email_data()
in version 0.9.2 when not providing email-id.
- Make
api.new.get.email_data()
handle legacy-style IDs when present to improve compatibility. Creates console-warning when detected.
- Add ability to get new-style email-id directly from DOM element in
api.new.get.email_id()
.
- Don't make attachment-detail compatibility harder than it needs to be. Reuse old types.
- Replace sender_address string with detailed from-field in new Gmail EmailData-object.
- Fix wrong and missing type-annotations.
- Add
content_html
property toapi.new.get.email_data()
.
- Add optional parameters to control button-text in
api.tools.add_modal_window()
.
- Introduce new
api.new.get.*
API for new Gmail only. - Enhanced XHR monitoring to provide email-data, based entirely on new data-layer. (Provide 2019+ compatibility)
- Fix error in
api.get.displayed_email_data()
when conversation mode is off. - Fix error in
view_email
sub-observer after Gmail-changes. - Promote
view_email
andload_email_menu
to own, independent observers. - Obsolete concept with "sub-observers" completely (since none remain).
- Fix major error in new
api.check.is_conversation_view()
, introduced in 0.7.5.
- Fix minor error in new
api.check.is_conversation_view()
.
- Fix error with
api.check.is_conversation_view()
in new Gmail. - Add support for additional events in new Gmail: read, unread, open_email, archive & delete.
- Fix error with
api.dom.compose.send()
introduced in 0.7.2.
- Fix look of
api.tools.add_compose_button()
in new Gmail.
- Add detection-code for new Gmail.
- Fix locale-detection in new Gmail.
- Preliminary work on supporting events in new Gmail.
- Dramatically improve compatiblity situation: Now supports multiple concurrent GmailJS-instances and versions.
- New, safer DOM-based approach to resolving email-thread IDs.
api.get.email_id()
replaced byapi.get.thread_id()
. Using old method now generates warning!- New, safer data-attribute-based implementation for
api.dom.email
.
- Fix delegated inbox detection in
api.helper.get.is_delegated_inbox
- Fix bug in
api.get.visible_emails
. - Upgrade jQuery to latest.
- Fix locale-detection in
api.get.localization
.
- Bugfixes in email name-parsing
- Add more button-functions.
- Detect inlines replies.
- Add deprecation-warning to
api.get.email_source
. - Other bugfixes
- Introduce
api.get.email_source_promise
. - Deprecate
api.get.email_source
. - Support downloading email-source in binary format.
- Fix potential NPE in
api.check.is_plain_text
. - Fix
"delete_label"
observer.
- Fix
api.get.current_page
. - Fix
api.dom.email().attachments()
for browsers not Firefox, (although download url and mime-type wont be available). - Add
attachments_details
property toemail_data().threads[]
objects which is not DOM-based and should work in all browsers.
- Improve modal dialogs.
- Updated TypeScript bindings.
- Fix possible XSS bug. (KartikTalwar#281)
- Introduce
api.dom.compose.send()
function. - Add DOM APIs for attachments (
api.dom.email(email_id).attachments()
).
- Fix bug in
api.tools.parse_response
.
- Fix
api.check.is_inside_email
when email text is hidden/collapsed. - Fix
api.get.visible_emails
. - Fix
api.tools.parse_email_data
when email text is deleted - Fix
api.tools.get_reply_to
when input parameter is null - Added
api.get.displayed_email_data_async
- Fix CORS-issue introduced in
api.get.email_source
in version 0.6.0.
- Fix
api.get.localization
bug.
- Fix
api.get.email_source
format-bug. - Add new event-type:
compose_cancelled
. - Various bug-fixes.
- Support for using with NodeJS and require().
- Basic support for TypeScript via type-declarations-file.
- Add new event-type:
undo_send
.
Changelog not chronicled.