Releases: leroy-merlin-br/metamorphosis
Metamorphosis v5.0.0
This release:
Includes a Changelog file to create a record of the latest changes and intentions for future changes;
Replaces the use of the Metamorphosis\AbstractConfigManager class with the Metamorphosis\TopicHandler\ConfigOptions\Producer or Metamorphosis\TopicHandler\ConfigOptions\Consumer classes;
Adds the unit tests tests\Unit\MiddlewaresAvroSchemaMixedEncoderTest and tests\Unit\Middlewares\AvroSchemaDecoderTest;
Removes the ConsumerConfigManager, ProducerConfigManager and AbstractConfigManager classes
Updates tests for classes that make use of the ConsumerConfigManager, ProducerConfigManager and AbstractConfigManager classes.
Removes the ProducerConfigManagerTest, ConsumerConfigManagerTest and ManagerTest test classes;
Modifies the configuration mechanism for topics and services, separating services and topics into distinct files.
Full Changelog: v4.3.0...v5.0.0
Metamorphosis v4.4.0
Adds support for config 'max.poll.interval.ms' on consumers. Now we could set a custom poll interval in ms, with the default value of 300000 ms (5 minutes).
Metamorphosis v4.3.0
Add support to PHP 8.0, and Illuminate 9.x and 10.x. Drop support to PHP 7.x, and Illuminate 5.x, 6.x, 7.x and 8.x
Metamorphosis v4.2.0
Adds support to PHP 8.1 and rdkafka greater than v4.0.0
Security Update
- Documentation Enrichment
- Apply security patch for Guzzle library
Allow to consume message without using command
- Create Metamorphosis\Consumer to allow to consume message without using command;
- Refactor on Config Options Factory;
- Fix middleware and avro schema bugs;
Update Avro Path
- Improve schema path flexibility: Removes the absolute path postfix so that the call can be made to the right base_uri and not just the right host.
- Dynamic Config Improves: Allow configure handler and consumer group without use laravel config
Thanks to @mithunra
Fix Dynamic Config on High Level
Fix default partition zero on ConfigOptions
Value Object use const RD_KAFKA_PARTITION_UA instead.
Bugfix - Dynamic Config
- Add integration tests for dynamic config;
- Use Value Object to Kafka Config;
- Fix
config_name
option on consumer command;
Dynamic Config
- Allow to define the kafka configuration inside the Producer Handler or Consumer Handler Class, in the previous version it was only allowed inside the laravel configs;
- Allow in Consumer Command to send custom configuration name using (config_name) argument;