Skip to content

Releases: mediact/data-container

2.11.3

13 Sep 02:30
Compare
Choose a tag to compare
Mark as abandoned

2.11.2: Merge pull request #15 from mediact/feature/APD-2037

20 Apr 08:10
eaa9d17
Compare
Choose a tag to compare
Add return type to getIterator to get better mocks

Keep leading zeros when parsing a path

11 Nov 08:49
ddff0d9
Compare
Choose a tag to compare

Allow keys to keep leading zeros when parsing a path. Paths like
"foo.000.bar" were turned into ["foo", 0, "bar"] resulting in a
different structure after setting values in the data container.

The key is now only converted into a string if the value is numeric,
and has no leading zero.

Add support for keys that contain the separator

23 Jun 03:05
92e6157
Compare
Choose a tag to compare
Merge pull request #13 from mediact/feature/APD-1542

Add support for keys that contain the separator

2.11.0-beta3: Introduce path parser and key quoter traits

08 Jun 07:11
Compare
Choose a tag to compare
Traits have been introduced for other libraries to parse paths and quote keys.

2.11-beta1: Add support for keys that contain the separator

07 Jun 02:24
Compare
Choose a tag to compare
The container now uses str_getcsv instead of explode to split paths and
patterns. This enables to use double quotes when a key contains the
separator.

Accept iterable data in constructor and decorator trait

02 May 09:58
acad83a
Compare
Choose a tag to compare
Merge pull request #12 from mediact/feature/MG-583

2.10.0 Accept iterable data in constructor and decorator trait

Implement replacer that uses the pattern replacer trait

22 Oct 13:26
4306617
Compare
Choose a tag to compare

It is not desirable for other packages to use the replacer trait. Therefore it is now wrapped by a replacer which has its own interface.

Add an interface and implementation to iterate over containers

03 Oct 04:23
502dc1c
Compare
Choose a tag to compare

The Iterator interface has been extended to specify the return type of
the current method. Having this interface helps with static analysis and
keeps code clean by not having to add type hints. A basic implementation
based on IteratorIterator has been added.

Add an interface and implementation to iterate over containers

02 Oct 10:40
0098a16
Compare
Choose a tag to compare

The Iterator interface has been extended to specify the return type of
the current method. Having this interface helps with static analysis and
keeps code clean by not having to add type hints. A basic implementation
based on IteratorIterator has been added.