Skip to content

Releases: emailjs-com/emailjs-sdk

SDK v4.4.1

11 Jul 16:27
Compare
Choose a tag to compare

Fixes

  • Fixed the option to use a custom storage provider

Improvements

  • Dump versions

Essential Links

SDK v4.3.3

07 Mar 11:55
Compare
Choose a tag to compare

Improvements

The EmailJSResponseStatus model is explicitly exported to detect the error instance.

import emailjs from '@emailjs/browser';

try {
  await emailjs.send('YOUR_SERVICE_ID', 'YOUR_TEMPLATE_ID');
  console.log('SUCCESS!');
} catch (error) {
  if (error instanceof emailjs.EmailJSResponseStatus) {
    console.log('EMAILJS FAILED...', error);
    return;
  }

  console.log('ANOTHER ERROR', error);
}

Essential Links

SDK v4.3.1

05 Mar 16:36
Compare
Choose a tag to compare

Async Store

Conceptually, all input or output in JavaScript is an asynchronous operation, except for localStorage. To simplify work with the custom storage solutions, we've used the asynchronous localStorage.

Essential Links

SDK v4.2.0

02 Mar 08:23
Compare
Choose a tag to compare

React Native

Officially, this package was created only for browsers, but we have reworked the use of localStorage so this package can be used with Native React (partial functionality).

Essential Links

SDK v4.1.0

04 Feb 03:14
Compare
Choose a tag to compare

Breaking changes

  • Migrated to Rollup from Webpack

Improvements

  • The size of the bundled SDK has been reduced

Essential Links

SDK v4.0.0

04 Feb 03:11
Compare
Choose a tag to compare

Breaking changes

Dropped support for older browsers

The API requests are migrated to use the Fetch API. The old browsers that do not support this API are not officially supported anymore.

Changed settings interface

Instead of a public key string, the parameter is now an options object. This parameter has supported compatibility but is outdated.
Please take a look at the documentation for more details.

Changes

Added the option to set a rate limit for API requests

Client-side implementation. It blocks requests sent before the timeout expiration. The advantage of this configuration on the client side is that it does not use the account quota.

Setting up blocking of unwanted requests

Client-side implementation. There are settings in the options where SDK users can specify unwanted variable values. Such requests will be rejected. This is useful for blocking specific email addresses, IP addresses, and other values.

Improvements

  • Improved work with API
  • Improved parameters verification before sending requests to the server
  • Added more test cases
  • Added parameters type checking

Essential Links

SDK v3.12.1

10 Jan 13:03
Compare
Choose a tag to compare

Essential Links

Changes

  • Improved work with dev files

Improvements

  • Dump versions
  • Decreased size for the minified files

SDK v3.11.0

07 Apr 13:40
Compare
Choose a tag to compare

Essential Links

Changes

  • TypeScript 5 is used

Improvements

  • Dump versions

SDK v3.9.0

01 Nov 21:57
Compare
Choose a tag to compare

Essential Links

Changes

  • Removed unused dependencies

Improvements

  • Dump versions

SDK v3.8.0

01 Nov 11:54
Compare
Choose a tag to compare

Essential Links

Issues

  • fixed the null response (#39)

Improvements

  • Dump versions