Releases: rolledback/LegoSharp
Releases · rolledback/LegoSharp
7.0.0
- Some breaking changes were made to types used for facet scraping. I have doubts that facet scraping features were being used outside of developing this package, so this is likely not a concern to anyone. If you were using facet scraping features though then you can refer to this commit for details.
- Facet scraping features are now mentioned in the README.
LegoGraphClient.queryGraph
will now retry up to 10 times if a request fails (non-2xx status code)- The
addFilter
methods for the various graph query classes now return the current instance. QueryValuesFilter
now has its ownaddValues
method.- Add several new filters for product search queries:
- Product flags (e.g. hard to find, retiring soon)
- Product availability (e.g back order, out of stock)
- Product interest (e.g. gaming, trains)
- Added new product types:
- Accessories (
Accessories2
) - Bottoms
- Pets
- Sneakers
- Sweatshirts
- T-Shirts
- Valentine's Day
- Helmets
- Accessories (
- Added new brick colors:
- Medium Lavendel (
MediumLavendel2
) - Sand Blue
- Medium Lavendel (
6.0.0
- Moved away from using enums for things like
ProductType
. This change was made to improve the maintainability of the library. This is potentially a breaking change. If you relied on the fact that those types were enums then your code will break. If not, then everything should still work the same. All public APIs are still called and used in the same way. - Calling
LegoGraphClient.authenticateAsync
is now optional. If you don't call it, then it will be called for you the first time you try to query the graph and again if the authentication expires. - Added new values for
ProductType
andProductTheme
.
5.3.0
New
- Tests were improved resulting in the addition of many product themes and types
- Added product themes:
- Angry Birds
- BOOST
- DIMENSIONS
- Fantastic Beasts
- Ghost Busters
- Lego Originals
- Lego Pirates
- Minions
- Powerpuff Girls
- SERIOUS PLAY
- Stranger Things
- THE LEGO MOVIE
- The Simpsons
- Toy Story 4
- Trolls World Tour
- Added product types:
- Role Play And Costumes
- Video Games
Fixes
- Fixed value associated with
ProductTheme.MonkieKid
Known Issues
ProductTheme.HarryPotte
should beProductTheme.HarryPotter
. This will be fixed once I have a few more good reasons to do a major version bump, as fixing it would be a breaking change.
5.2.0
Added new product themes:
- Batman
- DOTS
- Lego Super Mario
- Marvel
- Monkie Kid
- Spider-Man
5.1.0
New
- Added
ProductType.Polybag
5.0.0
Breaking Changes
ProductCategoryFilter
->ProductTypeFilter
New
- Added
ProductPriceFilter
- Added
ProductPieceCountFilter
4.0.0
Breaking Changes
LegoGraphClient.productSearch
now returns aProductSearchResult
New
- Can now filter product queries by category.
3.0.0
Breaking Changes
CategoryFilter
- >BrickCategoryFilter
ColorFilter
->BrickColorFilter
New
- Can now filter Pick a Brick queries by color family.
- Can now query for products. Queries don't currently return useful results.
2.0.0
Breaking Changes
LegoGraphSearch
->PickABrickQuery
LegoGraphClient.searchForBricksAsync
->LegoGraphClient.pickABrick
- You are now required to authenticate your
LegoGraphClient
before using it. - Querying Pick a Brick now returns a
PickABrickQueryResult
instead ofIEnumerable<Brick>
New
- Can now filter Pick a Brick queries by category.
1.0.0
New
- Pick a Brick graph searching
- Filter bricks by color