Releases: kapxapot/plasticode
Releases · kapxapot/plasticode
v0.8
This release contains some major changes:
- Upgraded to PHPUnit 9.
- Totally revamped DI container initialization.
- Introduced own mapping providers.
- Created own autowiring DI container which shortens the wiring config significantly.
- Renamed and reorganized the file structure, "Generic" and "Core" subfolders are used now.
- Page building switched to <h1..6> tags instead of paragraphs.
Collections:
- Added
NumericCollectionfor numbers.sum()andmax()functions are moved to it. - Added
StringCollection, which is recommended to use instead ofstring[]. - Added
collect()method that gathers elements into a collection. - Added
removeFirst(),tail(),shuffle(),join()andcleanMap()functions. - Added
stringize()andnumerize()functions to extract/convert to string/numeric collections. trimEnd()renamed totrimTail().
Other changes and enhancements:
- Settings revamp.
- Further container eradication.
v0.7
- "src/Testing" excluded from testing & test coverage.
- CSS tweaks.
- News/pages support (via NewsSource) - ready for blogging.
- Collapse blocks are scrolled into view on opening.
- Text editor fixes.
- No logging is done if the log file name is empty.
- Minor Linker changes.
- Validation error produces 400 response instead of 500.
- EventDispatcher revamp (callables).
- API access modes: full, read, read_one.
- Bug fix in user validation.
- Test dummies reorganized.
- Event system tests.
- Twig translator extension - ready for UI localization.
- Angular modal improvements.
- disqus_url falls back to canonical_url.
v0.6.2
- Added ParsingHydrator with embedded ParserInterface.
- Removed getEntityById() from Db.
- Added pluralAlias() to DbModelInterface/DbModel (used for checking access rights as it operates with plural names) with test.
- Query->all() and getIterator() now return DbModelCollection instead of Collection.
- SearchableRepositoryInterface returns DbModelCollection instead of Collection.
- Removed getAll() from IdiormRepository.
- Added basic TaggedRepositoryInterface.
- Renamed Collection methods for converting to ScalarCollection to scalarize() that accepts property name/callable.
- Collection::empty() now returns static (with no caching).
- Moved ids() from Collection to DbModelCollection.
- Added nextId() method to DbModelCollection (for mocks).
- Added max() to ScalarCollection.
- Added basic ArrayCollection with tests.
- Added basic TaggedCollection.
- Added ContentsItemCollection that is used in parsing.
- Added PageCollection (temp?), RoleCollection, UserCollection.
- Revamped Access and added tests.
- Added rel=canonical to the layout (use 'canonical_url' to set it).
- Added more gentle Strings::stripTags() that doesn't mash together text blocks.
- Added base TagsConfig and embedded it in Linker.
- Made AppContext private in Controller and MenuRepository private in AppContext (to resolve conflicts in Warcry).
- Marked ChildEntityGenerator as deprecated.
- "stamp" methods removed from Created/Updated traits, logic moved to Stamps.
- Added isOrphan() and hasParent() to Parented trait.
- Added repository mocks and seeders for roles and users.
- Added some DbModelCollection tests.
- Added ScalarCollection tests.
v0.6.1
- Warcry revamped up to index page working.
- Associations stable.
- Moved generic collections to \Plasticode\Collections\Basic.
- Added DbModelCollection & ScalarCollection.
- Added DbModelInterface.
- Added TagsConfigInterface for configuring tag tabs.
- Added functions isCallable() & isScalar().
- Removed MenuRepository from base controller, menus are provided by AppContext now.
- Rewritten File functions so they work both for Unix & Windows paths.
- Revamped SortStep & Sort.
- Renamed Sort::multi() to Sort::byMany().
- Description & CachedDescription traits are not used and marked as deprecated.
- New and changed model traits: Linkable, Parented, Tagged.
- New Query methods: apply, applyIf, applyIfElse, page.
- New Arrays method: adopt.
- Replaced \Closure with callable where it makes sense.
- Renamed Collection->distinct() to Collection->distinctBy(). Specialized collections have their specific distinct().
0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
More notice fixes
0.2.2 Notices fix in Date