Skip to content

Releases: sentrysoftware/angular-match-media

v1.1.1

28 Feb 23:01
Compare
Choose a tag to compare

What's Changed

  • Cleaned-up initialization code for faster start time and avoid flickering

Full Changelog: v1.1.0...v1.1.1

v1.1.0

27 Feb 16:41
Compare
Choose a tag to compare

What's Changed

  • Added support for persistent user settings for color scheme (dark or light) by @bertysentry in #13

Full Changelog: v1.0.2...v1.1.0

v1.0.2

25 Feb 23:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

25 Feb 23:14
Compare
Choose a tag to compare

What's Changed

  • Full rewrite
  • Relies on matchMediaQueries change events only, no resize
  • Dropped support for browsers older > 10 years
  • Proper detection of screen size changes when printing, and forced synchronization of AngularJS
  • Now automatically loads the service and sets $matchMedia in $rootScope, accessible to all controllers (which is what makes most sense)
  • $matchMedia contains the below properties:
    • size: "xs|sm|md|lg", current size of the screen
    • retina: true|false, whether we're on high-DPI display
    • print: true|false, whether we're printing
    • dark: true|false, Whether we're in dark mode
  • Changed license to MIT
  • Removed old matchMedia

Full Changelog: v0.8.0...v1.0.1

v0.8.0

13 Feb 19:03
a755c23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/sentrysoftware/angular-match-media/commits/v0.8.0