Skip to content

Releases: Maikuolan/Common

Common Classes Package v1.9.7

16 Aug 14:38
v1.9.7
73b79f1
Compare
Choose a tag to compare

Version/Release 1.9.7

  • [2023.05.13; Maikuolan]: Fixed a link.

  • [2023.08.16; Bug-fix; Maikuolan]: Typo in the code for handling "then" statements in the operation handler's ifCompare method; Fixed.

Caleb M (Maikuolan),
August 16, 2023.

Common Classes Package v2.9.6

24 Mar 13:03
v2.9.6
fc293ea
Compare
Choose a tag to compare

Version/Release 2.9.6

  • [2023.02.24; Bug-fix; Maikuolan]: The cache handler's incEntry and decEntry methods weren't handling non-expiring values correctly when using flatfile caching; Fixed.

  • [2023.03.15; Maikuolan]: The operation handler's dataTraverse method can now traverse object properties.

  • [2023.03.16; Maikuolan]: Support for more operators added to the operation handler's ifCompare method. Added a new parameter to the operation handler's dataTraverse method to enable implementations to specify whether it should allow or prohibit non-scalar return values.

  • [2023.03.18; Maikuolan]: The YAML handler's dataTraverse method synchronised with the operation handler's dataTraverse method to be the same, to be able to likewise have it specified whether to allow or prohibit non-scalar return values and etc (might consider utilising class extensibility in a future major version to reduce code duplication, but as doing that would mean that classes wouldn't be able to be implemented in isolation anymore, I would consider it backwards-incompatible change, so it won't happen any time sooner than the next major version, at least).

  • [2023.03.22; Bug-fix; Maikuolan]: The YAML handler wasn't correctly dealing with sequences which terminate with folded scalars; Fixed.

  • [2023.03.24; Maikuolan]: Added a new property to the request handler to act as an object-level logger for the results of outbound requests.

Caleb M (Maikuolan),
March 24, 2023.

Common Classes Package v1.9.6

24 Mar 13:03
v1.9.6
c01d34d
Compare
Choose a tag to compare

Version/Release 1.9.6

  • [2023.02.24; Bug-fix; Maikuolan]: The cache handler's incEntry and decEntry methods weren't handling non-expiring values correctly when using flatfile caching; Fixed.

  • [2023.03.15; Maikuolan]: The operation handler's dataTraverse method can now traverse object properties.

  • [2023.03.16; Maikuolan]: Support for more operators added to the operation handler's ifCompare method. Added a new parameter to the operation handler's dataTraverse method to enable implementations to specify whether it should allow or prohibit non-scalar return values.

  • [2023.03.18; Maikuolan]: The YAML handler's dataTraverse method synchronised with the operation handler's dataTraverse method to be the same, to be able to likewise have it specified whether to allow or prohibit non-scalar return values and etc (might consider utilising class extensibility in a future major version to reduce code duplication, but as doing that would mean that classes wouldn't be able to be implemented in isolation anymore, I would consider it backwards-incompatible change, so it won't happen any time sooner than the next major version, at least).

  • [2023.03.22; Bug-fix; Maikuolan]: The YAML handler wasn't correctly dealing with sequences which terminate with folded scalars; Fixed.

  • [2023.03.24; Maikuolan]: Added a new property to the request handler to act as an object-level logger for the results of outbound requests.

Caleb M (Maikuolan),
March 24, 2023.

Common Classes Package v2.9.5

23 Feb 15:17
v2.9.5
bf28275
Compare
Choose a tag to compare

Version/Release 2.9.5

  • [2023.01.28; Bug-fix; Maikuolan]: Cache handler potentially generating unexpected exceptions in some situations; Fixed.

  • [2023.02.13; Maikuolan]: Slightly improved performance for when using PDO.

  • [2023.02.21; Maikuolan]: When using the cache handler with PDO, if the size of a cache entry exceeds 64KB, in order to avoid exceeding the 64KB upper limit of the TEXT data type, the cache handler will now attempt to compress the data prior to executing the query.

  • [2023.02.23; Maikuolan]: Optionally, the L10N handler can now automatically determine text directionality for use by the implementation.

Caleb M (Maikuolan),
February 23, 2023.

Common Classes Package v1.9.5

23 Feb 15:17
v1.9.5
622e0e4
Compare
Choose a tag to compare

