Skip to content

Releases: rexlabsio/smokescreen-php

2.6.0 - PHP 8.5 support

Choose a tag to compare

@dgburns92 dgburns92 released this 17 Sep 04:27
782afef
  • PHP 8.5 support

Merged in #26

2.5.0 - PHP 8.4 Compatibility

Choose a tag to compare

@ababkov ababkov released this 08 Jan 23:53
ba93fa2
  • Adds PHP 8.4 Compatibility

2.4.0 - Allow include methods to be callable

Choose a tag to compare

@ababkov ababkov released this 30 Oct 04:58
697153a

What's Changed

  • chore: allow method to be a callable by @cpave3 in #24

New Contributors

Full Changelog: 2.3.0...2.4.0

2.3.0

Choose a tag to compare

@colemanator colemanator released this 26 Aug 06:06
bb2703a

What's Changed

New Contributors

Full Changelog: 2.2.0...2.3.0

2.2.0 - PHP 7.4 - 8.3 support and relation bug fix

Choose a tag to compare

@ababkov ababkov released this 19 Dec 06:01
3a07341

General Changes

  • Official support for PHP 7.4-8.3 with pipeline to test

Fixes

  • Fixes an issue with parsing relation: marker where relation:users,other would be parsed as ['user', 'other] with
    the s character being dropped off the first word

Breaking Changes

  • Drop support for anything outside php 7.4-8.3

2.0.0 - Improvements to serialization and transformation process (BC)

Choose a tag to compare

@jodiedunlop jodiedunlop released this 05 Jul 08:29

This is a major release due to a breaking changes in both the RelationLoaderInterface and SerializerInterface classes.

It also contains a major refactor of the transformation process.

Breaking Changes

  • The RelationLoaderInterface load() method now requires a second argument (array), which is a list of relationship keys to be loaded. The first argument is now the original ResourceInterface object that the relationships should be loaded off of.
  • The SerializerInterface class requires implementing nullItem() and nullCollection() methods.
  • The DefaultSerializer class has been updated to implement these methods (returns null and [] respectively).

Fixes / Changes

  • Refactored the transformation and serialization process into a pipeline which composes Scope objects, this better encapsulates the transformation process and makes extending and reasoning about includes and relationships much easier
  • Include methods will now be given a second argument of the Scope object that it is running within. This enables those methods to examine the Scope.
  • Fix a regression in handling non-resource entities (such as those that may be returned from an include).
  • Ensure toArray() always returns an array.

1.1.0 - Feature release

Choose a tag to compare

@jodiedunlop jodiedunlop released this 21 May 05:25
c2fdb17

Release updates

  • New Feature: Declarative properties
  • New Feature: Auto-wiring of includes
  • Change: Transformer Resolution
  • Minor bug fixes

1.0.1 - Minor code cleanup

Choose a tag to compare

@jodiedunlop jodiedunlop released this 08 Mar 00:20
af65e6e

Minor fixes / improvements

  • Fixed some annotations
  • Improved code style
  • Moved json encoding to helper

1.0.0 - Initial stable release

Choose a tag to compare

@jodiedunlop jodiedunlop released this 05 Mar 02:01

This is the first stable release of the Smokescreen PHP library.
See README.md for more information about this package.