Releases: braydenanderson2014/ArduinoArrayList
Release list
ArrayList v1.0.8 Arduino Edition
What's Changed
- Sync ArrayList from monorepo (#177) by @braydenanderson2014 in #2
Changelog
1.0.8
- Fixed
operator[]undefined behavior by returning a reset static default reference for out-of-bounds access. - Fixed
getReference()shared static corruption by resetting the fallback value on each out-of-bounds call. - Fixed
sort()so the selected algorithm path receives the comparator correctly. - Restored merge sort to respect the user-supplied comparator.
- Fixed quicksort partitioning so it matches the documented comparator contract.
- Guarded
sort(),bubbleSort(), andquickSort()against empty and single-element lists. - Guarded
begin()andend()so they no longer dereference the backing array and are safe for empty or zero-capacity buffers. - Initialized
sortAlgorithmin the constructor. - Copied
initialSizeandsortAlgorithmin the copy constructor and assignment operator. - Made copy assignment allocate the new buffer before replacing the old one.
- Replaced bulk-copy and growth paths with element-by-element assignment where needed to preserve non-trivial copy semantics.
- Changed
clear()to preserve capacity instead of reallocating. - Added null checks to the active growth and capacity-management paths.
- Hardened
resize1()andresize2()so zero-capacity and one-capacity lists can still grow. - Fixed bulk add/insert paths so they continue resizing until enough capacity exists.
- Added and updated regression tests for bulk growth, sorting, iterator safety, and resize edge cases.
- Reworked the README into a full library document with overview, install/update instructions, support links, badge placeholders, API reference, and changelog.
- Updated package metadata for Arduino Library Manager and PlatformIO publishing.
- Bumped version to 1.0.8 to align with Platformio Version.
These changes should ensure stable and reliable behavior from the Arraylist class. If you have any problems, please file a report. Just note any report filed on this repository will be closed and transferred to the main repository.
ArrayList v1.0.3-BETA Arduino Edition
Addresses a compile time issue that is not present on certain platforms but is present on others
see Readme.md
ArrayList v1.0.2 Arduino Edition
Please ignore the last commit saying its version 1.0.5. This was a mistake. This is version 1.0.2 which brings a crap ton of changes/enhancements... See readme for more details.
ArrayList v1.0.2-BETA Arduino Edition
Fixed a bug with set(); Function would not always return type boolean even though it was supposed to.
ArrayList v1.0.1 Arduino Edition
This release fixes reliability issues with strings during resizing. See Readme for more details
ArrayList v1.0.1-BETA Arduino Edition
- Added new MergeSort Function
- Added new Merge Helper Function (PRIVATE)
- New Sort option (MergeSort) added to the Sort Functions.
- Added new Sort function that does not take in a Sort Parameter.
- Added new Set and Get Functions for sort Algorithm
ArrayList v1.0.0 Arduino Edition
Arduino ArrayList Full Implementation.
Arduino Library Version 1.0.0
PlatformIO Version 1.0.3
This ArrayList Library is based on the Java ArrayList Class. It has the ability to be dynamic or fixed size. See the readme file for more details