All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
3.0.1 - 2019-11-27
- Fix POSSIBLE_RESSOURCES typo in store definition (#151)
- Remove unecessary tslint:disable rules in OpaqueTag definition (#151)
3.0.0 - 2019-11-23
- Add missing halt command to CPU (#141)
- Add market price history and other updates (#138)
- Add support for 'Natural Effects' on RoomObjects (#135)
- Add support for Factories, Ruins, Deposits, and Strongholds (#132)
- Retype constants with same named types (#143), (#147)
- Update StoreDefinition (#130)
- Explicitly type game object Ids (#139)
- Remove deprecated FIND_DROPPED_ENERGY constant (#129)
2.5.4 - 2019-05-12
- Add support for
PowerCreep
,InterShardMemory
and anAnyCreep
union (#117)
2.5.3 - 2018-12-27
- Add missing properties to FindPathOpts (#106)
- Change
EventType
to an interface with a type argument (#110)
2.5.2 - 2018-11-09
- Implements
Room.Terrain
androom.getTerrain()
(#103)
2.5.1 - 2018-10-11
2.5.0 - 2018-10-04
- Added
getRoomTerrain
(#98) - Added WIP types for
room.eventLog
(#88) - Added missing safemode/downgrade constants (#96)
filterOptions
Revamp (#87)
2.4.1 - 2018-08-24
- Added
INVADERS_ENERGY_GOAL
(#83)
- Update CREEP_CLAIM_LIFE_TIME to match with Screeps 2018-03-05 update (#84)
2.4.0 - 2018-06-24
- Add inter-shard portals (#74)
- The findClosestBy* functions potentially return null (#69)
- Various improvements by @pmoehl (thank you!)
- Fixed missing Constructor extends declarations (#71)
- Fixed createFlag method return type to include string (#72)
- claimController() uses GCL, not RCL (#81)
2.3.0 - 2018-04-16
- Declare
Game
withvar
instead oflet
(#62) ERR_NOT_ENOUGH_RESOURCES
missing in return codes for creep build action (#66)
2.2.2 - 2018-03-17
- Fixed some DefinitelyTyped linting errors (#54)
2.2.1 - 2018-03-09
- Added
StructureSpawn.Spawning
(#52)
- Changed
StructureLab.mineralType
fromMineralConstant
to_ResourceConstantSansEnergy | undefined
. (#49)
RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE
has a typo (#51)
2.2.0 - 2018-01-26
- Added missing constants:
EXTRACTOR_COOLDOWN
,SYSTEM_USERNAME
(#34) - Added missing
ScreepsReturnCode
definition:ERR_NAME_EXISTS
(#44)
Creep.attackController()
returnsERR_TIRED
if the controller has upgrade blocked (#32)PowerBank
s are considered to be owned structures (and are owned by "Power Bank") (#33)- Allow
creep.ticksToLive
to be undefined (#36) - Fixes for
PathFinder.search
,LookAtTypes
(#41, #47)
2.1.0 - 2017-12-22
- Restuctured project for DefinitelyTyped publishing (#24)
2.0.1 - 2017-12-13
- Reduce package size when installing via npm (#25)
2.0.0 - 2017-12-05
- Added contributing guidelines and Issue/PR templates (#18)
- Added CI tests (thanks, @Arcath!)
- [Constants] Added
BuildableStructureConstant
, which is a subset ofStructureConstant
(#17)
- Improved build tooling around compiling scripts and running tests.
- [Room][roomposition] Improved generic-based overloads for
.find*()
,lookAt()
, andlookForAt()
functions (#14, #19) - [Constants]
OBSTACLE_OBJECT_TYPES
are now strictly defined (#17)
- [RawMemory] On
setActiveForeignSegment
, id should be optional. (commit)
1.0.4 - 2017-11-09
- Added
Game.resources
- Added
Game.map.getWorldSize()
- Added
RawMemory.interShardSegment
- Deprecated
spawn.canCreateCreep(body, [name])
- Deprecated
spawn.createCreep(body, [name], [memory])
- Deprecated
spawn.transferEnergy(target, [amount])
- Deprecated
PathFinder.use(isEnabled)
1.0.3 - 2017-11-05
- Emergency patch to fix mismatched
STRUCTURE_WALL
constant.
1.0.2 - 2017-11-05
- Added
Game.cpu.setShardLimits(limits)
- [Constants]
STRUCTURE_WALL
should be'constructedWall'
, not'wall'
1.0.1 - 2017-11-05
- Added forgotten documentation material from v1.0.0
- Initial public
npm
release.