Releases: gm-core/gdash
Releases · gm-core/gdash
6.0.2
6.0.1
- Fixed a bug in
_mapwith 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,_filterand_findall 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
_reverseis now_backward_reversemutates,_backwardreturns 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_caseinstead of_camelCase - Minor performance tuning in most scripts
- Significant performance updates to:
_uniq_contains
- Bug fixes and behavior alignment for
_contains _keysnow 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:
_setcan now nest maps and lists directly into the base map_containsdefaults tods_type_listwhen 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
nis negative, returns the nth element from the end
Updated:
_containscan now take an optional ds_type flag to look in ds_lists and ds_maps explicitly_filternow supports ds_lists_reducenow supports ds_lists
2.0.1
2.0.0
Updated:
- Support for GM:S2 live documentation / autocompletion
Removed:
- _object