Releases: NetrunnerDB/netrunnerdb-api-server
Releases · NetrunnerDB/netrunnerdb-api-server
api-preview-0.3.1
What's Changed
- Expose some additional fields for ease of use by @distributive in #79
Full Changelog: api-preview-0.3...api-preview-0.3.1
api-preview-0.3
This update introduces:
- Formats
- Card Pools
- Restrictions (MWL/Ban lists)
- Snapshots (particular combinations of the three above)
- Card & Printing Search
- More filters for specific fields in existing objects
The search functionality is invoked with a filter value called 'search' on the cards and printing APIs like the following:
https://api-preview.netrunnerdb.com/api/v3/public/cards?filter[search]=is_banned:true%20restriction_id:standard_ban_list_20_09%20t:operation%20f:nbn%20card_pool:rotation_2020
https://api-preview.netrunnerdb.com/api/v3/public/cards?filter[search]=card_pool:rotation_2022%20t:corp_identity%20f:jinteki%20restriction_id:standard_ban_list_22_08%20is_banned:false
https://api-preview.netrunnerdb.com/api/v3/public/printings?filter[search]=illustrator:Zeilinger
https://api-preview.netrunnerdb.com/api/v3/public/printings?filter[search]=r:2022-07-22
What's Changed
- Update rails to 7.0.3.1 to fix dependabot issue 15. by @plural in #72
- Change snapshot resource relationship to fix warning. by @plural in #73
- Restriction format view by @plural in #74
- Make unique index on card_pools_cards. by @plural in #75
- Initial Version of Card Search filter by @plural in #71
- Rename search to card_search in prep for adding printing support. by @plural in #76
- adding getting started section to readme by @thrazznos in #77
- Printing search by @plural in #78
New Contributors
- @thrazznos made their first contribution in #77
Full Changelog: api-preview-0.2...api-preview-0.3
api-preview-0.2
New API preview!!!!
This includes ~all public functionality minus full-featured search and deck building.
Notable improvements over existing API:
- formats are explicit!
- factions have descriptions. Fun!
- data types are normalized a lot more.
- the API exposes links between objects.
- support for multiple types of images. Right now nrdb-classic jpegs and sizes are supported.
What's Changed
- Move to codes as primary keys for the models. by @plural in #2
- Add all set up types to the skeleton for the v3 API. by @plural in #1
- Bump puma from 5.5.2 to 5.6.2 by @dependabot in #3
- Update rails in prep for a dependabot fix. by @plural in #6
- Start CI config for API server. by @plural in #7
- CI Fixes by @plural in #8
- Initial api relationships by @plural in #4
- Add side_id to faction and associations for it. by @plural in #5
- Bump nokogiri from 1.13.1 to 1.13.3 by @dependabot in #10
- Fix accidental commit to main by @distributive in #11
- Gem update & Docker change to work on m1 mac by @plural in #12
- Importer new json by @plural in #13
- Fill in missing fields, normalize a couple names between JSON and DB. by @plural in #14
- Populate date_release for printings by @plural in #15
- Fix API after importer/schema changes. by @plural in #16
- Rename keywords to display_subtypes. by @plural in #17
- Update jsonapi-resource config to use underscores for route and key names by @plural in #18
- Rename Subtype to CardSubtype by @plural in #19
- Remove some unused methods in models. by @plural in #20
- Moar relationships by @plural in #21
- Bump puma from 5.6.2 to 5.6.4 by @dependabot in #22
- Bump nokogiri from 1.13.3 to 1.13.4 by @dependabot in #23
- Update rails gems to fix dependabot warning. by @plural in #37
- Show card attributes in the printing resource. by @plural in #36
- Make all public API resources immutable. by @plural in #38
- Update rack gem to fix https://github.com/NetrunnerDB/netrunnerdb-api-server/security/dependabot/14 by @plural in #39
- Add images attribute for printings, with nrdb-classic images. by @plural in #40
- Add side_id to faction resource. by @plural in #42
- Re-order Side relationships. by @plural in #41
- Add filters for side_id and is_mini to Factions. by @plural in #43
- Add side_id to CardType, update relationships and add filter for it. by @plural in #44
- Remove unused functions and tidy up some log messages for cards:import. by @plural in #45
- Add printing relation for CardSubtype and fix printing image format. by @plural in #46
- Make explicit corp_identity and runner_identity card_types. by @plural in #47
- Add date_release to CardCycle and populate it in cards:import. by @plural in #48
- Card Cycle: Remove description for now, add date_release to API. by @plural in #49
- Add filters to CardSet resource by @plural in #50
- Add filters to card and printing objects. by @plural in #51
- Fix ordering for card import first run. by @plural in #53
- add rack-cors and update CORS headers by @paulllama in #54
- Update json paths and utilize new schema. by @plural in #55
- Add description to the faction object. by @plural in #56
- Adapt importer for identity changes in JSON repo. by @plural in #57
- Don't calculate date release for cycles now that they all have it spe… by @plural in #58
- Update rails-html-sanitizer. by @plural in #62
- Add illustrator model, resource, and API. Update importer to support it. by @plural in #60
- Added support for formats, mwls, card pools, snapshots by @distributive in #61
- Update the importer to use the new id field names instead of code. by @plural in #63
- Check in rails-generated version of db/schema.rb by @plural in #64
- Snapshots now directly expose their card sets/cycles instead of linking to a card pool by @distributive in #69
- Fix importer for renamed card_cycle_ids and card_set_ids fields. by @plural in #66
- Add restrictions relation to format resource. by @plural in #67
- Add cards relation and format_id attribute to snapshot resource. by @plural in #68
New Contributors
- @plural made their first contribution in #2
- @dependabot made their first contribution in #3
- @distributive made their first contribution in #11
- @paulllama made their first contribution in #54
Full Changelog: https://github.com/NetrunnerDB/netrunnerdb-api-server/commits/api-preview-0.2