All notable changes to this project will be documented in this file.
- New function
uef_bin:chomp/1. - New function
uef_bin:strip_left/2. - New function
uef_bin:strip_right/2. - New function
uef_bin:strip_both/2.
- Fixed: test of function
uef_time:add_months/2not passed for leap year.
- License changed to Apache 2.0.
- README converted to asciidoc format.
- Some binary optimizations in
uef_binanduef_formatmodules.
- Separator option
sepadded for functionuef_format:format_bytes/2.
- New function
uef_lists:search/2.
- New function
uef_format:format_bytes/1. - New function
uef_format:format_bytes/2.
- New function
uef_num:ctz/1. - New function
uef_num:lsb_pos/1. - New function
uef_num:msb_pos/1.
- New function
uef_num:popcount/1.
- Fixed: call of function
uef_format:format_price/3could fail with exception when currency symbol or separator was an UTF-8 string (not binary).
- Fixed:
{get_warnings, true}in rebar.config was the reason of high load when building PLT. xrefoptions added to rebar.config.coveroptions added to rebar.config.
- Strict options added to rebar.config.
- Fixed some typespecs and dialyzer warnings.
- Edoc tags added to all modules.
- Fixed:
uef.app.srcdid not containuef_mapsmodule.
- OTP-19 or higher is now required.
- New module
uef_maps. - New function
uef_maps:delete_nested/2. - New function
uef_maps:find_nested/2. - New function
uef_maps:get_nested/2. - New function
uef_maps:get_nested/3. - New function
uef_maps:is_key_nested/2. - New function
uef_maps:new_nested/1. - New function
uef_maps:new_nested/2. - New function
uef_maps:put_nested/3. - New function
uef_maps:update_nested/3. - New function
uef_maps:remove_nested/2. - New function
uef_maps:take_nested/2.
- Fixed: function
uef_time:unix_time/0did not work with OTP-18 and OTP-19. - OTP-18 or higher is now required.
- New function
uef_time:unix_time/0. - New function
uef_time:unix_time/1.
- New function
uef_time:today/0. - New function
uef_time:tomorrow/0. - New function
uef_time:yesterday/0.
- New functions
uef_time:add_seconds/1,2. - New functions
uef_time:add_minutes/1,2. - New functions
uef_time:add_hours/1,2. - New functions
uef_time:add_days/1,2. - New functions
uef_time:add_weeks/1,2. - New functions
uef_time:add_months/1,2. - New functions
uef_time:add_years/1,2. - New functions
uef_time:add_time/1,2.
- New function
uef_bin:repeat/2.
- New function
uef_bin:reverse_utf8/1which returns a binary in reverse character order.
- New function
uef_bin:reverse/1which returns a binary in reverse byte order.
- New function
uef_format:format_number/3,4. Supports custom precision, number of decimal digits, thousands separator, decimal point, currency symbols and custom currency position (left/right). - New function
uef_format:format_price/3based onuef_format:format_number/3. - Module
uef_formattotally reworked. - Function
uef_format:format_price/1,2now returns other value, see README.
- Initial release.