Skip to content

release_v5.0.0

Compare
Choose a tag to compare
@niketpathak niketpathak released this 22 Feb 18:47
· 40 commits to master since this release

Breaking Changes

The height, width and shape configuration options have been deprecated.
You must set the size of the Ad unit via CSS.

<style>
  #containerElement { /* set Ad size */
    height: 300px;
    width: 250px;
  }
  img {               /* set img elements to be responsive */
    height: 100%;
    width: 100%;
    object-fit: "cover";  /* optional */
  }
</style>

Release Notes -

  • 📝✅ chore: Add weights example to demo, add desktop test
  • 📝 docs: cite info for weight param
  • ✅ test: verify rotation with weights
  • 🗑️🔥 chore: cleanup, refactor random number generation
  • ✨⚡️🚧 feat: Add weight parameter
  • 🔥💥📝✅ feat: deprecate height/width config params
  • 📝💬🎨 docs: Update demo pages post deprecation of shape param
  • 📝 docs: remove refs to shape config param
  • 🔥✨⚡️🎨♻️💥 Deprecate shape config option, update dependencies, make images responsive