# mod_h5pactivity Upgrade notes

## 5.1

### Added

- count_attempts() and count_users_attempts() in manager class accept  a new parameter to filter by groups.

  For more information see [MDL-85853](https://tracker.moodle.org/browse/MDL-85853)

## 5.0

### Changed

- The external function get_user_attempts now returns the total number of attempts.

  For more information see [MDL-82775](https://tracker.moodle.org/browse/MDL-82775)
