Skip to content

Tags: webfactory/content-mapping

Tags

3.8.0

Toggle 3.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Allow PHP 8.4 to be used (#25)

Also, include it in the test matrix. At the same time, time to let go of
old versions.

3.7.0

Toggle 3.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Reduce log level for events that make most of the log volume with lea…

…st of newsworthiness (#22)

These messages make up most of the log volume, yet only indicate that
nothing has happened.

Let's reduce them to the `debug` log level.

3.6.1

Toggle 3.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update dependencies (#21)

3.6.0

Toggle 3.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Allow the usage of PHP 8.3 (#17)

3.5.0

Toggle 3.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add type hints for static linting with Psalm (#10)

This PR adds type hints and docblocks to support static analysis of your custom mapper classes with Psalm.

Most notably, `SourceAdapter`, `DestinationAdapter` and `Mapper` implementations can make use of templated types in Psalm, which is a great help due to the generic (`object` based) approach in this package.

The types are:

* `Ts` type returned by the `SourceAdapter`
* `Tr` type returned by `DestinationAdapter::getObjectsOrderedById()`, `r` for "reading"
* `Tw` type used by the `DestinationAdapter` when writing back to the destination system.

3.4.1

Toggle 3.4.1's commit message
Introduce log message for unmappable objects

3.4.0

Toggle 3.4.0's commit message
Add a new "unmappable" result type

This can be used if a source object should be treated as if it does
not exists (don't insert/delete when present). In some cases, this
cannot be detected unless the mapping is attempted.

Normally, such objects should not be returned from the SourceAdapter
in the first place.

3.3.0

Toggle 3.3.0's commit message
Bump requirements to PHP 7.1

3.2.0

Toggle 3.2.0's commit message
Fix wrong version number in CHANGELOG

3.1.0

Toggle 3.1.0's commit message
Merge pull request #3 from webfactory/add-constructor-helpers

Add more readable constructor methods