Skip to content

Releases: braydenanderson2014/ArduinoArrayList

ArrayList v1.0.8 Arduino Edition

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 25 Jul 07:10
08759dd

What's Changed

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(), and quickSort() against empty and single-element lists.
  • Guarded begin() and end() so they no longer dereference the backing array and are safe for empty or zero-capacity buffers.
  • Initialized sortAlgorithm in the constructor.
  • Copied initialSize and sortAlgorithm in 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() and resize2() 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

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 29 Jul 02:17

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

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 30 Jan 01:41

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

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 16 Jan 00:39

Fixed a bug with set(); Function would not always return type boolean even though it was supposed to.

ArrayList v1.0.1 Arduino Edition

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 25 May 23:40

This release fixes reliability issues with strings during resizing. See Readme for more details

ArrayList v1.0.1-BETA Arduino Edition

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 13 May 03:54
  • 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

Choose a tag to compare

@braydenanderson2014 braydenanderson2014 released this 18 Feb 22:21

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