question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.1.0 is including breaking changes without error and is a beta endpoint?!

See original GitHub issue

Hi,

I’m really disappointed with the changes in the API, you did breaking changes without telling anybody.

The problem here is that I’m using “To” & “Bcc” old format SMTP style and it’s not throwing an error when I use it with the latest v3.1.0 of node-mailjet. I only had people complaining that they didn’t receive emails but that was weird for me as the “Bcc” email was sent to me successfully.

I just figured out the problem when I opened the API Guides and found that https://dev.mailjet.com/beta/#send-api-v3-to-v3-1

To, Cc, Bcc	The SMTP style description of the recipients is replaced by a collection of recipients objects (with Email and Name property), nested in array.

Also the 3.1 is marked as BETA here, this is really confusing, you shouldn’t use a BETA endpoint as people are using this library in production and without any notice!

Also the tests are too light for this library, only “Recipients” is tested and not “To” & “Bcc” (See https://dev.mailjet.com/guides/#sending-a-basic-email)

Please do better tests and throw an error if the “To” & “Bcc” are not correct instead of just sending half of the emails…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
arnaudbretoncommented, Jul 3, 2017

Got it, let’s pursue there.

0reactions
Jolg42commented, Jul 3, 2017

Thank you for the fast support 😃 Here it is: N° 681767

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's New in Apache Kafka 3.0.0 - Confluent
Apache Kafka 3.0 introduces a variety of new features, breaking API changes, and improvements to KRaft—Apache Kafka's built-in consensus ...
Read more >
Infinite Scale Server Release Notes - ownCloud Documentation
A breaking change was introduced for Infinite Scale deployments. ... Infinite Scale 2.0.0 Beta 8 includes a huge number of smaller bug fixes...
Read more >
Release Notes for Cisco Identity Services Engine, Release 3.1
This section lists the new and changed features in Cisco ISE 3.1. ... of any networking, infrastructure, or application changes on endpoint authorizations....
Read more >
Changelog — JupyterHub 3.1.0 documentation
Changelog #. For detailed changes from the prior release, click on the version number, and its link will bring up a GitHub listing...
Read more >
Azure PowerShell release notes - Microsoft Learn
[Breaking Change] Removed built-in environment of Azure Germany ... for Azure PowerShell when logging in without specifying a subscription.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found