Releases: atlasphp/Atlas.Cli
2.0.0-beta1
Major break from alpha1 (and the previous 1.x series) in that the generated
class names are significantly renamed.
In particular, the mapper class no longer has a "Mapper" suffix on it. This
helps it to act as a "base prefix" for IDE completion, which is now greatly
enhanced by the automatic addition of @method docblocks on the generated classes
to indicate type-specific returns.
If you have generated classes with the alpha1 release, you will need to re-
generate them and change your class references.
2.0.0-alpha1
First alpha release.
1.1.0
This release adds IDE autocompletion of column names on Record objects via
docblock @property
annotations.
-
The
--full
option now generates aFields
class with@property
annotations describing the underlying table columns; it extends the base
AtlasRecord
class. -
The
Record
class generated by--full
now extends theFields
class,
instead of directly extending the base AtlasRecord
class directly.
Pre-existing generated Record
classes will continue to work as before, but
they will not have the IDE autocompletion support provided by the new interveing
Fields
class. To add that support, regenerate the skeleton with --full
, then
search for extends Record
and replace it with extends Fields
(which will
already be in the same namespace). You may also remove the now-unnecessary
use Atlas\Orm\Mapper\Record;
statement.
1.0.1
1.0.0
0.4.0-alpha
Add support for default connection in Skeleton, and updates to instructions.
0.3.0-alpha
Synchronizing update for Atlas.Orm 0.3.0-alpha.
0.2.0-alpha
The atlas-skeleton tool now retains the Table primary-key information as an array of column names, instead of as a string. This is a preliminary move toward supporting composite primary keys.
It also now creates a "Row.php" file when you specify --full
. This allows for custom Row-level overrides.
Initial release
Initial release. Breaking changes are guaranteed, but it's stable enough to play with.