Skip to content

Releases: theoludwig/libcproject

v4.2.1

26 Dec 20:20
6eee39f
Compare
Choose a tag to compare

4.2.1 (2023-12-26)

Bug Fixes

  • markdownlint in LICENSE (ab9860e)

v4.2.0

26 Dec 19:47
a50773e
Compare
Choose a tag to compare

4.2.0 (2023-12-26)

Features

  • add string_last_position_of (1e0bf99)
  • add string_position_of (ec6e748)

v4.1.1

13 Oct 09:07
574aeb4
Compare
Choose a tag to compare

4.1.1 (2023-10-13)

Bug Fixes

  • error in array_list_remove (always removed the last index and not the index given) (#6) (e0115dd)

v4.1.0

10 Aug 09:06
269b1f7
Compare
Choose a tag to compare

4.1.0 (2023-08-10)

Features

  • add string_remove_character (6505e3b)

Bug Fixes

  • convert numbers base to another only accept unsigned integers (07e2f4d)
  • correct usage of malloc and sizeof for structs (f99e494)

v4.0.0

08 Aug 12:24
78fe9ff
Compare
Choose a tag to compare

4.0.0 (2023-08-08)

⚠ BREAKING CHANGES

  • Most of string functions mutates the string instead of copying now.
    This allows better performance when copy is not needed.
    It also allows more granual control.
    If copy is wanted, simply use string_copy before calling the function.
    Impacted functions are:
    string_to_uppercase, string_to_lowercase, string_replace,
    string_trim_start, string_trim_end, string_trim,
    string_capitalize, string_reverse, string_concatenate

Bug Fixes

  • handle EXIT_FAILURE by printing error message with perror (b922fd9)

Performance Improvements

v3.1.0

06 Aug 14:43
01e9b71
Compare
Choose a tag to compare

3.1.0 (2023-08-06)

Features

  • add filesystem_exists (ad0a460)
  • add filesystem_remove (dff2836)
  • improvements to filesystem_get_mimetype (5c6f4d8)

v3.0.0

05 Aug 13:40
be8a63c
Compare
Choose a tag to compare

3.0.0 (2023-08-05)

⚠ BREAKING CHANGES

  • Functions signatures changed for string_trim, string_trim_start, string_trim_end.
    If you want to preserve the same behavior, you should pass explictly the space character to trim:
    Example: string_trim(" Hello ") => string_trim(" Hello ", ' ')

Features

  • add array_list_free (d231a0f)
  • add hash_map_free (a0a1310)
  • add linked_list_free (6a40df3)
  • add queue_free (1e475a5)
  • add stack_free (8b6f06d)
  • add terminal_print_array_list (9717cff)
  • support giving a custom character for string_trim, string_trim_start, string_trim_end (06b34b1)

Bug Fixes

v2.0.0

25 Jun 19:42
d774ef6
Compare
Choose a tag to compare

2.0.0 (2023-06-25)

⚠ BREAKING CHANGES

  • remove dictionary data structure (replaced by hash_map)
  • take a uint8_t for file_content instead of char (it makes more sense to treat files as array of "bytes", not only characters/text files.)

Features

  • add byte_t typedef (ce088f8)
  • add hash_map data structure (4a11a09), closes #3
  • add string_t typedef (8f3ee19)
  • add types.h (a0140a6)
  • remove dictionary data structure (baea00f)
  • support more mimetypes for filesystem_get_mimetype (b9f573b)

Bug Fixes

  • handle filesystem read and write errors (b665e36)
  • update filesystem_read and filesystem_write signatures (eb798a6)
  • update author - Théo LUDWIG (20d31ba)

Performance Improvements

  • compile with -O3 gcc flag (d850f04)

v1.2.0

07 Jan 18:43
f1a729c
Compare
Choose a tag to compare

1.2.0 (2023-01-07)

Features

  • add array_list data structure (886038a), closes #2

v1.1.2

06 Jan 17:09
e844600
Compare
Choose a tag to compare

1.1.2 (2023-01-06)

Bug Fixes

  • exclude release tools in documentation (ba5dddc)