Skip to content

Releases: soulverteam/SoulverCore

1.4.4

18 Mar 09:38
Compare
Choose a tag to compare
  • Second and millisecond components are now supported on datestamps: "March 12, 09:30:35.534"
  • GMT ± offsets are now supported in timezone expressions: "now in GMT-7", "3pm GMT+8 to Paris"
  • Added the ability to use 'in' for inches
  • Bahraini dinars (BHD) now round to 3 decimal places
  • Fixed an issue with pulling crypto-currency rates from Nomics

1.4.3

29 Dec 20:39
Compare
Choose a tag to compare
  • Added 6 additional popular cryptocurrencies: Solana (SOL), Avalanche (AVAX), Terra (LUNA), Polkadot (DOT), Polygon (MATIC) and Shiba Inu (SHIB)
  • Improved Simplified Chinese support
  • Bug fixes

1.4.2

21 Sep 15:29
Compare
Choose a tag to compare
  • Words in the form "utf-8" are now ignored
  • For locales that use space as a thousand separator (like Russia), both , and . can be used as a decimal point
  • Fixed an issue where an NSDecimalNumberOverflowException could be raised during parsing for very large numbers

1.4.1

02 Sep 14:58
Compare
Choose a tag to compare
  • Support for natural language numbers: "five minus three", "five hundred thirty three + two hundred and twelve", "one year ago"
  • Support for compounded natural phrase functions: "half of 30% of half of 100"
  • Added an arbitrary base log function: "log 20 base 4"
  • Added square root function: "square root of 81"
  • Added cubed root function: "cubed root of 27"
  • Scientific notation now works with numbers with fractions: "3e3.3"
  • Scientific notation (rather than SI notation) is now used for numbers larger than a trillion, and smaller than 1e-9
  • Certain date related words, and natural language numbers, are now ignored when not used as part of a calculation

1.4.0

17 May 13:49
Compare
Choose a tag to compare
  • Possibly source breaking change: variables are no longer specified on an EngineCustomization, but rather on a Calculator or LineCollection directly
  • A number of performance optimisations
  • A number of minor bug fixes

1.3.1

18 Mar 16:51
Compare
Choose a tag to compare
  • Added the ability to specify custom currency units in units other than USD
  • Minor bug fixes and performance increases

1.3.0

24 Feb 09:10
Compare
Choose a tag to compare
  • Added a metadata property on a TokenList. This API lets you quickly get to the data primitives involved in common expression "forms" (unit conversions, time zone conversions, etc).
  • Support for hexadecimal and binary conversions ('0b1001 to decimal', '512 to hex', '0x23F to binary').
  • Added a function to get the midpoint between two dates ('halfway/midpoint between March 12 and October 5')

1.2.1

08 Feb 10:50
Compare
Choose a tag to compare
  • You can now specify the calendar and timezone for doing calculations on an EngineCustomization. Previous builds would always use the system timezone and calendar.
  • Added the ability to set holidays on an EngineCustomization. These are taken into account when doing workday calculations.
  • Support for noon/midday and midnight in time calculations
  • Added a "seeksFutureDate" property on FeatureFlags. With this on, SoulverCore will optimize for a date result. For instance '11/3' will be 11 March (or 3 November, depending on the locale) rather than a division.
  • Added a convenience method 'dateFor(expression)' on Calculator as a quick way to get a date from an expression.
  • Improved Chinese (simplified) support

1.2.0

02 Feb 16:34
Compare
Choose a tag to compare
  • Support for airports as timezones: '10pm SFO to LHR"
  • Support for volume to weight cooking conversions: "1 cup butter in grams"
  • Support for military time: "1945h + 30 mins"
  • Support for 'misformatted' dates: "18.11 + 3 weeks"
  • Bug fixes and minor performance improvements

1.1.7

13 Jan 13:46
Compare
Choose a tag to compare
  • Fractions can now be used in all percentage word functions: "2/3 of 500", "50 is 1/5 of what", etc.
  • Improved the behaviour of the "time unit until date" phrase when the time on the date is not specified:
    • Expressions with small units of time (like hours, minutes & seconds) will count up to the start of the requested date (like hours until tomorrow will count the number of hours until midnight tonight)
    • Expressions with larger units of time (like days, months, weeks, years) will count up to the same time on the requested date (so days until tomorrow = 1 day).
  • Support for clock times without a colon when followed by a timezone: "1900 PST to UTC"
  • Added a phrase for getting the ISO 8601 week number on a certain date: "week number on March 12", "week number today"
  • You can now use fractional years in interest calculation functions
  • Fixed an issue with applying a currency symbol to an expression in parenthesis
  • 20% parsing performance increase