Releases: dotnize/moodle-scrape
Releases · dotnize/moodle-scrape
v3.1.0
What's Changed
- Added an optional
navCourses
option to.refresh()
for getting all courses (including those with no active tasks) from the 'My Courses' dropdown, usually found in the navigation bar. May not be supported for some sites.
// to include courses with no active tasks in the calendar
await moodle.refresh(cookies, { navCourses: true });
Full Changelog: v3.0.0...v3.1.0
v3.0.0
Breaking Changes
- Tasks and courses now store the ids instead of the object references
- Task deadlines are now properly formatted as Dates instead of strings
export interface Task {
// ...
- course: Course;
+ courseId: number;
- deadline: string;
+ deadline: Date;
}
export interface Course {
// ...
- tasks: Array<Task>;
+ taskIds: Array<number>;
}
What's Changed
- Login form path & Retrieving courses by href by @Fairbrook in #3
New Contributors
- @Fairbrook made their first contribution in #3
Full Changelog: https://github.com/nizewn/moodle-scrape/commits/v3.0.0