Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A minor league baseball team in Connecticut will ban peanuts from their park in an effort to accommodate fans with allergies, the team announced.

While announcing their promotion schedule for the 2019 season on Wednesday, the Hartford Yard Goats said that peanuts would no longer be sold at Dunkin' Donuts Park. That means stadium staple Cracker Jack is off the menu board, too.

ANNOUNCEMENT: The Hartford Yard Goats are going to be a PEANUT FREE ballpark in 2019. pic.twitter.com/eQR6Dab1t0 — Hartford Yard Goats (@GoYardGoats) February 6, 2019

The team’s general manager, Mike Abramson, said he was approached by parents concerned about their kids' allergies, some of which are life-threatening, and decided to stop selling peanut products.

The team is even holding a contest for fans to replace the "buy me some peanuts and Cracker Jack" lyric in "Take Me Out to the Ballgame."

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

“I am very serious about this being everybody’s ballpark. So our diversity initiatives, our Pride nights, our allergy sensitivity initiatives. It is all geared around making sure that anybody who wants to come here feels like they can and are comfortable coming here,” Abramson said, according to NBC Connecticut.

The move led to a mixed bag of reactions.

"This is great news! I wish all ballparks would do this. My nut allergy is fatal, and I frequently have to move seats if someone behind me is dropping shells all over the place," wrote Andrew Small on Twitter.

Others expressed disappointment that they would be restricted to peanut-free snacks at Yard Goats games.

One Twitter user declared Wednesday a "sad day for baseball."

"Why? If you cant eat peanuts just don't eat them. Why should everyone else pay. Peanuts are part of baseball!" complained another man.

Nearly 2.5 percent of U.S. children likely have an allergy to peanuts, a 21 percent increase since 2010, according to the American College of Allergy, Asthma and Immunology.

Those with the most severe peanut allergies can suffer from anaphylaxis from merely breathing in peanut dust, according to the Mayo Clinic.

The Yard Goats stood firm on their decision.

"Like the old saying goes... you can’t make EVERYBODY happy ALL of the time, but you can stop a parent from having to administer an EpiPen to a child suffering anaphylaxis at a baseball game," the team said on Twitter after the announcement.