- fix indexed date parsing to ignore millies, which might be there or not
- return full indexed_date (not just date)
- improve consistency of results by changing date from str to dt.date in count_over_time
- created new SearchAPI module to support updated search API
- added a "modified_before" parameter to DirectoryApi.feed_list for use by rss_fetcher
⚠️ 🚧 Complete rewrite. This is first work on supporting new API for cross-platform search and directory of collections/sources/feeds. This is an entirely new system we are building out.
- add TIMEOUT_SECS property, defaulting to 30 seconds (configurable by user on
MediaCloud
object)
- update MongoDB storage helper to use URI for connection (so it support user/pass authentication)
- prevent people from trying to page through randomly sorted
storyList
results - it doesn't work so we shouldn't let them try
- pass
old_stopwords
param as int tostoryWordMatrix
andwordCount
- added
old_stopwords
param tostoryWordMatrix
andwordCount
- switch two more methods to use POST to send data over so they can request larger batches of results by sending in a
big array of story ids (
storyRawCliffResults
andstoryRawNytThemeResults
)
- deprecate
publish_date_query
- switch todates_as_query_clause
instead (defaults to inclusive, matching our web tools and typical usage patterns)
- support new topic story list sorting options
- even more work on POSTing long queries
- more work on POSTing long queries
- add support for making some common requests via POST, so they can support really long queries
- remove deprecated topic "mode" parameter
- add topic snapshots (admin-only) and timespans list endpoints
- even more work on topic media map download endpoint
- more work fixing topic media map download endpoint
- fix media map param typo
- fix topic mode support
- add new topic media map list call, and update media map call
- add support for topicInfo call
- add support for podcast feed type
- remove silly logging error
- more privacy-related logging improvements (and tests for them)
- improve logging to not log key user data
- remove registration
subscribe_to_newsletter
- remove registration-related
has_consented
hack
- add support for mutiple topic seed queries via
topic_queries
endpoints
- support searching for media by boolean combinations of tags
- allow downloading randomly sorted lists of topic stories
- fix bug with
has_consented
on auth/reg call
- add
has_consented
to auth/reg call
- fix update focus call to use JSON format
- add
has_consented
to user update
- fix for spidering into an existing snapshot
- add new snapshots/create endpoint, and support passing in a snapshots_id to the topicSpider call
- more work on exceptions and documentation for importing
- fix problem with
MCException
s not saving the details that caused them
- default development to python3 (we still test on both 3.6 and 2.7 on CI)
- upgrade release strategy to use twine
- setup for CI - added linting and automated release tasks via makefile
- add more options to user update endpoint, and user deletion endpoint
- add paging to user list endpoint
- new user management admin endpoints
- fix bug related to word counts with no
fq
param
- fix bug related to paging over topicMediaLinks and topicStoryLinks
- adds paging support to topicStoryLinks and topicMediaLinks
- adds topicStoryLinks and topicMediaLinks endpoints
- adds in parsed out metadata to the topicMediaList call (under a
metadata
property on each item)
- updates feed management for new backend API changes
- adds ability to move tags from one tag_set to another (use the
tag_sets_id
argumet toupdateTag
method)
- fixes https problem that was making POST calls fail
- fixes dumb typo
- adds
fq
as a valid param on a few more topicStory calls
This release is not backwards-compatible. You will likely need to update your code.
- switches to story-based search
- removes sentence endpoints
- adds
storyCount
split options to replacesentenceCount
with asplit
param - adds in
storyTagCount
to replacesentenceFieldCount
- adds support for specifying date range by time/day/week/month; default to
publish_day
searching - begins refactoring tests into individual modules by content type (story, sentence, tag, etc.)
- begins removing references to specific content (by id) so we can test on non-production databases
- v2.53.0: add random_seed option to wordCount call
- v2.52.0: added new topicSnapshotWord2VecModel endpoint
- v2.51.0: added sort options to mediaList
- v2.50.0: added profiling timing at debug log level
- v2.49.0: fix return value in
topicReset
- v2.48.0: add dangerous
topicReset
function - v2.47.0: add labelled metadata to story list results
- v2.46.0: add labelled metadata to media list and media results
- v2.45.0: add new
max_stories
param to topic read, create and update endpoints - v2.44.0: add new
storyIsSyndicatedFromAP
endpoint and tests - v2.43.3: fix source suggestion collection support
- v2.43.2: fix raw story detail cliff and nytlabels endpoints
- v2.43.1: make JSON posts py3 compatible
- v2.43.0: topicList limit option, story-update endpoint, remove story coreNLP support, remove sentence-level tagging
- v2.42.0: add is_logogram option to topic creation and updating
- v2.41.0: updates to topic stories and media sorting, and ngram_size param to word count endpoints
- v2.40.1: auth api fixes
- v2.40.0: add support for listing topics by name, or by if they are public or not
- v2.39.2: work on feed-related calls
- v2.39.1: fix topicMediaList to accept q as a param
- v2.39.0: new user reg endpoints, handle unicode in GET queries better
- v2.38.2: don't default wordcount to English
- v2.38.1: fix bug in mediaSuggestionsMark for approving media suggestions
- v2.38.0: add topic media map support
- v2.37.0: media source feed scraping, topic create/update, snapshot generate, mediaUpdate change
- v2.36.2: fixed defaults on updateTag
- v2.36.1: fixed system stats endpoint
- v2.36.0: added mediaSuggest workflow endpoints
- v2.35.6: mediaCreate fixes, storyList feed support
- v2.35.5: create media fixes
- v2.35.4: create collection fixes
- v2.35.3: fixes to clear_others support in tag* calls
- v2.35.2: fixes to updateMedia
- v2.35.1: fixes to createTagSet
- v2.35.0: tons of new source-related endpoints
- v2.34.0: new permissons endpoints
- v2.33.1: move topic endpoints to standard client so users can run them
- v2.33.0: lots of new api endpoints for topic management
- v2.32.0: fix links in topicStoryList and topicMediaList
- v2.31.0: migrate dumpsList and timesliceList to snapshotList and timespanList
- v2.30.0: migrate controversyList and controversy to topicList and topic
- v2.29.1: fixes to topicWordCount method return value
- v2.29.0: add topicSentenceCount, and paging for topicMediaList & topicStoriesList endpoints
- v2.28.0: add storyWordMatrix, support long queries via POST automatically
- v2.27.0: first topic endpoints
- v2.26.1: chunk sentence tag calls to avoid URI length limit in PUT requests
- v2.26.0: add storyCount endpoint, cleanup some failing test cases
- v2.25.0: add mediaHealth endpoint, support
ap_stories_id
flag in storiesList, fixcontroversy_dump_time_slices
endpoint, remove mediaSet and Dashboard endpoints - v2.24.1: fixes tab/spaces bug
- v2.24.0: adds new params to the
mediaList
query (searching by controversy, solr query, tags_id, etc) - v2.23.0: adds solr date generation helpers
- v2.22.2: fixes the PyPI readme
- v2.22.1: moves
sentenceList
to the admin client, preps for PyPI release - v2.22.0: adds the option to enable
all_fields
at the API client level (ie. for all requests)