- Fix issue where profile bout location was coming up
null
because the selector had changed. Selector is more flexible now.
- Events that have pending approval or approval will no longer throw
- load elem into cheerio when parsing links column
- Bump
boxrec-requests
to 6.0.2, which includes addingform-data
as a dependency which may be affecting some users
- Fixed links for events, both scheduled and dates
getDate
now expects an object instead of a string. The purpose being that the BoxRec URL became more complex and this allows some future proofing
getDate
endpoint returns information again. It was broken due toboxrec-requests
but also the table header selectors were not goodgetSchedule
working again. Issue was inboxrec-requests
- No longer use
.npmignore
to ignore files - Reduce package size from 54.1kB/277.4kB to 50.1kB/265.2kB
- Export
Country
fromboxrec-requests
which allows developers to use it for locations
- Updated
boxrec-requests
as it had a login issue which prevented logging in
- Updated
boxrec-requests
to have a better log in failure
- Fixed a number of issues due to selectors being out of date
- Bouts no longer show the before points of a boxer, therefore is now just a number
- Profile pages no longer have the
death
date of a person
- Another update to
boxrec-requests
to 5.1.4 which should fix the packaged version ofboxrec-requests
- Another update to
boxrec-requests
to 5.1.3 which should fix getting boxers
- Updated
boxrec-requests
to 5.1.1 which includes a login fix for logging into BoxRec
- Added that BoxRec will now block users that abuse requests to their service
- Boxer profile was not returning record
- Update
boxrec-requests
dependency. It had too strict of a check for GDPR which was preventing logging in
- Can now get programs that the fighter is enrolled into
- Resolved issue where rating values were returning
null
for schedule data
- Resolved issue where data was missing between past dates and future dates
- It won't affect consumers of the package but data is now more flexible by finding data by either the header or column data. This is important because now table changes won't break the package
- Decorators added to multiple areas to ensure consistency of data returned
- Added support for
socialMedia
for profiles
- Suspensions on profile should now again be working correctly
- Added support for
death
for profiles
- All profiles support
born
and not just boxers
- Birth Place/Residence on Profile page is now a string, therefore changed to string
- Name/Alias on Search page fixed and should be a bit more flexible
- Champions returned properly now since table format changed
- Updated dependencies (lodash bump)
offset
properly works now for getting people by location
- Move
boxrec-requests
back to being a necessary dependency
- Support and changes to accommodate BoxRec new roles
- Update dependency due to vulnerability
- Better results for
ratings
requests. There were more variations forratings
than expected
- Update/remove handlebars and js-yaml dependencies
- Some events actually have
tickets
with contact information on how to buy. It's rare but it exists
- Getting people by location now returns a
people
object by default and notboxers
- Issue where titles with spaces like
Light Heavyweight
wouldn't be caught properly by the regex
boxrec-requests
was a dev dependency but it is a normal dependency
- Added "total number" for certain pages ex.
numberOfBouts
,numberOfPages
,numberOfLocations
,numberOfPeople
- Make stateless. Cookie is returned and is now required to pass in when making requests
- Updated all location objects to include both
id
andname
of town/region/country - Docs are now pushed to S3. This allows maintaining multiple versions of the docs and reducing git history clutter
bio_open/bio_closed
to just bebio
to keep consistencyKOs
are now the number of KOs and not the percentage
- Package size is now reduced from 1.30 MB to 48 KB. Better package build and removed dependencies
bout
links are more consistent- Ratings are now updated to allow decimal places as BoxRec has changed their algorithm
getPersonById
now supports a getter for the profile picture by usingpicture
- Champions method
getByWeightDivision
now supports the picture of the champion
- Can now use
watch
method watch a boxer - Can now use
unwatch
method to unwatch a boxer - Can now use
getWatched
method to list boxers that the user is watching
- Can now make
getTitles
call that returns scheduled title fights
- Typescript and typings now working properly
- Pages aren't parsed on initialization and instead only on getter requests. Prevents unnecessary parsing
- Changed
getTitle
togetTitleById
to get previous title fights by the belt ID - Changed
getBout
togetBoutById
to matchgetTitleById
format
- can now return/save the PDF version of a boxer profile
- can now return/save the printable version of a boxer profile
- Fixed exception that would occur when event had only country but no venue/town/region
- Searching will now get the dynamic search parameter from the search page
- Second boxer information on event bouts will come back properly now
- BoxRec now uses
ktO
instead ofpf
in the search query params
- tables are using unique IDs now. So we'll search by the class/tag name
- Can now search for events by date
- Can now get individual bout information
- Can now get results of fights that have occurred by division/country
- Added ability to get/set BoxRec cookies. Allows developer to reuse logged in session
- Code Climate integration to improve code quality
- Can now get the profile events/bouts for other roles (doctor, inspector, judge, manager, matchmaker, promoter, referre, supervisor)
offset
param now works for all endpoints that support it- Made use of typedocs
@hidden
tag to hide private properties, methods
- Sometimes
division
was missing on pages, the code expected a string and would throw an error trying totrim()
undefined
. In these scenarios it will returnnull
- Can now get title information including all bouts that occurred for that belt
- Profile bouts will now return the ratings for both boxers before and after a bout
- Can get a list of scheduled events
- A number of classes would have an
output
object. Changed them to be more meaningful likeresults
,boxers
, etc. to make it more representative of the data
- Can now get venue information, including bouts that occurred there
- Can now get people by location
- Can now get events by location
- Can now search for people other than boxer's (matchmakers, doctors, judges, etc.). Limited for now to information in the profile table beside their profile picture on BoxRec
getBoxerById
method has been changed togetPersonById
since you can search for people other than boxersgetBoxersByName
method has been changed togetPeopleByName
since you can search for people other than boxers
- BoxRec profile bouts no longer returns link to venue/location. Object has changed but this will return venue name and city/town still
- wiki link for profile bouts was returning null
- User will be notified that they need to give GDPR consent to BoxRec
- The Jest config file for the E2E tests was not reading the test file
- Doc generation automatically done on pre-commit
- Support for Node 10
- Change profile bouts list to return latest fight at end of array
- Events that hadn't occurred yet would have a different number of columns
- Can now get event information by id
- Update
profile
bouts to matchevent
bouts
- Documentation on how to contribute to the project
- Moved page object files into separate directories
- Can now list champions. Can list by weight class, by belt organization.
- Can now search boxer by name
- Profile will return a list of boxer's suspensions
- Separate mocks to be used from another repo
- Update README to include better examples on requests/responses
- Can now search for boxers (and only boxers at this time)
- Updated webpack and ts-lint dependency to 4.1.0
- Ability to retrieve ratings by location, weight class, division, sex, etc.
- Profile
bouts
will return an array of basic information about the bout including weight, result, location, judges, referees
- Getting the profile
bouts
used to give the number of bouts the fighter has completed.bouts
is now an array of basic bout information.numberOfBouts
will now give you the amount of bouts that the boxer has had
- Better description in README about what attributes are gathered
- Added the ability to retrieve boxer profile stats