Version/Release 1.9.5

  • [2023.01.28; Bug-fix; Maikuolan]: Cache handler potentially generating unexpected exceptions in some situations; Fixed.

  • [2023.02.13; Maikuolan]: Slightly improved performance for when using PDO.

  • [2023.02.21; Maikuolan]: When using the cache handler with PDO, if the size of a cache entry exceeds 64KB, in order to avoid exceeding the 64KB upper limit of the TEXT data type, the cache handler will now attempt to compress the data prior to executing the query.

  • [2023.02.23; Maikuolan]: Optionally, the L10N handler can now automatically determine text directionality for use by the implementation.

Caleb M (Maikuolan),
February 23, 2023.

Common Classes Package v2.9.4

22 Jan 16:22
v2.9.4
e5aa5af
Compare
Choose a tag to compare

Version/Release 2.9.4

  • [2022.12.15; Bug-fix; Maikuolan]: Redis shouldn't set EXPIRE for TTLs less than 1; Fixed.

  • [2023.01.14; Bug-fix; Maikuolan]: The code for fetching all entries from the cache when using Memcached as the chosen caching mechanism relied on Memcached methods which haven't worked properly since several major versions back from the current latest Memcached bindings. Accordingly, the cache handler wasn't capable of correctly fetching all entries when using Memcached. To remedy this, the code which relied upon said methods has been removed, and in its place, code has been added to manually index cache keys, and when fetching all entries from the cache, this manual indexing will now be relied upon when using Memcached (the code for other caching mechanisms, unaffected by this problem, remains unchanged).

  • [2023.01.16; Maikuolan]: Added a new method to the cache handler: "getAllEntriesWhere" (see the documentation for more details).

  • [2023.01.22; Maikuolan]: Improved the defaulting used for missing plurals.

Caleb M (Maikuolan),
January 22, 2023.

Common Classes Package v1.9.4

22 Jan 16:21
v1.9.4
e95bf99
Compare
Choose a tag to compare

Version/Release 1.9.4

  • [2022.12.15; Bug-fix; Maikuolan]: Redis shouldn't set EXPIRE for TTLs less than 1; Fixed.

  • [2023.01.14; Bug-fix; Maikuolan]: The code for fetching all entries from the cache when using Memcached as the chosen caching mechanism relied on Memcached methods which haven't worked properly since several major versions back from the current latest Memcached bindings. Accordingly, the cache handler wasn't capable of correctly fetching all entries when using Memcached. To remedy this, the code which relied upon said methods has been removed, and in its place, code has been added to manually index cache keys, and when fetching all entries from the cache, this manual indexing will now be relied upon when using Memcached (the code for other caching mechanisms, unaffected by this problem, remains unchanged).

  • [2023.01.16; Maikuolan]: Added a new method to the cache handler: "getAllEntriesWhere" (see the documentation for more details).

  • [2023.01.22; Maikuolan]: Improved the defaulting used for missing plurals.

Caleb M (Maikuolan),
January 22, 2023.

Common Classes Package v2.9.3

22 Nov 04:25
v2.9.3
55b3c5e
Compare
Choose a tag to compare

Version/Release 2.9.3

  • [2022.10.26; Maikuolan]: The YAML handler can now handle objects when reconstructing YAML data, as long as those objects implement the __toString method.

  • [2022.11.20; Maikuolan]: Avoid packaging unnecessary files into dist.

  • [2022.11.22; Maikuolan]: Some of the CLDR information provided by Unicode recently changed. Updated the L10N handler accordingly.

Caleb M (Maikuolan),
November 22, 2022.

Common Classes Package v1.9.3

22 Nov 04:24
v1.9.3
7fdf052
Compare
Choose a tag to compare

Version/Release 1.9.3

  • [2022.10.26; Maikuolan]: The YAML handler can now handle objects when reconstructing YAML data, as long as those objects implement the __toString method.

  • [2022.11.20; Maikuolan]: Avoid packaging unnecessary files into dist.

  • [2022.11.22; Maikuolan]: Some of the CLDR information provided by Unicode recently changed. Updated the L10N handler accordingly.

Caleb M (Maikuolan),
November 22, 2022.

Common Classes Package v2.9.2

05 Oct 08:17
v2.9.2
c71121e
Compare
Choose a tag to compare

Version/Release 2.9.2

  • [2022.10.05; Bug-fix; Maikuolan]: Fix prevents YAML handler from using multiline when reconstructing values containing hashes, because multiline values are normally unquoted and unescaped, thus meaning that data which occurs after the hash would be treated as a comment when reprocessed.

Caleb M (Maikuolan),
October 5, 2022.