Releases: gm-core/gdash
Releases · gm-core/gdash
6.0.2
6.0.1
- Fixed a bug in
_map
with return breaking due to uninitialized array - Changed internal some variable names to reduce naming collision chances
6.0.0
Starting in 6.0.0, gdash requires GameMaker: Studio 2.3
Changes
- Now supports GM:S 2.3 methods!
_run
,_partial
,_spread
,_map
,_filter
and_find
all support methods
- Updated code to match new 2.3 conventions
- Inline function argument names where possible
- Internal arrays are now all 1d and only use
array_length
5.0.0
A huge thank you to trouvant for this update.
New scripts:
_chunk
_difference
_difference_by
_drop
_drop_right
_fill
_intersection
_intersection_by
_reverse
(which is mutative, as in Lodash)_union
_union_by
_unzip
_without
_zip
Changes:
- The old
_reverse
is now_backward
_reverse
mutates,_backward
returns a new array
GameMaker Studio 2.3 Beta
gdash is compatible with GameMaker Studio 2.3 Beta. You can import the native 2.3 package below (gdash-5-0-0-beta.yymps
). The existing functions work as-is. Core functionality will be revised to center around GM:S2.3 shortly after the 2.3 beta ends and 2.3 becomes the mainline version.
4.0.0
This is a breaking change update for gdash.
Changelog:
- Dropped support for GameMaker: Studio v1
- All scripts changed to be
_snake_case
instead of_camelCase
- Minor performance tuning in most scripts
- Significant performance updates to:
_uniq
_contains
- Bug fixes and behavior alignment for
_contains
_keys
now returns an empty array for empty maps- New scripts:
_to_list(array)
_list_of(values...)
_map_of(values...)
_error(message [, fatal])
- Documentation is now generated directly from code comments in the source
3.0.0
Updated:
_set
can now nest maps and lists directly into the base map_contains
defaults tods_type_list
when passing in a data structure
Bug fix:
- Fixed a compile bug with
_spread
2.2.0
2.1.0
Added:
_or
- Returns two values logically
or
'd
- Returns two values logically
_toArray
- Can convert ds_lists into arrays
_nth
- Returns the nth element of a given collection (array/list)
- If
n
is negative, returns the nth element from the end
Updated:
_contains
can now take an optional ds_type flag to look in ds_lists and ds_maps explicitly_filter
now supports ds_lists_reduce
now supports ds_lists
2.0.1
2.0.0
Updated:
- Support for GM:S2 live documentation / autocompletion
Removed:
- _object