Skip to content

Releases: rolledback/LegoSharp

7.0.0

14 Feb 23:27
Compare
Choose a tag to compare
  • 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 own addValues 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
  • Added new brick colors:
    • Medium Lavendel (MediumLavendel2)
    • Sand Blue

6.0.0

18 Dec 21:38
Compare
Choose a tag to compare
  • 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 and ProductTheme.

5.3.0

29 Jun 02:07
Compare
Choose a tag to compare

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 be ProductTheme.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

19 Jun 03:54
Compare
Choose a tag to compare

Added new product themes:

  • Batman
  • DOTS
  • Lego Super Mario
  • Marvel
  • Monkie Kid
  • Spider-Man

5.1.0

03 Jun 05:26
Compare
Choose a tag to compare

New

  • Added ProductType.Polybag

5.0.0

02 Jun 04:15
Compare
Choose a tag to compare

Breaking Changes

  • ProductCategoryFilter -> ProductTypeFilter

New

  • Added ProductPriceFilter
  • Added ProductPieceCountFilter

4.0.0

25 May 19:28
Compare
Choose a tag to compare

Breaking Changes

  • LegoGraphClient.productSearch now returns a ProductSearchResult

New

  • Can now filter product queries by category.

3.0.0

25 May 19:26
Compare
Choose a tag to compare

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

25 May 19:22
Compare
Choose a tag to compare

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 of IEnumerable<Brick>

New

  • Can now filter Pick a Brick queries by category.

1.0.0

25 May 19:17
Compare
Choose a tag to compare

New

  • Pick a Brick graph searching
  • Filter bricks by color