Skip to content

Upgrading arrow 0.14 to 0.15

Breaking0.14.7 → 0.15.8Breaking2Platform1Deprecated1New25Changed3Fixed13Other9

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • [CHANGE] Timestamps of type str are no longer supported without a format string in the arrow.get() method.
  • [CHANGE] Strings with leading and/or trailing whitespace will no longer be parsed without a format string.
  • Python 2.7 and 3.5 will stop being supported starting with version 1.0.0, due in late September. Versions 0.15.x and 0.16.x are the last ones that work with those Python versions.
  • Using the library on Python 2.7 or 3.5 now shows a warning that support is ending.
4 items need code or config changes
Breaking2
[CHANGE] Timestamps of type str are no longer supported without a format string in the arrow.get() method.
strarrow.get()
[CHANGE] Strings with leading and/or trailing whitespace will no longer be parsed without a format string.
Platform1
Drops support for Python 2.7 and 3.5 in the 1.0.0 release in late September; 0.15.x and 0.16.x are the last to support them.
Deprecated1
Starts issuing deprecation warnings for Python 2.7 and 3.5.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export FORMAT_ATOM
  • added: export FORMAT_COOKIE
  • added: export FORMAT_RFC1036
  • added: export FORMAT_RFC1123
  • added: export FORMAT_RFC2822
  • added: export FORMAT_RFC3339
  • added: export FORMAT_RFC822
  • added: export FORMAT_RFC850
  • added: export FORMAT_RSS
  • added: export FORMAT_W3C
  • added: export ParserError
  • changed: method Arrow.span(frame, count=…) → method Arrow.span(frame, count=…, bounds=…)
  • changed: static method Arrow.interval(frame, start, end, interval=…, tz=…) → static method Arrow.interval(frame, start, end, interval=…, tz=…, bounds=…)
  • changed: static method Arrow.span_range(frame, start, end, tz=…, limit=…) → static method Arrow.span_range(frame, start, end, tz=…, limit=…, bounds=…)
  • added: variable MAX_TIMESTAMP
  • added: variable MAX_TIMESTAMP_MS
  • added: variable MAX_TIMESTAMP_US
  • removed: class ArrowParseWarning(DeprecationWarning)
  • added: variable FORMAT_ATOM
  • added: variable FORMAT_COOKIE
  • added: variable FORMAT_RFC1036
  • added: variable FORMAT_RFC1123
  • added: variable FORMAT_RFC2822
  • added: variable FORMAT_RFC3339
  • added: variable FORMAT_RFC822
  • added: variable FORMAT_RFC850
  • added: variable FORMAT_RSS
  • added: variable FORMAT_W3C
  • removed: class DeutschBaseLocale(Locale)
  • removed: field BrazilianPortugueseLocale.day_abbreviations
  • removed: field BrazilianPortugueseLocale.day_names
  • removed: field BrazilianPortugueseLocale.future
  • removed: field BrazilianPortugueseLocale.month_abbreviations
  • removed: field BrazilianPortugueseLocale.month_names
  • removed: field BrazilianPortugueseLocale.timeframes
  • removed: field DeutschBaseLocale.day_abbreviations
  • removed: field DeutschBaseLocale.day_names
  • removed: field DeutschBaseLocale.future
  • removed: field DeutschBaseLocale.month_abbreviations
  • removed: field DeutschBaseLocale.month_names
  • removed: field DeutschBaseLocale.past
  • removed: field DeutschBaseLocale.timeframes
  • removed: field DeutschBaseLocale.timeframes_only_distance
  • removed: field FrenchLocale.day_abbreviations
  • removed: field FrenchLocale.day_names
  • removed: field FrenchLocale.future
  • removed: field FrenchLocale.month_names
  • removed: field FrenchLocale.ordinal_day_re
  • removed: field FrenchLocale.past
  • removed: field FrenchLocale.timeframes
  • removed: field SwissLocale.day_abbreviations
  • removed: field SwissLocale.day_names
  • removed: field SwissLocale.future
  • removed: field SwissLocale.month_abbreviations
  • removed: field SwissLocale.month_names
  • removed: field SwissLocale.past
  • removed: field SwissLocale.timeframes
  • removed: method DeutschBaseLocale.describe(timeframe, delta=…, only_distance=…)
  • changed: class AustrianLocale(DeutschBaseLocale, Locale) → class AustrianLocale(GermanBaseLocale, Locale)
  • changed: class FrenchLocale(Locale) → class FrenchLocale(FrenchBaseLocale, Locale)
  • changed: class GermanLocale(DeutschBaseLocale, Locale) → class GermanLocale(GermanBaseLocale, Locale)
  • changed: class SwissLocale(Locale) → class SwissLocale(GermanBaseLocale, Locale)
  • added: class FrenchBaseLocale(Locale)
  • added: class FrenchCanadianLocale(FrenchBaseLocale, Locale)
  • added: class GermanBaseLocale(Locale)
  • added: class HongKongLocale(Locale)
  • added: class SwahiliLocale(Locale)
  • added: field CatalanLocale.and_word
  • added: field ChineseTWLocale.and_word
  • added: field DanishLocale.and_word
  • added: field EnglishLocale.and_word
  • added: field EstonianLocale.and_word
  • added: field FrenchBaseLocale.and_word
  • added: field FrenchBaseLocale.day_abbreviations
  • added: field FrenchBaseLocale.day_names
  • added: field FrenchBaseLocale.future
  • added: field FrenchBaseLocale.month_names
  • added: field FrenchBaseLocale.ordinal_day_re
  • added: field FrenchBaseLocale.past
  • added: field FrenchBaseLocale.timeframes
  • added: field FrenchCanadianLocale.month_abbreviations
  • added: field FrenchCanadianLocale.names
  • added: field GermanBaseLocale.and_word
  • added: field GermanBaseLocale.day_abbreviations
  • added: field GermanBaseLocale.day_names
  • added: field GermanBaseLocale.future
  • added: field GermanBaseLocale.month_abbreviations
  • added: field GermanBaseLocale.month_names
  • added: field GermanBaseLocale.past
  • added: field GermanBaseLocale.timeframes
  • added: field GermanBaseLocale.timeframes_only_distance
  • added: field GreekLocale.and_word
  • added: field HebrewLocale.and_word
  • added: field HongKongLocale.day_abbreviations
  • added: field HongKongLocale.day_names
  • added: field HongKongLocale.future
  • added: field HongKongLocale.month_abbreviations
  • added: field HongKongLocale.month_names
  • added: field HongKongLocale.names
  • added: field HongKongLocale.past
  • added: field HongKongLocale.timeframes
  • added: field IndonesianLocale.and_word
  • added: field ItalianLocale.and_word
  • added: field KoreanLocale.special_dayframes
  • added: field KoreanLocale.special_yearframes
  • added: field Locale.and_word
  • added: field PortugueseLocale.and_word
  • added: field RomanianLocale.and_word
  • added: field SlovakLocale.and_word
  • added: field SlovenianLocale.and_word
  • added: field SpanishLocale.and_word
  • added: field SwahiliLocale.and_word
  • added: field SwahiliLocale.day_abbreviations
  • added: field SwahiliLocale.day_names
  • added: field SwahiliLocale.future
  • added: field SwahiliLocale.meridians
  • added: field SwahiliLocale.month_abbreviations
  • added: field SwahiliLocale.month_names
  • added: field SwahiliLocale.names
  • added: field SwahiliLocale.past
  • added: field SwahiliLocale.timeframes
  • added: field SwedishLocale.and_word
  • added: function get_locale_by_class_name(name)
  • added: method GermanBaseLocale.describe(timeframe, delta=…, only_distance=…)
  • added: method HebrewLocale.describe_multi(timeframes, only_distance=…)
  • added: method Locale.describe_multi(timeframes, only_distance=…)
  • removed: field DateTimeParser.MARKERS
  • changed: class ParserError(RuntimeError) → class ParserError(ValueError)
  • changed: method DateTimeParser.parse(string, fmt) → method DateTimeParser.parse(datetime_string, fmt)
  • changed: method DateTimeParser.parse_iso(string) → method DateTimeParser.parse_iso(datetime_string)
  • changed: static method TzinfoParser.parse(string) → static method TzinfoParser.parse(tzinfo_string)
  • added: class ParserMatchError(ParserError)
  • removed: class list_to_iter_shim(list)
  • removed: constructor list_to_iter_shim(iterable=…, **kwargs)
  • removed: field list_to_iter_shim.append
  • removed: field list_to_iter_shim.clear
  • removed: field list_to_iter_shim.copy
  • removed: field list_to_iter_shim.count
  • removed: field list_to_iter_shim.extend
  • removed: field list_to_iter_shim.index
  • removed: field list_to_iter_shim.insert
  • removed: field list_to_iter_shim.pop
  • removed: field list_to_iter_shim.remove
  • removed: field list_to_iter_shim.reverse
  • removed: field list_to_iter_shim.sort
  • added: function iso_to_gregorian(iso_year, iso_week, iso_day)
  • added: function next_weekday(start_date, weekday)